Пример #1
0
 protected override void OnTarget(Mobile from, object o)
 {
     if (o is Mobile)
     {
         m_Owner.Target((Mobile)o);
     }
 }
Пример #2
0
 protected override void OnTarget(Mobile from, object o)
 {
     if (o is Mobile)
     {
         m_Owner.Target((Mobile)o);
     }
     else
     {
         from.SendLocalizedMessage(1060508); // You can't curse that.
     }
 }