Clear Natual spawning bosses kill counter between world load

This commit is contained in:
Flowaria committed 2025-12-09 09:07:36 +09:00
1 parent e20f9302c3
commit a2ace20a91
1 file changed
+9
+9
View File
@@ -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);