Fixed OLC dealing 2.5x damage when holding right-click

This commit is contained in:
CongratsIsTrash authored and GitHub committed 2026-02-25 19:24:38 -05:00
1 parent 06bbb092d0
commit 23d2fcbbf8
1 file changed
+1 -1
+1 -1
View File
@@ -227,7 +227,7 @@ namespace CalamityMod.Projectiles.Melee
float minMult = 0.3f;
int hitsToMinMult = 7;
float damageMult = Utils.Remap(Projectile.numHits, 0, hitsToMinMult, 1, minMult, true);
modifiers.SourceDamage *= damageMult * (Owner.Calamity().mouseRight ? 2.5f : 1);
modifiers.SourceDamage *= damageMult;
}
public override bool PreDraw(ref Color lightColor)
{