Esempio n. 1
0
        public void TeleportToVendor(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 VendorTeleportSpell(from, this);
                spell.Cast();
            }
        }
Esempio n. 2
0
        public void TeleportToVendor(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 VendorTeleportSpell(from, this);
                spell.Cast();
            }
        }