Remove unnecessary convoluted division in debuff duration

This commit is contained in:
Cameron Ewell committed 2026-06-10 14:40:44 -04:00
1 parent 31b97b0917
commit bfe887e7f4
1 file changed
+2 -2
+2 -2
View File
@@ -52,8 +52,8 @@ namespace CalamityMod.Projectiles.Magic
if (Projectile.numHits < 2)
{
target.AddBuff(ModContent.BuffType<WindChilled>(), (int)(120 / (Projectile.numHits == 0 ? 1 : 2)));
target.AddBuff(BuffID.Frozen, (int)(30 / (Projectile.numHits == 0 ? 1 : 2)));
target.AddBuff(ModContent.BuffType<WindChilled>(), Projectile.numHits == 0 ? 120 : 60);
target.AddBuff(BuffID.Frozen, Projectile.numHits == 0 ? 30 : 15);
}
}