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

◆ ModifyHitByItem()

virtual void Terraria.ModLoader.ModNPC.ModifyHitByItem ( Player player,
Item item,
ref NPC::HitModifiers modifiers )
inlinevirtual

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

Parameters
player
item
modifiers

Definition at line 502 of file ModNPC.cs.

503 {
504 }