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

◆ OnHitPlayer()

virtual void Terraria.ModLoader.ModNPC.OnHitPlayer ( Player target,
Player::HurtInfo hurtInfo )
inlinevirtual

Allows you to create special effects when this NPC hits a player (for example, inflicting debuffs).
Runs on the local client.

Parameters
target
hurtInfo

Definition at line 425 of file ModNPC.cs.

426 {
427 }