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

◆ TownNPCAttackCooldown()

virtual void Terraria.ModLoader.ModNPC.TownNPCAttackCooldown ( ref int cooldown,
ref int randExtraCooldown )
inlinevirtual

Allows you to determine the cooldown between each of this town NPC's attack. The cooldown will be a number greater than or equal to the first parameter, and less then the sum of the two parameters.

Parameters
cooldown
randExtraCooldown

Definition at line 783 of file ModNPC.cs.

784 {
785 }