Wand of Sacrifice

Datum: 22/11/2014 23:40:23

Staženo: 168x

Popis:


Hodnocení: 2.7/10 (49 hlasy)

Download file:cs

Příkazy:

  • ,exec wand_of_sacrifice

Kód:

using System;
using System.Collections.Generic;
using System.Text;
using Phoenix;
using Phoenix.WorldData;

namespace Phoenix.Scripts
{
    public class Wand_of_Sacarifice
    {
        [Executable]
        public static void Wand_of_Sacrifice()
        {//by smoce

            UOItem hand = World.Player.Layers[Layer.RightHand];
            UOItem wand_of_sacrifice = World.Player.Backpack.AllItems.FindType(0x0DF2, 0x0B55);


            if (hand.Graphic == 0x0DF2 && hand.Color == 0x0B55)
            {
                UO.Print(0x0480, "Zamer koho mam ozivit!");
                hand.Use();
            }
            else
            {
                UO.Print(0x0480, "Nasazuji - Wand of Sacrifice");
                wand_of_sacrifice.Use();
            } 
        }
    }
}
Zde ještě není žádný komentář.

Nový komentář