TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ CheckDead()

virtual bool Terraria.ModLoader.ModNPC.CheckDead ( )
inlinevirtual

Whether or not this NPC should be killed when it reaches 0 health. You may program extra effects in this hook (for example, how Golem's head lifts up for the second phase of its fight). Return false to stop this NPC from being killed. Returns true by default.

Returns

Definition at line 314 of file ModNPC.cs.

315 {
316 return true;
317 }