diff --git a/Projectiles/Rogue/SlickCaneProjectile.cs b/Projectiles/Rogue/SlickCaneProjectile.cs index 6c7d751b4d..5e325c56e6 100644 --- a/Projectiles/Rogue/SlickCaneProjectile.cs +++ b/Projectiles/Rogue/SlickCaneProjectile.cs @@ -146,12 +146,12 @@ namespace CalamityMod.Projectiles.Rogue if (Projectile.Calamity().stealthStrike) { Player player = Main.player[Projectile.owner]; - long money = Utils.CoinsCount(out bool overflow, player.inventory); + double money = Utils.CoinsCount(out bool overflow, player.inventory); if (money >= 2000000) money = 2000000; if (money != 0) { - modifiers.SourceDamage *= money / 500000 + 1; + modifiers.SourceDamage *= (float)(money / 500000 + 1); SoundEngine.PlaySound(TheSevensStriker.JackpotSound, Projectile.Center); for (int j = 0; j < 8; j++) {