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

◆ OnHitByProjectile()

virtual void Terraria.ModLoader.ModNPC.OnHitByProjectile ( Projectile projectile,
NPC::HitInfo hit,
int damageDone )
inlinevirtual

Allows you to create special effects when this NPC is hit by a projectile.

Parameters
projectile
hit
damageDone

Definition at line 543 of file ModNPC.cs.

544 {
545 }