From 723be83cda9c3a360221ff4b34d33ac7cb7fcd1f Mon Sep 17 00:00:00 2001 From: Xyk Date: Wed, 11 Feb 2026 22:39:39 -0800 Subject: [PATCH] Toxic Heart crit fix Can now crit --- Projectiles/Typeless/PlaguePulse.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Projectiles/Typeless/PlaguePulse.cs b/Projectiles/Typeless/PlaguePulse.cs index fb430aa6e8..61c02f920e 100644 --- a/Projectiles/Typeless/PlaguePulse.cs +++ b/Projectiles/Typeless/PlaguePulse.cs @@ -64,6 +64,11 @@ namespace CalamityMod.Projectiles.Typeless } public override void ModifyHitNPC(NPC target, ref NPC.HitModifiers modifiers) { + Player Owner = Main.player[Projectile.owner]; + bool crit = Main.rand.Next(0, 100 + 1) < Owner.GetTotalCritChance(Owner.GetBestClass()); + if (crit) + modifiers.SetCrit(); + float minMult = 0.4f; int hitsToMinMult = 6; float damageMult = Utils.Remap(Projectile.numHits, 0, hitsToMinMult, 1, minMult, true);