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

◆ TownNPCAttackStrength()

virtual void Terraria.ModLoader.GlobalNPC.TownNPCAttackStrength ( NPC npc,
ref int damage,
ref float knockback )
inlinevirtualinherited

Allows you to determine the damage and knockback of a town NPC's attack before the damage is scaled. (More information on scaling in GlobalNPC.BuffTownNPCs.)

Parameters
npc
damage
knockback

Definition at line 699 of file GlobalNPC.cs.

700 {
701 }