Fixed Shadow armor still removing melee speed despite it being changed to crit chance in 1.4.4

This commit is contained in:
CongratsIsTrash authored and GitHub committed 2023-10-04 07:39:34 -04:00
1 parent 88dca48213
commit cdeb0270cc
1 file changed
+2 -2
@@ -24,8 +24,8 @@ namespace CalamityMod.Items.VanillaArmorChanges
private void ApplyAnyPieceEffect(Player player)
{
// Remove the vanilla melee speed buff and replace it with damage
player.GetAttackSpeed<MeleeDamageClass>() -= 0.07f;
// Remove the vanilla crit chance buff and replace it with damage
player.GetCritChance<GenericDamageClass>() -= 0.05f;
player.GetDamage<GenericDamageClass>() += ArmorPieceDamage;
// Give jump boost