From 557e004afd2c836ce5ecc013e6cfa1d05f62756f Mon Sep 17 00:00:00 2001 From: ben-tk <45545085+ben-tk@users.noreply.github.com> Date: Tue, 23 Aug 2022 17:15:49 -0400 Subject: [PATCH] Fixed Bloody Worm Scarf not giving melee speed --- CalPlayer/CalamityPlayerMiscEffects.cs | 3 +++ Items/Accessories/BloodyWormTooth.cs | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CalPlayer/CalamityPlayerMiscEffects.cs b/CalPlayer/CalamityPlayerMiscEffects.cs index b904d089ff..b6f9480777 100644 --- a/CalPlayer/CalamityPlayerMiscEffects.cs +++ b/CalPlayer/CalamityPlayerMiscEffects.cs @@ -2853,7 +2853,10 @@ namespace CalamityMod.CalPlayer } if (bloodyWormTooth) + { Player.GetDamage() += 0.07f; + Player.GetAttackSpeed() += 0.07f; + } if (dAmulet) Player.pStone = true; diff --git a/Items/Accessories/BloodyWormTooth.cs b/Items/Accessories/BloodyWormTooth.cs index bf8b394224..e66fd4a3a4 100644 --- a/Items/Accessories/BloodyWormTooth.cs +++ b/Items/Accessories/BloodyWormTooth.cs @@ -28,7 +28,6 @@ namespace CalamityMod.Items.Accessories { CalamityPlayer modPlayer = player.Calamity(); modPlayer.bloodyWormTooth = true; - player.GetAttackSpeed() += 0.07f; } public override void AddRecipes()