|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inline |
Helper method for calling M:Terraria.NPC.StrikeNPC(Terraria.NPC.HitInfo,System.Boolean,System.Boolean) with a F:Terraria.NPC.HitInfo.InstantKill strike.
Use to butcher your own NPCs.
Not recommended for use on multiplayer clients because the net packet will trigger M:Terraria.NPC.PlayerInteraction(System.Int32) on the server.
Definition at line 91792 of file NPC.cs.
References Terraria.Main.netMode, and Terraria.NetMessage.SendStrikeNPC().
Here is the call graph for this function: