Shortswords can now get Legendary

This commit is contained in:
ben-tk committed 2022-09-02 12:09:36 -04:00
1 parent 1246df9a07
commit ecd94db7fc
1 file changed
+1 -1
+1 -1
View File
@@ -183,7 +183,7 @@ namespace CalamityMod
else if (item.CountsAsClass<MeleeDamageClass>() || item.CountsAsClass<SummonMeleeSpeedDamageClass>())
{
// Yoyos, Flails, Spears, etc.
if ((item.channel || item.noMelee) && item.type != ItemID.Zenith)
if ((item.channel || item.noMelee) && item.type != ItemID.Zenith && item.useStyle != ItemUseStyleID.Rapier)
{
// The Terrarian can get a special "Legendary" reforge
bool terrarian = item.type == ItemID.Terrarian;