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

◆ TownNPCAttackSwing()

virtual void Terraria.ModLoader.ModNPC.TownNPCAttackSwing ( ref int itemWidth,
ref int itemHeight )
inlinevirtual

Allows you to determine the width and height of the item this town NPC swings when it attacks, which controls the range of this NPC's swung weapon. Only used when the town NPC has an attack type of 3 (swinging).

Parameters
itemWidth
itemHeight

Definition at line 827 of file ModNPC.cs.

828 {
829 }