public static ModifyHitPvp ( Item item, Player player, Player target, int &damage, bool &crit ) : void | ||
item | Item | |
player | Player | |
target | Player | |
damage | int | |
crit | bool | |
return | void |
public static void ModifyHitPvp(Item item, Player player, Player target, ref int damage, ref bool crit)
{
item.modItem?.ModifyHitPvp(player, target, ref damage, ref crit);
foreach (var hook in HookModifyHitPvp)
{
hook(item, player, target, ref damage, ref crit);
}
}