Exemplo n.º 1
0
        public void TeleportToPreviousLocation(Mobile from)
        {
            if (!Used)
            {
                return;
            }

            if (!IsChildOf(from.Backpack))
            {
                from.SendLocalizedMessage(1060640);                   // The item must be in your backpack to use it.
            }
            else
            {
                Spell spell = new ReturnFromVendorSpell(from, this);
                spell.Cast();
            }
        }
Exemplo n.º 2
0
        public void TeleportToPreviousLocation(Mobile from)
        {
            if (!Used)
                return;

            if (!IsChildOf(from.Backpack))
            {
                from.SendLocalizedMessage(1060640); // The item must be in your backpack to use it.
            }
            else
            {
                Spell spell = new ReturnFromVendorSpell(from, this);
                spell.Cast();
            }
        }