From ecd94db7fccf079ddcb0e9961b5769b86a4b9c2a Mon Sep 17 00:00:00 2001 From: ben-tk <45545085+ben-tk@users.noreply.github.com> Date: Fri, 2 Sep 2022 12:09:36 -0400 Subject: [PATCH] Shortswords can now get Legendary --- Utilities/ItemUtils.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utilities/ItemUtils.cs b/Utilities/ItemUtils.cs index 71b8864141..a9fc2f350c 100644 --- a/Utilities/ItemUtils.cs +++ b/Utilities/ItemUtils.cs @@ -183,7 +183,7 @@ namespace CalamityMod else if (item.CountsAsClass() || item.CountsAsClass()) { // 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;