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

◆ SpecialOnKill()

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

Allows you to call OnKill on your own when the NPC dies, rather then letting vanilla call it on its own. Returns false by default.

Returns
Return true to stop vanilla from calling OnKill on its own. Do this if you call OnKill yourself.

Definition at line 323 of file ModNPC.cs.

324 {
325 return false;
326 }