Resurrect() public static method

public static Resurrect ( Server.Mobile m, Item item ) : void
m Server.Mobile
item Item
return void
Beispiel #1
0
 public override void OnMovement(Mobile m, Point3D oldLocation)
 {
     if (Parent == null && Utility.InRange(Location, m.Location, 1) && !Utility.InRange(Location, oldLocation, 1))
     {
         Ankhs.Resurrect(m, this);
     }
 }
Beispiel #2
0
            }                                                                           // Tell the core that we implement OnMovement

            public override void OnMovement(Mobile m, Point3D oldLocation)
            {
                if (Parent == null && this.InRange(m, 1) && !this.InRange(oldLocation, 1))
                {
                    Ankhs.Resurrect(m, this);
                }
            }
 public override void OnDoubleClickDead(Mobile from)
 {
     if (from.InRange(this.GetWorldLocation(), 2))
     {
         if (m_Sign != null)
         {
             if (m_Sign.Stone.ResFee != 0)
             {
                 from.SendGump(new CityResFeeGump(this));
             }
             else
             {
                 Ankhs.Resurrect(from, this);
             }
         }
         else
         {
             from.SendMessage(53, "WARNING! Stone not linked to building sign. Contact a game master.");
         }
     }
     else
     {
         from.SendMessage("You are not close enough to use this.");
     }
 }
 public override void OnDoubleClickDead(Mobile m)
 {
     if (m.Player && ((PlayerMobile)m).Undead)
     {
         m.SendMessage("The Avatar would not aid the likes of you.");
         return;
     }
     Ankhs.Resurrect(m, this);
 }
            public override void OnClick()
            {
                CityResurrectionStone resstone = (CityResurrectionStone)m_Item;

                if (resstone.Sign.Stone.ResFee != 0)
                {
                    m_Mobile.SendGump(new CityResFeeGump(resstone));
                }
                else
                {
                    Ankhs.Resurrect(m_Mobile, m_Item);
                }
            }
Beispiel #6
0
 public override void OnDoubleClickDead(Mobile m)
 {
     Ankhs.Resurrect(m, this);
 }
 public override void OnDoubleClickDead(Mobile m)
 {
     Ankhs.Resurrect(m, this);
     Server.Misc.Death.Penalty(m, false);
 }
Beispiel #8
0
 public override void OnDoubleClickDead(Mobile m)
 {
     Ankhs.Resurrect(m, this, m_Item != null ? m_Item.Chaos : false);
 }