///////////////////////////////////////////////////////////////////////// // // www.ultima.smoce.net // Name: Ranger eguip // ///////////////////////////////////////////////////////////////////////// using System; using System.Collections.Generic; using System.Text; using Phoenix; using Phoenix.WorldData; using System.Linq; using Phoenix.Communication; using Phoenix.Runtime; using Phoenix.Runtime.Reflection; namespace Scripts.DarkParadise { public class ultima_smoce_net_1779630865 {[Command] public static void ZbraneRanger() {//by smoce // nastavení zrane! ushort zbran2h = 0x13B1; //Zde zadejte type dvourucni zbrane ( -0x13FC->HC -0x13B1->Luk <-) ushort zbran1h = 0x1404; //Zde zadejte type jednorucni zbrane ( -0x1404->WF -0x1402->WF -0x1400->Kryss <-) ushort stit = 0x1B78; // zde zadejte type stitu ( -0x1B74->Zeleznej Kite<- -0x1B78->Drevenej Kite<-) // end nastaveni zbrane UO.Print(0x00B3, "Equip Rangera Aktivovano!!!"); UO.Wait(100); // UOItem bar_regy = new UOItem(UIManager.TargetObject()); UOItem obourucka = World.Player.Backpack.AllItems.FindType(zbran2h); if (!obourucka.Exist) { UO.UseType(zbran1h); UO.Wait(100); UO.UseType(stit); } else { UO.UseType(zbran2h); } } } }