Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 public virtual void RegisterTriggers(Player p)
 {
     if (EquipmentSkill != null)
     {
         Trace.TraceInformation("registered {0} to {1}", EquipmentSkill.GetType().Name, p.Id);
         p.AcquireEquipmentSkill(EquipmentSkill);
     }
     RegisterEquipmentTriggers(p);
 }