Code:
if (I.DBInfo.Name == "MoonBox") { MyClient.LocalMessage(2005, "MoonBox is in testing stage."); Item It = new Item(); It.ID = 2100055; It.MaxDur = It.DBInfo.Durability; It.CurDur = It.MaxDur; It.Plus = 0; It.UID = (uint)Program.Rnd.Next(int.MaxValue); It.TalismanProgress = BitConverter.ToUInt32(new byte[4] { 150, 255, 0, 0 }, 0); RemoveItem(I); AddItem(It); return; }