Clear Natual spawning bosses kill counter between world load
This commit is contained in:
1 parent
e20f9302c3
commit
a2ace20a91
1 file changed
+9
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user