示例#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 if (o is BookBox || o is CurseItem)
                {
                    m_Owner.TargetItem((Item)o, from);
                }
            }