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

◆ TownNPCAttackProj()

virtual void Terraria.ModLoader.ModNPC.TownNPCAttackProj ( ref int projType,
ref int attackDelay )
inlinevirtual

Allows you to determine the projectile type of this town NPC's attack, and how long it takes for the projectile to actually appear. This hook is only used when the town NPC has an attack type of 0 (throwing), 1 (shooting), or 2 (magic).

Parameters
projType
attackDelay

Definition at line 792 of file ModNPC.cs.

793 {
794 }