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

◆ ModifyHitByItem()

virtual void Terraria.ModLoader.GlobalNPC.ModifyHitByItem ( NPC npc,
Player player,
Item item,
ref NPC::HitModifiers modifiers )
inlinevirtualinherited

Allows you to modify the damage, knockback, etc., that an NPC takes from a melee weapon.
Runs on the local client.

Parameters
npc
player
item
modifiers

Definition at line 405 of file GlobalNPC.cs.

406 {
407 }