public static TownNPCAttackStrength ( NPC npc, int &damage, float &knockback ) : void | ||
npc | NPC | |
damage | int | |
knockback | float | |
return | void |
public static void TownNPCAttackStrength(NPC npc, ref int damage, ref float knockback)
{
npc.modNPC?.TownNPCAttackStrength(ref damage, ref knockback);
foreach (var hook in HookTownNPCAttackStrength)
{
hook(npc, ref damage, ref knockback);
}
}