From 5fd759b791b6cbc1c2a0011ba70b4e5fe820f4aa Mon Sep 17 00:00:00 2001 From: AquaSG Date: Wed, 11 Jan 2023 00:40:38 -0500 Subject: [PATCH] on-kill worm fix (yike) --- CalPlayer/CalamityPlayerOnHit.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CalPlayer/CalamityPlayerOnHit.cs b/CalPlayer/CalamityPlayerOnHit.cs index 6a60bbf5f9..e4a67a9f4d 100644 --- a/CalPlayer/CalamityPlayerOnHit.cs +++ b/CalPlayer/CalamityPlayerOnHit.cs @@ -170,7 +170,7 @@ namespace CalamityMod.CalPlayer target.AddBuff(BuffID.OnFire3, 120); } - if (unstableGraniteCore && !target.SpawnedFromStatue && target.life <= 0 && !target.CountsAsACritter) + if (unstableGraniteCore && !target.SpawnedFromStatue && target.life <= 0 && !target.CountsAsACritter && !target.dontCountMe) { for (int s = 0; s < 3; s++) { @@ -379,7 +379,7 @@ namespace CalamityMod.CalPlayer if (rageModeActive && shatteredCommunity) Player.GetModPlayer().AccumulateRageDamage(damage); } - if (unstableGraniteCore && !target.SpawnedFromStatue && target.life <= 0 && !target.CountsAsACritter) + if (unstableGraniteCore && !target.SpawnedFromStatue && target.life <= 0 && !target.CountsAsACritter && !target.dontCountMe) { for (int s = 0; s < 3; s++) {