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); } }
} // 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); } }
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); }
public override void OnDoubleClickDead(Mobile m) { Ankhs.Resurrect(m, this, m_Item != null ? m_Item.Chaos : false); }