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

◆ OnHitByProjectile()

virtual void Terraria.ModLoader.GlobalNPC.OnHitByProjectile ( NPC npc,
Projectile projectile,
NPC::HitInfo hit,
int damageDone )
inlinevirtualinherited

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

Parameters
npc
projectile
hit
damageDone

Definition at line 449 of file GlobalNPC.cs.

450 {
451 }