fix compile error with prismatic breaker's scuffed damage formula

This commit is contained in:
Ozzatron committed 2022-06-10 23:29:49 -04:00
1 parent 32c29d7043
commit 2ea9dbf363
1 file changed
+1 -1
+1 -1
View File
@@ -70,7 +70,7 @@ namespace CalamityMod.Items.Weapons.Melee
public override void ModifyWeaponDamage(Player player, ref StatModifier damage)
{
StatModifier halfMelee = damage.Scale(0.5f);
return halfMelee.CombineWith(player.GetTotalDamage<RangedDamageClass>().Scale(0.5f));
damage = halfMelee.CombineWith(player.GetTotalDamage<RangedDamageClass>().Scale(0.5f));
}
public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI)