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

◆ OnKill()

virtual void Terraria.ModLoader.ModNPC.OnKill ( )
inlinevirtual

Allows you to make things happen when this NPC dies (for example, dropping items and setting ModSystem fields). This hook runs on the server/single player. For client-side effects, such as dust, gore, and sounds, see HitEffect.

Definition at line 340 of file ModNPC.cs.

341 {
342 }