From a2ace20a91737042f02f1e8e7618f3a0c02a6591 Mon Sep 17 00:00:00 2001 From: Flowaria Date: Tue, 9 Dec 2025 09:07:01 +0900 Subject: [PATCH] Clear Natual spawning bosses kill counter between world load --- NPCs/CalamityNaturalSpawnBossNPC.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/NPCs/CalamityNaturalSpawnBossNPC.cs b/NPCs/CalamityNaturalSpawnBossNPC.cs index 316339b044..f588545a6a 100644 --- a/NPCs/CalamityNaturalSpawnBossNPC.cs +++ b/NPCs/CalamityNaturalSpawnBossNPC.cs @@ -46,6 +46,15 @@ namespace CalamityMod.NPCs _GreatSharkTriggerNPCS = null; } + private sealed class ClearWorldHook : ModSystem + { + public override void ClearWorld() + { + ghostKillCount = 0; + sharkKillCount = 0; + } + } + public override void OnKill(NPC npc) { CheckPolterghastCondition(npc);