Esempio n. 1
0
 public CombatReport(Mobile attacker, PhysicalObject target, EnumCombatEvent combatEvent, float damage)
 {
     AttackerObjectInstanceId = attacker.ObjectInstanceId;
     TargetObjectInstanceId = target == null ? 0 : target.ObjectInstanceId;
     CombatEvent = combatEvent;
     Damage = damage;
 }
Esempio n. 2
0
 public CombatReport(Mobile attacker, PhysicalObject target, EnumCombatEvent combatEvent, float damage)
 {
     AttackerObjectInstanceId = attacker.ObjectInstanceId;
     TargetObjectInstanceId   = target == null ? 0 : target.ObjectInstanceId;
     CombatEvent = combatEvent;
     Damage      = damage;
 }