From 06339398c5f6787c5fb899d16688bdd01ca12e0e Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Tue, 8 Jul 2025 12:54:21 -0400 Subject: [PATCH] Removed unused code for Bonebreaker stacking Penetrated damage --- NPCs/CalamityGlobalNPC.cs | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/NPCs/CalamityGlobalNPC.cs b/NPCs/CalamityGlobalNPC.cs index b21090add3..f239755ae5 100644 --- a/NPCs/CalamityGlobalNPC.cs +++ b/NPCs/CalamityGlobalNPC.cs @@ -798,31 +798,6 @@ namespace CalamityMod.NPCs } } - // Bonebreaker debuff stacking - if (npc.javelined) - { - if (npc.lifeRegen > 0) - npc.lifeRegen = 0; - - int projectileCount = 0; - foreach (Projectile p in Main.ActiveProjectiles) - { - if (p.type == ProjectileType() && - p.ai[0] == 1f && p.ai[1] == npc.whoAmI) - { - projectileCount++; - } - } - - if (projectileCount > 0) - { - npc.lifeRegen -= projectileCount * 20; - - if (damage < projectileCount * 4) - damage = projectileCount * 4; - } - } - // Shellfish Staff (and Mollusk armor) debuff stacking if (shellfishVore > 0) {