public virtual void UnregisterTriggers(Player p) { if (EquipmentSkill != null) { Trace.TraceInformation("unregistered {0} from {1}", EquipmentSkill.GetType().Name, p.Id); p.LoseEquipmentSkill(EquipmentSkill); } UnregisterEquipmentTriggers(p); }
public virtual void UnregisterTriggers(Player p) { if (EquipmentSkill != null) { Trace.TraceInformation("unregistered {0} from {1}", EquipmentSkill.GetType().Name, p.Id); p.LoseEquipmentSkill(EquipmentSkill); } UnregisterEquipmentTriggers(p); }