///////////////////////////////////////////////////////////////////////// // // www.ultima.smoce.net // Name: Negro kosti ze zemÄ› // ///////////////////////////////////////////////////////////////////////// using System; using System.Collections.Generic; using System.Text; using Phoenix; using Phoenix.WorldData; namespace Phoenix.Scripts { public class negr_kosti_zem { [Executable] public void negr_zem() { ushort[] negr = new ushort[7]; negr[0] = 0x144F; // Ancient Liche Chest negr[1] = 0x1450; // Ancient Liche Gloves negr[2] = 0x1451; // Ancient Liche Helmet negr[3] = 0x1452; // Ancient Liche Leggins negr[4] = 0x144E; // Ancient Liche Arms negr[5] = 0x1B7B; // Metal Shield of Fortification negr[6] = 0x1F03; // Death Robe of Invulnerability for (int i = 0; i < 7; i++) { UOItem kosti = World.Ground.FindType(negr[i]); if(kosti.Exist) { UO.MoveItem(kosti.Serial, 0, World.Player.Backpack); UO.Print(0x007C,"Item sebran -" + i); } } UO.Print(0x0862,"Script konec..."); } } }