public static ModifyHitPvp ( Player player, System.Item item, Player target, int &damage, bool &crit ) : void | ||
player | Player | |
item | System.Item | |
target | Player | |
damage | int | |
crit | bool | |
Результат | void |
public static void ModifyHitPvp(Player player, Item item, Player target, ref int damage, ref bool crit)
{
foreach (ModPlayer modPlayer in player.modPlayers)
{
modPlayer.ModifyHitPvp(item, target, ref damage, ref crit);
}
}