public static void Handle(byte[] Data, Client.GameState Client) { NpcInitial initial = new NpcInitial(Data); if (Client.Entity.EntityFlag == Game.EntityFlag.Player) { PhoenixProject.Network.GamePackets.NpcInitial.NpcModes mode = initial.Mode; if (mode == PhoenixProject.Network.GamePackets.NpcInitial.NpcModes.Talk) { //KinConquer.Packets.Handles.NpcTalk.Handle(Data, Client); } else if (mode == PhoenixProject.Network.GamePackets.NpcInitial.NpcModes.Delete) { DeleteNPC(initial.Identifier, Client); } else { Program.WriteLine("Unhandled NpcInitial Type: " + initial.Mode); } } }
static void UseItem(Interfaces.IConquerItem item, Client.GameState client) { Database.ConquerItemInformation infos = new Database.ConquerItemInformation(item.ID, 0); if (client.Booth != null) return; client.Entity.UseItem = true; client.SpiltStack = true; switch (item.ID) { #region ElitePkChampion Prize #region 10ExpBallPack case 720757: { if (client.Inventory.Count <= 39) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Inventory.Add(723700, 0, 10); } else client.Send(ServerBase.Constants.FullInventory); break; // break; } #endregion #region +3StonePack case 729023: { if (client.Inventory.Count <= 30) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Inventory.Add(730003, 3, 10); } else client.Send(ServerBase.Constants.FullInventory); break; } #endregion #region +2StonePack case 729022: { if (client.Inventory.Count <= 30) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Inventory.Add(730002, 2, 10); } else client.Send(ServerBase.Constants.FullInventory); break; } #endregion #region +1Stone Pack case 723712: { if (client.Inventory.Count <= 35) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Inventory.Add(730001, 1, 5); } else client.Send(ServerBase.Constants.FullInventory); break; } #endregion #region 500Stuydy case 723342: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.SubClasses.StudyPoints += 500; client.Send(ServerBase.Constants.Study); break; } #endregion #region Random Accseeoreis case 720836: { uint ItemID = 0; uint rand = (uint)PhoenixProject.ServerBase.Kernel.Random.Next(1, 78); switch (rand) { #region Rand Accesory case 1: ItemID = 350001; break; case 2: ItemID = 350002; break; case 3: ItemID = 350004; break; case 4: ItemID = 350005; break; case 5: ItemID = 350006; break; case 6: ItemID = 350007; break; case 7: ItemID = 350008; break; case 8: ItemID = 350009; break; case 9: ItemID = 350010; break; case 10: ItemID = 350011; break; case 11: ItemID = 350012; break; case 12: ItemID = 350014; break; case 13: ItemID = 350015; break; case 14: ItemID = 350016; break; case 15: ItemID = 350017; break; case 16://PalmLeafFan 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2-HandedAccessory A~delicate~and~beautiful~fan~made~of~palm~leaves. 8 0 0 ItemID = 350018; break; case 17://IronShovel 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2-HandedAccessory An~iron~shovel~may~come~in~handy~in~winter,~when~you~need~to~shovel~paths~through~snow. 8 0 0 ItemID = 350019; break; case 18:////FrozenTuna 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2-HandedAccessory It`s~a~strangely-shaped~tuna~from~Bird~Island. 8 0 0 ItemID = 350020; break; case 19://IceStick 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2-HandedAccessory A~strange~stick.~Maybe~you~can~play~ice~hockey~with~it. 8 0 0 ItemID = 360001; break; case 20://Wrench 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory It`s~a~heavy~wrench.~Perhaps~you~can~use~it~to~deal~ 8 0 0 ItemID = 360002; break; case 21://WoodenClub 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory This~wooden~club~often~gives~off~a~sweet~odor. 8 0 0 ItemID = 360003; break; case 22://Umbrella 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory An~unbreakable~umbrella~is~a~stealth~weapon~that~also~keeps~you~dry. 8 0 0 ItemID = 360004; break; case 23:////Blowfish 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Dried~in~the~bright~sunlight~over~the~Desert,~the~blowfish~makes~a~good~weapon~for~it`s~as~hard~as~iron. 8 0 0 ItemID = 360005; break; case 24://FeatherDuster 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 360006; break; case 25://Spatula 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 360007; break; case 26://InvincibleFist 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 360008; break; case 27://FishPole 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 360009; break; case 28://Pan 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 360010; break; case 29://Handbag 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 360011; break; case 30://Backpack 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 360012; break; case 31://SportsBag 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 360013; break; case 32://Bunny 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 360014; break; case 33://GoodEveningBear 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 360015; break; case 34://Rod 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 360016; break; case 35://Clap 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 360017; break; case 36://HeavyHammer 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 360018; break; case 37://LightSaber 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 360019 ; break; case 38://TennisRacket 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 360020; break; case 39://ApeCityHam 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 360021; break; case 40: //Wrench 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory It`s~a~heavy~wrench. 8 0 0 ItemID = 360022; break; case 41: //WoodenClub 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory This~wooden~club~often~gives~off~a~sweet~odor. 8 0 0 ItemID = 360023; break; case 42://Umbrella 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory An~unbreakable~umbrella~is~a~stealth~weapon~that~also~keeps~you~dry. 8 0 0 ItemID = 360024; break; case 43://Blowfish 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Dried~in~the~bright~sunlight~over~the~Desert,~the~Mackerel~makes~a~good~weapon~for~it`s~as~hard~as~iron. 8 0 0 ItemID = 360025; break; case 44://FeatherDuster 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 360026; break; case 45://Spatula 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 360027; break; case 46://InvincibleFist 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 360028; break; case 47://FishPole 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 360029; break; case 48://Pan 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 360030; break; case 49://Handbag 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 360031; break; case 50://Backpack 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 360032; break; case 51://SportsBag 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 360033; break; case 52://Bunny 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 360034; break; case 53://GoodEveningBear 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 360035; break; case 54://Rod 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 360036; break; case 55://Clap 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 360037; break; case 56://HeavyHammer 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 360038; break; case 57://LightSaber 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 360039; break; case 58://TennisRacket 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 360040; break; case 59://ApeCityHam 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 370001; break; case 60: //WoodenBow 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 BowAccessory None. 8 0 0 ItemID = 370002; break; case 61://LoveBow 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 BowAccessory None. 8 0 0 ItemID = 370003; break; case 62://SeaHorse 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 BowAccessory None. 8 0 0 ItemID = 370004; break; case 63://Harp 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 BowAccessory None. 8 0 0 ItemID = 370005; break; case 64://ForceBow 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 BowAccessory None. 8 0 0 ItemID = 370011; break; case 65://WoodenBow 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BowAccessory Right~click~to~equip. 8 0 0 ItemID = 370012; break; case 66://LoveBow 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BowAccessory Right~click~to~equip. 8 0 0 ItemID = 370013; break; case 67://SeaHorse 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BowAccessory Right~click~to~equip. 8 0 0 ItemID = 370014; break; case 68://Harp 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BowAccessory Right~click~to~equip. 8 0 0 ItemID = 370015; break; case 69://ForceBow 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BowAccessory Right~click~to~equip. 8 0 0 ItemID = 380001; break; case 70://Wok 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 ShieldAccessory None. 8 0 0 ItemID = 380002; break; case 71://TurtleShell 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 ShieldAccessory None. 8 0 0 ItemID = 380003; break; case 72://LoveShield 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 ShieldAccessory None. 8 0 0 ItemID = 380004; break; case 73://SunFlower 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 ShieldAccessory None. 8 0 0 ItemID = 380005; break; case 74://Wheel 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 ShieldAccessory None. 8 0 0 ItemID = 380011; break; case 75://Wok 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ShieldAccessory Right~click~to~equip. 8 0 0 ItemID = 380012; break; case 76://TurtleShell 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ShieldAccessory Right~click~to~equip. 8 0 0 ItemID = 380013; break; case 77://LoveShield 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ShieldAccessory Right~click~to~equip. 8 0 0 ItemID = 380014; break; case 78://SunFlower 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ShieldAccessory Right~click~to~equip. 8 0 0 ItemID = 380015; break; default: ItemID = 380013; break; //Wheel 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ShieldAccessory Right~click~to~equip. 8 0 0 #endregion } client.Inventory.Add(ItemID, 0, 1); client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); break; } #endregion #region Random Refinery case 723693: { uint ItemID = 0; uint rand = (uint)PhoenixProject.ServerBase.Kernel.Random.Next(1, 97); switch (rand) { #region Rand Refinery case 1: ItemID = 724350; break; case 2: ItemID = 724351; break; case 3: ItemID = 724352; break; case 4: ItemID = 724353; break; case 5: ItemID = 724354; break; case 6: ItemID = 724355; break; case 7: ItemID = 724356; break; case 8: ItemID = 724357; break; case 9: ItemID = 724358; break; case 10: ItemID = 724359; break; case 11: ItemID = 724360; break; case 12: ItemID = 724361; break; case 13: ItemID = 724362; break; case 14: ItemID = 724350; break; case 15: ItemID = 724363; break; case 16://PalmLeafFan 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2-HandedAccessory A~delicate~and~beautiful~fan~made~of~palm~leaves. 8 0 0 ItemID = 724364; break; case 17://IronShovel 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2-HandedAccessory An~iron~shovel~may~come~in~handy~in~winter,~when~you~need~to~shovel~paths~through~snow. 8 0 0 ItemID = 724365; break; case 18:////FrozenTuna 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2-HandedAccessory It`s~a~strangely-shaped~tuna~from~Bird~Island. 8 0 0 ItemID = 724366; break; case 19://IceStick 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2-HandedAccessory A~strange~stick.~Maybe~you~can~play~ice~hockey~with~it. 8 0 0 ItemID = 724367; break; case 20://Wrench 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory It`s~a~heavy~wrench.~Perhaps~you~can~use~it~to~deal~ 8 0 0 ItemID = 724368; break; case 21://WoodenClub 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory This~wooden~club~often~gives~off~a~sweet~odor. 8 0 0 ItemID = 724369; break; case 22://Umbrella 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory An~unbreakable~umbrella~is~a~stealth~weapon~that~also~keeps~you~dry. 8 0 0 ItemID = 724370; break; case 23:////Blowfish 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Dried~in~the~bright~sunlight~over~the~Desert,~the~blowfish~makes~a~good~weapon~for~it`s~as~hard~as~iron. 8 0 0 ItemID = 724371; break; case 24://FeatherDuster 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 724372; break; case 25://Spatula 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 724373; break; case 26://InvincibleFist 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 724374; break; case 27://FishPole 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 724375; break; case 28://Pan 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 724376; break; case 29://Handbag 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 724377; break; case 30://Backpack 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 724378; break; case 31://SportsBag 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 724379; break; case 32://Bunny 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 724380; break; case 33://GoodEveningBear 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 724381; break; case 34://Rod 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 724382; break; case 35://Clap 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 724383; break; case 36://HeavyHammer 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 724384; break; case 37://LightSaber 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 724385 ; break; case 38://TennisRacket 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 724386; break; case 39://ApeCityHam 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory None. 8 0 0 ItemID = 724387; break; case 40: //Wrench 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory It`s~a~heavy~wrench. 8 0 0 ItemID = 724388; break; case 41: //WoodenClub 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory This~wooden~club~often~gives~off~a~sweet~odor. 8 0 0 ItemID = 724389; break; case 42://Umbrella 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory An~unbreakable~umbrella~is~a~stealth~weapon~that~also~keeps~you~dry. 8 0 0 ItemID = 724390; break; case 43://Blowfish 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Dried~in~the~bright~sunlight~over~the~Desert,~the~Mackerel~makes~a~good~weapon~for~it`s~as~hard~as~iron. 8 0 0 ItemID = 724391; break; case 44://FeatherDuster 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 724392; break; case 45://Spatula 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 724393; break; case 46://InvincibleFist 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 724394; break; case 47://FishPole 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 724395; break; case 48://Pan 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 724396; break; case 49://Handbag 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 724397; break; case 50://Backpack 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 724398; break; case 51://SportsBag 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 724399; break; case 52://Bunny 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 724400; break; case 53://GoodEveningBear 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 724401; break; case 54://Rod 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 724402; break; case 55://Clap 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 724403; break; case 56://HeavyHammer 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 724404; break; case 57://LightSaber 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 724405; break; case 58://TennisRacket 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 724406; break; case 59://ApeCityHam 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1-HandedAccessory Right~click~to~equip. 8 0 0 ItemID = 724407; break; case 60: //WoodenBow 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 BowAccessory None. 8 0 0 ItemID = 724408; break; case 61://LoveBow 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 BowAccessory None. 8 0 0 ItemID = 724409; break; case 62://SeaHorse 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 BowAccessory None. 8 0 0 ItemID = 724410; break; case 63://Harp 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 BowAccessory None. 8 0 0 ItemID = 724411; break; case 64://ForceBow 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 BowAccessory None. 8 0 0 ItemID = 724412; break; case 65://WoodenBow 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BowAccessory Right~click~to~equip. 8 0 0 ItemID = 724413; break; case 66://LoveBow 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BowAccessory Right~click~to~equip. 8 0 0 ItemID = 724414; break; case 67://SeaHorse 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BowAccessory Right~click~to~equip. 8 0 0 ItemID = 724415; break; case 68://Harp 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BowAccessory Right~click~to~equip. 8 0 0 ItemID = 724416; break; case 69://ForceBow 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BowAccessory Right~click~to~equip. 8 0 0 ItemID = 724417; break; case 70://Wok 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 ShieldAccessory None. 8 0 0 ItemID = 724418; break; case 71://TurtleShell 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 ShieldAccessory None. 8 0 0 ItemID = 724419; break; case 72://LoveShield 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 ShieldAccessory None. 8 0 0 ItemID = 724420; break; case 73://SunFlower 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 ShieldAccessory None. 8 0 0 ItemID = 724421; break; case 74://Wheel 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 ShieldAccessory None. 8 0 0 ItemID = 724422; break; case 75://Wok 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ShieldAccessory Right~click~to~equip. 8 0 0 ItemID = 724423; break; case 76://TurtleShell 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ShieldAccessory Right~click~to~equip. 8 0 0 ItemID = 724424; break; case 77://LoveShield 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ShieldAccessory Right~click~to~equip. 8 0 0 ItemID = 724425; break; case 78://SunFlower 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ShieldAccessory Right~click~to~equip. 8 0 0 ItemID = 724423; break; case 79: //WoodenBow 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 BowAccessory None. 8 0 0 ItemID = 724424; break; case 80://LoveBow 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 BowAccessory None. 8 0 0 ItemID = 724425; break; case 81://SeaHorse 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 BowAccessory None. 8 0 0 ItemID = 724426; break; case 82://Harp 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 BowAccessory None. 8 0 0 ItemID = 724427; break; case 83://ForceBow 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 BowAccessory None. 8 0 0 ItemID = 724428; break; case 84://WoodenBow 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BowAccessory Right~click~to~equip. 8 0 0 ItemID = 724429; break; case 85://LoveBow 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BowAccessory Right~click~to~equip. 8 0 0 ItemID = 724430; break; case 86://SeaHorse 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BowAccessory Right~click~to~equip. 8 0 0 ItemID = 724431; break; case 87://Harp 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BowAccessory Right~click~to~equip. 8 0 0 ItemID = 724432; break; case 88://ForceBow 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BowAccessory Right~click~to~equip. 8 0 0 ItemID = 724433; break; case 89://Wok 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 ShieldAccessory None. 8 0 0 ItemID = 724434; break; case 90://TurtleShell 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 ShieldAccessory None. 8 0 0 ItemID = 724435; break; case 91://LoveShield 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 ShieldAccessory None. 8 0 0 ItemID = 724436; break; case 92://SunFlower 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 ShieldAccessory None. 8 0 0 ItemID = 724437; break; case 93://Wheel 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 0 0 10080 0 0 0 0 0 0 0 0 0 0 0 0 0 ShieldAccessory None. 8 0 0 ItemID = 724438; break; case 94://Wok 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ShieldAccessory Right~click~to~equip. 8 0 0 ItemID = 724439; break; case 95://TurtleShell 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ShieldAccessory Right~click~to~equip. 8 0 0 ItemID = 724440; break; case 96://LoveShield 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ShieldAccessory Right~click~to~equip. 8 0 0 ItemID = 724441; break; case 97://SunFlower 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ShieldAccessory Right~click~to~equip. 8 0 0 ItemID = 724442; break; default: ItemID = 724445; break; //Wheel 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65535 65535 0 0 0 0 0 0 0 0 0 1 800 2 2 1 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ShieldAccessory Right~click~to~equip. 8 0 0 #endregion } client.Inventory.Add(ItemID, 0, 1); client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); break; } #endregion #region PkEliteFirst Pack case 720717: { if (client.Inventory.Count <= 23) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Inventory.Add(723342, 0, 5);//mondostyBook client.Inventory.Add(720598, 0, 3);//dragonPill client.Inventory.Add(720028, 0, 3);//dbscroll client.Inventory.Add(720836, 0, 1);//accessores client.Inventory.Add(723693, 0, 1);//legandRefineryPack client.Inventory.Add(723744, 0, 3);//powerExpBall client.Inventory.Add(723864, 0, 1);//Steed+6 } else { client.Send(new Message("you must have 17 space in you inventory to take prize", Color.Green, 2005)); } break; } #endregion #region PkEliteFirst Pack2 case 720721: { if (client.Inventory.Count <= 30) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Inventory.Add(723342, 0, 3);//mondostyBook client.Inventory.Add(720598, 0, 2);//dragonPill client.Inventory.Add(720028, 0, 1);//dbscroll client.Inventory.Add(720836, 0, 1);//accessores client.Inventory.Add(723693, 0, 1);//legandRefineryPack client.Inventory.Add(723744, 0, 1);//powerExpBall //client.Inventory.Add(723864, 0, 1);//Steed+6 } else { client.Send(new Message("you must have 10 space in you inventory to take prize", Color.Green, 2005)); } break; } #endregion #region PkEliteFirst Pack3 case 720725: { if (client.Inventory.Count <= 30) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Inventory.Add(723342, 0, 2);//mondostyBook client.Inventory.Add(720598, 0, 2);//dragonPill client.Inventory.Add(720028, 0, 1);//dbscroll client.Inventory.Add(720836, 0, 1);//accessores client.Inventory.Add(723693, 0, 1);//legandRefineryPack client.Inventory.Add(723912, 0, 2);//ArenaExp //client.Inventory.Add(723864, 0, 1);//Steed+6 } else { client.Send(new Message("you must have 10 space in you inventory to take prize", Color.Green, 2005)); } break; } #endregion #region PkEliteFirst Pack8 case 720729: { if (client.Inventory.Count <= 30) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Inventory.Add(723342, 0, 1);//mondostyBook client.Inventory.Add(720598, 0, 1);//dragonPill client.Inventory.Add(720028, 0, 1);//dbscroll client.Inventory.Add(720836, 0, 1);//accessores client.Inventory.Add(723693, 0, 1);//legandRefineryPack client.Inventory.Add(723912, 0, 1);//ArenaExp //client.Inventory.Add(723864, 0, 1);//Steed+6 } else { client.Send(new Message("you must have 6 space in you inventory to take prize", Color.Green, 2005)); } break; } #endregion #endregion #region NewItems case 724002://SmallLotteryTicketPack { client.Inventory.Add(711504, 0, 3); client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); break; } #endregion #region MemoryAgate case 720828: { if (ServerBase.Constants.revnomap.Contains(client.Entity.MapID)) { client.Send(new Message("You Can't record here !", System.Drawing.Color.Tan, Message.TopLeft)); return; } else { item.SendAgate(client); } break; } #endregion #region Medicine case 1000000: case 1000010: case 1000020: case 1000030: case 1002000: case 1002010: case 1002020: case 1002050: case 1000040: case 725065: { //Console.WriteLine("ss"); if (client.Entity.NoDrugsTime > 0) { if (Time32.Now > client.Entity.NoDrugsStamp.AddSeconds(client.Entity.NoDrugsTime)) { client.Entity.NoDrugsTime = 0; } else { return; } } if (client.Entity.Hitpoints == client.Entity.MaxHitpoints) { // Console.WriteLine("ss2"); return; } //Console.WriteLine("ss3"); client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.Hitpoints = Math.Min(client.Entity.Hitpoints + infos.BaseInformation.ItemHP, client.Entity.MaxHitpoints); break; } case 1001000: case 1001010: case 1001020: case 1001030: case 1001040: case 1002030: case 1002040: case 725066: { if (client.Entity.NoDrugsTime > 0) { if (Time32.Now > client.Entity.NoDrugsStamp.AddSeconds(client.Entity.NoDrugsTime)) { client.Entity.NoDrugsTime = 0; } else { return; } } if (client.Entity.Mana == client.Entity.MaxMana) return; client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.Mana = (ushort)Math.Min(client.Entity.Mana + infos.BaseInformation.ItemMP, client.Entity.MaxMana); break; } #endregion #region Gates case 0xafc95: case 0xafc96: case 0xafc97: case 0xafc98: { if (client.Guild != null) { ushort num2 = (ushort)(((item.ID % 100) + 0x7c) * 10); NpcInitial initial = new NpcInitial { Identifier = 1, Lookface = 3, Mode = PhoenixProject.Network.GamePackets.NpcInitial.NpcModes.Place, Furniture = num2 }; client.Send((byte[])initial); client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); } break; } case 1060020: { if (client.Entity.MapID == 601) return; if (client.Map.BaseID == 6000 || client.Map.BaseID == 6001 || client.Map.BaseID == 1844 || client.Map.BaseID == 1801 || client.Map.BaseID == 8883 || client.Map.BaseID == 1005 && client.Entity.MapID != 1005 || client.Map.BaseID == 700 && client.Entity.MapID != 701) { client.Send(ServerBase.Constants.JailItemUnusable); return; } client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.Teleport(1002, 429, 378); break; } case 1060021: { if (client.Entity.MapID == 601) return; if (client.Map.BaseID == 6000 || client.Map.BaseID == 6001 || client.Map.BaseID == 1844 || client.Map.BaseID == 1801 || client.Map.BaseID == 8883 || client.Map.BaseID == 1005 && client.Entity.MapID != 1005 || client.Map.BaseID == 700 && client.Entity.MapID != 701) { client.Send(ServerBase.Constants.JailItemUnusable); return; } client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.Teleport(1000, 500, 650); break; } case 1060022: { if (client.Entity.MapID == 601) return; if (client.Map.BaseID == 6000 || client.Map.BaseID == 6001 || client.Map.BaseID == 1844 || client.Map.BaseID == 1801 || client.Map.BaseID == 8883 || client.Map.BaseID == 1005 && client.Entity.MapID != 1005 || client.Map.BaseID == 700 && client.Entity.MapID != 701) { client.Send(ServerBase.Constants.JailItemUnusable); return; } client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.Teleport(1020, 565, 562); break; } case 1060023: { if (client.Entity.MapID == 601) return; if (client.Map.BaseID == 6000 || client.Map.BaseID == 6001 || client.Map.BaseID == 1844 || client.Map.BaseID == 1801 || client.Map.BaseID == 8883 || client.Map.BaseID == 1005 && client.Entity.MapID != 1005 || client.Map.BaseID == 700 && client.Entity.MapID != 701) { client.Send(ServerBase.Constants.JailItemUnusable); return; } client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.Teleport(1011, 188, 264); break; } case 1060024: { if (client.Entity.MapID == 601) return; if (client.Map.BaseID == 6000 || client.Map.BaseID == 6001 || client.Map.BaseID == 1844 || client.Map.BaseID == 1801 || client.Map.BaseID == 8883 || client.Map.BaseID == 1005 && client.Entity.MapID != 1005 || client.Map.BaseID == 700 && client.Entity.MapID != 701) { client.Send(ServerBase.Constants.JailItemUnusable); return; } client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.Teleport(1015, 717, 571); break; } case 1060039: { if (client.Entity.MapID == 601) return; if (client.Map.BaseID == 6000 || client.Map.BaseID == 6001 || client.Map.BaseID == 1844 || client.Map.BaseID == 1801 || client.Map.BaseID == 8883 || client.Map.BaseID == 1005 && client.Entity.MapID != 1005 || client.Map.BaseID == 700 && client.Entity.MapID != 701) { client.Send(ServerBase.Constants.JailItemUnusable); return; } client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.Teleport(1217, 535, 558); break; } #endregion #region Dyes case 723584: { if (client.Equipment.TryGetItem(3) == null) return; if (client.Equipment.TryGetItem(3).ID == 0) return; client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Equipment.TryGetItem(3).Color = Game.Enums.Color.Black; PhoenixProject.Database.ConquerItemTable.UpdateColor(client.Equipment.TryGetItem(3)); client.Equipment.TryGetItem(3).Mode = PhoenixProject.Game.Enums.ItemMode.Update; client.Equipment.TryGetItem(3).Send(client); client.Equipment.UpdateEntityPacket(); break; } case 1060030: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.HairColor = 3; break; } case 1060040: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.HairColor = 9; break; } case 1060050: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.HairColor = 8; break; } case 1060060: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.HairColor = 7; break; } case 1060070: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.HairColor = 6; break; } case 1060080: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.HairColor = 5; break; } case 1060090: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.HairColor = 4; break; } #endregion #region Misc #region ChiPoints Items By MR.Wallid #region ChiPill(100) case 729476: { client.Inventory.Remove(item, Game.Enums.ItemUse.Delete); client.Entity.ChiPoints += 100; { client.Send(new Message("Congratulations you've received 100 Chi Points.", Color.Red, Message.TopLeft)); } break; } #endregion #region ChiPill(200) case 729477: { client.Inventory.Remove(item, Game.Enums.ItemUse.Delete); client.Entity.ChiPoints += 200; { client.Send(new Message("Congratulations you've received 200 Chi Points.", Color.Red, Message.TopLeft)); } break; } #endregion #region ChiPill(300) case 729478: { client.Inventory.Remove(item, Game.Enums.ItemUse.Delete); client.Entity.ChiPoints += 300; { client.Send(new Message("Congratulations you've received 300 Chi Points.", Color.Red, Message.TopLeft)); } break; } #endregion #region ChiPill(400) case 729479: { client.Inventory.Remove(item, Game.Enums.ItemUse.Delete); client.Entity.ChiPoints += 400; { client.Send(new Message("Congratulations you've received 400 Chi Points.", Color.Red, Message.TopLeft)); } break; } #endregion #region VitalPill case 729481: { client.Inventory.Remove(item, Game.Enums.ItemUse.Delete); client.Entity.ChiPoints += 500; { client.Send(new Message("Congratulations you've received 500 Chi Points.", Color.Red, Message.TopLeft)); } break; } #endregion #endregion #region Surprise-Box case 722178: { if (client.Inventory.Count <= 38) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); //client.Inventory.Add(722057, 0, 1);//PowerEXPBall client.Entity.ConquerPoints += 2000; } else { client.Send(new Message("You Must have 1 space in you Inventory To Open You Box", Color.White, 255)); } break; } #endregion #region SteedPacks case 723855: case 728525: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); Interfaces.IConquerItem _item = new ConquerItem(true); _item.ID = 300000; Database.ConquerItemInformation _iteminfos = new Database.ConquerItemInformation(_item.ID, 0); _item.Durability = _item.MaximDurability = _iteminfos.BaseInformation.Durability; _item.Plus = 1; _item.Effect = Game.Enums.ItemEffect.Horse; _item.SocketProgress = 150 << 8 | 255 << 16; client.Inventory.Add(_item, Game.Enums.ItemUse.CreateAndAdd); break; } case 723856: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); Interfaces.IConquerItem _item = new ConquerItem(true); _item.ID = 300000; Database.ConquerItemInformation _iteminfos = new Database.ConquerItemInformation(_item.ID, 0); _item.Durability = _item.MaximDurability = _iteminfos.BaseInformation.Durability; _item.Plus = 1; _item.Effect = Game.Enums.ItemEffect.Horse; _item.SocketProgress = 150 | 255 << 8; client.Inventory.Add(_item, Game.Enums.ItemUse.CreateAndAdd); break; } case 723859: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); Interfaces.IConquerItem _item = new ConquerItem(true); _item.ID = 300000; Database.ConquerItemInformation _iteminfos = new Database.ConquerItemInformation(_item.ID, 0); _item.Durability = _item.MaximDurability = _iteminfos.BaseInformation.Durability; _item.Plus = 1; _item.Effect = Game.Enums.ItemEffect.Horse; _item.SocketProgress = 255 | 150 << 16; client.Inventory.Add(_item, Game.Enums.ItemUse.CreateAndAdd); break; } case 723860: case 728526: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); Interfaces.IConquerItem _item = new ConquerItem(true); _item.ID = 300000; Database.ConquerItemInformation _iteminfos = new Database.ConquerItemInformation(_item.ID, 0); _item.Durability = _item.MaximDurability = _iteminfos.BaseInformation.Durability; _item.Plus = 3; _item.Effect = Game.Enums.ItemEffect.Horse; _item.SocketProgress = 150 << 8 | 255 << 16; client.Inventory.Add(_item, Game.Enums.ItemUse.CreateAndAdd); break; } case 723861: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); Interfaces.IConquerItem _item = new ConquerItem(true); _item.ID = 300000; Database.ConquerItemInformation _iteminfos = new Database.ConquerItemInformation(_item.ID, 0); _item.Durability = _item.MaximDurability = _iteminfos.BaseInformation.Durability; _item.Plus = 3; _item.Effect = Game.Enums.ItemEffect.Horse; _item.SocketProgress = 150 | 255 << 8; client.Inventory.Add(_item, Game.Enums.ItemUse.CreateAndAdd); break; } case 723862: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); Interfaces.IConquerItem _item = new ConquerItem(true); _item.ID = 300000; Database.ConquerItemInformation _iteminfos = new Database.ConquerItemInformation(_item.ID, 0); _item.Durability = _item.MaximDurability = _iteminfos.BaseInformation.Durability; _item.Plus = 3; _item.Effect = Game.Enums.ItemEffect.Horse; _item.SocketProgress = 255 | 150 << 16; client.Inventory.Add(_item, Game.Enums.ItemUse.CreateAndAdd); break; } case 723863: case 728527: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); Interfaces.IConquerItem _item = new ConquerItem(true); _item.ID = 300000; Database.ConquerItemInformation _iteminfos = new Database.ConquerItemInformation(_item.ID, 0); _item.Durability = _item.MaximDurability = _iteminfos.BaseInformation.Durability; _item.Plus = 6; _item.Effect = Game.Enums.ItemEffect.Horse; _item.SocketProgress = 150 << 8 | 255 << 16; client.Inventory.Add(_item, Game.Enums.ItemUse.CreateAndAdd); break; } case 723864: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); Interfaces.IConquerItem _item = new ConquerItem(true); _item.ID = 300000; Database.ConquerItemInformation _iteminfos = new Database.ConquerItemInformation(_item.ID, 0); _item.Durability = _item.MaximDurability = _iteminfos.BaseInformation.Durability; _item.Plus = 6; _item.Effect = Game.Enums.ItemEffect.Horse; _item.SocketProgress = 150 | 255 << 8; client.Inventory.Add(_item, Game.Enums.ItemUse.CreateAndAdd); break; } case 723865: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); Interfaces.IConquerItem _item = new ConquerItem(true); _item.ID = 300000; Database.ConquerItemInformation _iteminfos = new Database.ConquerItemInformation(_item.ID, 0); _item.Durability = _item.MaximDurability = _iteminfos.BaseInformation.Durability; _item.Plus = 6; _item.Effect = Game.Enums.ItemEffect.Horse; _item.SocketProgress = 255 | 150 << 16; client.Inventory.Add(_item, Game.Enums.ItemUse.CreateAndAdd); break; } case 723900: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); Interfaces.IConquerItem _item = new ConquerItem(true); _item.ID = 300000; Database.ConquerItemInformation _iteminfos = new Database.ConquerItemInformation(_item.ID, 0); _item.Durability = _item.MaximDurability = _iteminfos.BaseInformation.Durability; _item.Plus = 0; _item.Effect = Game.Enums.ItemEffect.Horse; _item.SocketProgress = 150 << 8 | 255 << 16; client.Inventory.Add(_item, Game.Enums.ItemUse.CreateAndAdd); break; } case 723901: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); Interfaces.IConquerItem _item = new ConquerItem(true); _item.ID = 300000; Database.ConquerItemInformation _iteminfos = new Database.ConquerItemInformation(_item.ID, 0); _item.Durability = _item.MaximDurability = _iteminfos.BaseInformation.Durability; _item.Plus = 0; _item.Effect = Game.Enums.ItemEffect.Horse; _item.SocketProgress = 150 | 255 << 8; client.Inventory.Add(_item, Game.Enums.ItemUse.CreateAndAdd); break; } case 723902: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); Interfaces.IConquerItem _item = new ConquerItem(true); _item.ID = 300000; Database.ConquerItemInformation _iteminfos = new Database.ConquerItemInformation(_item.ID, 0); _item.Durability = _item.MaximDurability = _iteminfos.BaseInformation.Durability; _item.Plus = 0; _item.Effect = Game.Enums.ItemEffect.Horse; _item.SocketProgress = 255 | 150 << 16; client.Inventory.Add(_item, Game.Enums.ItemUse.CreateAndAdd); break; } #endregion #region LifeFruitBasket case 723725: { if (client.Inventory.Count <= 31) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Inventory.Add(723726, 0, 10); } else client.Send(ServerBase.Constants.FullInventory); break; } #endregion #region 7StarPouch case 725067: { if (client.Inventory.Count <= 35) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Inventory.Add(725065, 0, 5); } else client.Send(ServerBase.Constants.FullInventory); break; } #endregion #region SerenityPouch case 725068: { if (client.Inventory.Count <= 35) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Inventory.Add(725066, 0, 5); } else client.Send(ServerBase.Constants.FullInventory); break; } #endregion #region SpeedArrowPack case 727000: { if (client.Inventory.Count <= 35) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Inventory.Add(1050002, 0, 1); } else client.Send(ServerBase.Constants.FullInventory); break; } #endregion #region LifeFruit case 723726: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.Hitpoints = client.Entity.MaxHitpoints; client.Entity.Mana = client.Entity.MaxMana; break; } #endregion #region Amrita Box case 720010: { if (client.Inventory.Count <= 38) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Inventory.Add(1000030, 0, 3); } else client.Send(ServerBase.Constants.FullInventory); break; } #endregion #region Panacea Box case 720011: { if (client.Inventory.Count <= 38) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Inventory.Add(1002000, 0, 3); } else client.Send(ServerBase.Constants.FullInventory); break; } #endregion #region Ginseng Box case 720012: { if (client.Inventory.Count <= 38) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Inventory.Add(1002010, 0, 3); } else client.Send(ServerBase.Constants.FullInventory); break; } #endregion #region Vanilla Box case 720013: { if (client.Inventory.Count <= 38) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Inventory.Add(1002020, 0, 3); } else client.Send(ServerBase.Constants.FullInventory); break; } #endregion #region RecoveryPill Box case 720014: { if (client.Inventory.Count <= 38) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Inventory.Add(1001030, 0, 3); } else client.Send(ServerBase.Constants.FullInventory); break; } #endregion RecoveryPill #region SoulPill Box case 720015: { if (client.Inventory.Count <= 38) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Inventory.Add(1001040, 0, 3); } else client.Send(ServerBase.Constants.FullInventory); break; } #endregion #region RefreshingPill Box case 720016: { if (client.Inventory.Count <= 38) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Inventory.Add(1002030, 0, 3); } else client.Send(ServerBase.Constants.FullInventory); break; } #endregion #region ChantPill Box case 720017: { if (client.Inventory.Count <= 38) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Inventory.Add(1002040, 0, 3); } else client.Send(ServerBase.Constants.FullInventory); break; } #endregion #region Mil.Ginseng Box case 721330: { if (client.Inventory.Count <= 38) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Inventory.Add(1002050, 0, 3); } else client.Send(ServerBase.Constants.FullInventory); break; } #endregion #region ExpBall case 723700: { if (client.ExpBalls < 10) { if (client.Entity.Level < 137) { client.IncreaseExperience(client.ExpBall, false); client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.ExpBalls++; } } else client.Send(ServerBase.Constants.ExpBallsUsed); break; } #endregion #region MeteorTearScroll case 723711: { if (client.Inventory.Count <= 36) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Inventory.Add(1088002, 0, 5); } else client.Send(ServerBase.Constants.FullInventory); break; } #endregion #region Class1MoneyBag case 723713: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.Money += 300000; break; } #endregion #region Class2MoneyBag case 723714: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.Money += 800000; break; } #endregion #region Class3MoneyBag case 723715: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.Money += 1200000; break; } #endregion #region Class4MoneyBag case 723716: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.Money += 1800000; break; } #endregion #region Class5MoneyBag case 723717: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.Money += 5000000; break; } #endregion #region Class6MoneyBag case 723718: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.Money += 20000000; break; } #endregion #region Class7MoneyBag case 723719: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.Money += 25000000; break; } #endregion #region Class8MoneyBag case 723720: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.Money += 80000000; break; } #endregion #region Class9MoneyBag case 723721: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.Money += 100000000; break; } #endregion #region Class10MoneyBag case 723722: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.Money += 300000000; break; } #endregion #region BeginnerPackL1 case 723753: { if (client.Entity.Level >= 1) { if (client.Inventory.Count < 33) { client.Entity.Money += 500; client.Entity.ConquerPoints += 10; client.Inventory.Add(1000000, 0, 3); client.Inventory.Add(1001000, 0, 3); client.Inventory.Add(723755, 0, 1); client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 7 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 1", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region BeginnerPackL10 case 723755: { if (client.Entity.Level >= 10) { if (client.Inventory.Count < 26) { client.Inventory.Add(723700, 0, 10);//ExpBall client.Inventory.Add(723017, 0, 3); //ExpPotion client.Inventory.Add(723767, 0, 1); client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 14 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region BeginnerPackL70 case 723767: { if (client.Entity.Level >= 70) { if (client.Inventory.Count < 36) { client.Inventory.Add(723017, 0, 5); //ExpPotion client.Entity.ConquerPoints += 20; client.Inventory.Add(1080001, 0, 1); //Emerald client.Inventory.Add(723772, 0, 1); client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 7 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 70", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region BeginnerPackL100 case 723772: { if (client.Entity.Level >= 100) { if (client.Inventory.Count < 28) { client.Inventory.Add(723774, 0, 1); client.Inventory.Add(723017, 0, 10); //ExpPotion if (client.Entity.Class <= 15) client.Inventory.Add(800010, 0, 1); //Trojan else if (client.Entity.Class <= 25) client.Inventory.Add(800410, 0, 1); //Warrior else if (client.Entity.Class <= 45) client.Inventory.Add(800610, 0, 1); //Archer else if (client.Entity.Class <= 55) client.Inventory.Add(800010, 0, 1); //Ninja else if (client.Entity.Class <= 65) client.Inventory.Add(800010, 0, 1); //Monk else //Taoist client.Inventory.Add(800508, 0, 1); client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 12 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 100", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region BeginnerPackL110 case 723774: { if (client.Entity.Level >= 110) { if (client.Inventory.Count < 27) { client.Inventory.Add(723776, 0, 1); client.Inventory.Add(721090, 0, 1);//MoonBox client.Inventory.Add(723017, 0, 10); //ExpPotion if (client.Entity.Class <= 15) CheckCommand(new Message("@item MythicBlade Super 0 0 0 13 0", System.Drawing.Color.Red, 2001), client); else if (client.Entity.Class <= 25) CheckCommand(new Message("@item DragonWand Super 0 0 0 13 0", System.Drawing.Color.Red, 2001), client); else if (client.Entity.Class <= 45) CheckCommand(new Message("@item AncientBow Super 0 0 0 13 0", System.Drawing.Color.Red, 2001), client); else if (client.Entity.Class <= 55) CheckCommand(new Message("@item FlameKatana Super 0 0 0 13 0", System.Drawing.Color.Red, 2001), client); else if (client.Entity.Class <= 65) CheckCommand(new Message("@item BeadsOfConsciousness Super 0 0 0 13 0", System.Drawing.Color.Red, 2001), client); else CheckCommand(new Message("@item ThunBacksword Super 0 0 0 3 0", System.Drawing.Color.Red, 2001), client); client.Entity.ConquerPoints += 30; client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 13 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 110", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region BeginnerPackL120 case 723776: { if (client.Entity.Level >= 120) { if (client.Inventory.Count < 35) { client.Inventory.Add(1088001, 0, 5); //DragonBall client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 5 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 120", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion //723755, 723768, 723772 ,723774, 723776 #region PowerEXPBall case 722057: { if (client.ExpBalls < 30) { if (client.Entity.Level < 140) { client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.IncreaseExperience(client.ExpBall, false); client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.ExpBalls++; } } else client.Send(ServerBase.Constants.ExpBallsUsed); break; } #endregion #region P6SoulPack case 729994: { if (client.Entity.Level >= 10) { if (client.Inventory.Count < 31) { client.Inventory.Add(821031, 0, 1);//+8 client.Inventory.Add(820072, 0, 1); //+6 client.Inventory.Add(823055, 0, 1); //+6 client.Inventory.Add(822053, 0, 1); //+6 client.Inventory.Add(824017, 0, 1); //+6 client.Inventory.Add(722057, 0, 3); //+6 client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 9 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region P6WeaponPack case 729993: { if (client.Entity.Level >= 10) { if (client.Inventory.Count < 29) { client.Inventory.Add(800000, 0, 2);//blade client.Inventory.Add(800017, 0, 2); //katana client.Inventory.Add(800110, 0, 2); //grim client.Inventory.Add(800722, 0, 2); //holy client.Inventory.Add(800513, 0, 1); //back client.Inventory.Add(800804, 0, 1); //pistol client.Inventory.Add(800809, 0, 1); //repiar client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 11 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperVioletGemPack case 727068: { if (client.Entity.Level >= 10) { if (client.Inventory.Count < 30) { client.Inventory.Add(700053, 0, 10);//volite client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 10 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperDragonGemPack case 727100: { if (client.Entity.Level >= 10) { if (client.Inventory.Count < 30) { client.Inventory.Add(700013, 0, 10);//dragon client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 10 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperMoonGemPack case 727069: { if (client.Entity.Level >= 10) { if (client.Inventory.Count < 30) { client.Inventory.Add(700063, 0, 10);//moon client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 10 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperKylinGemPack case 727062: { if (client.Entity.Level >= 10) { if (client.Inventory.Count < 30) { client.Inventory.Add(700043, 0, 10);//kylin client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 10 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperRainbowGemPack case 727063: { if (client.Entity.Level >= 10) { if (client.Inventory.Count < 30) { client.Inventory.Add(700033, 0, 10);//Rb client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 10 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperFuryGemPack case 727064: { if (client.Entity.Level >= 10) { if (client.Inventory.Count < 30) { client.Inventory.Add(700023, 0, 10);//Fu client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 10 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperPhoenixGemPack case 727066: { if (client.Entity.Level >= 10) { if (client.Inventory.Count < 30) { client.Inventory.Add(700003, 0, 10);//Fu client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 10 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperTortoiseGemPack case 727067: { if (client.Entity.Level >= 10) { if (client.Inventory.Count < 30) { client.Inventory.Add(700073, 0, 10);//Fu client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 10 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperGloryGemPack case 727060: { if (client.Entity.Level >= 10) { if (client.Inventory.Count < 35) { client.Inventory.Add(700123, 0, 5);//Fu client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 5 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperThunderGemPack case 727061: { if (client.Entity.Level >= 10) { if (client.Inventory.Count < 35) { client.Inventory.Add(700103, 0, 5);//Fu client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 5 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region TopMoneyBag case 723723: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.Money += 500000000; break; } #endregion #region DrasgonBallScroll case 720028: { if (client.Inventory.Count <= 31) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Inventory.Add(1088000, 0, 10); } else client.Send(ServerBase.Constants.FullInventory); break; } #endregion #region DiligenceBook case 723340: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.SubClasses.StudyPoints += 5; client.Inventory.Add(723903, 0, 10); client.Send(new Message("Congratulations you got 5 study Points keep going", System.Drawing.Color.Red, Message.study)); } break; #endregion #region StudyBook[Arena/Race] case 720774: case 720775: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.SubClasses.StudyPoints += 50; client.Send(new Message("Congratulations you got 50 study Points keep going", System.Drawing.Color.Red, Message.study)); } break; #endregion #region MeteorScroll case 720027: { if (client.Inventory.Count <= 31) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Inventory.Add(1088001, 0, 10); } else client.Send(ServerBase.Constants.FullInventory); break; } #endregion #region DoubleExperiencePotion case 723017: { client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); client.Entity.DoubleExperienceTime = 3600; SyncPacket packet = new SyncPacket { Identifier = client.Entity.UID, Type = PhoenixProject.Network.GamePackets.SyncPacket.SyncType.DoubleExpTimer, Duration = 3600, Multiple = 1 * 100 }; client.Send((byte[])packet); break; } #endregion #region DoubleExperiencePotion case 728201: { client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); client.Entity.DoubleExperienceTime = 7200; SyncPacket packet = new SyncPacket { Identifier = client.Entity.UID, Type = PhoenixProject.Network.GamePackets.SyncPacket.SyncType.DoubleExpTimer, Duration = 7200, Multiple = 1 * 200 }; client.Send((byte[])packet); break; } #endregion #region NinjaAmulet case 723583: { client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); switch (client.Entity.Body % 10) { case 2: case 4: client.Entity.Body--; break; case 1: case 3: client.Entity.Body++; break; } break; } #endregion #region PrayingStone(S) case 1200000: { uint value = (uint)(3 * 24 * 60 * 60); client.AddBless(value); client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); client.Entity.Update(Network.GamePackets.Update.OnlineTraining, client.OnlineTrainingPoints, false); break; } #endregion #region PrayingStone(M) case 1200001: { uint value = (uint)(7 * 24 * 60 * 60); client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); client.AddBless(value); client.Entity.Update(Network.GamePackets.Update.OnlineTraining, client.OnlineTrainingPoints, false); break; } #endregion #region PrayingStone(L) case 1200002: { uint value = (uint)(30 * 24 * 60 * 60); client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); client.AddBless(value); client.Entity.Update(Network.GamePackets.Update.OnlineTraining, client.OnlineTrainingPoints, false); break; } #endregion #region PenitenceAmulet case 723727: case 720128: { if (client.Entity.PKPoints >= 30) { client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); client.Entity.PKPoints -= 30; } break; } #endregion #region DisguiseAmulet case 723724: { int disguise = ServerBase.Kernel.Random.Next(Database.DataHolder.Disguises.Length); ushort selected = Database.DataHolder.Disguises[disguise]; client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); bool wasTransformated = client.Entity.Transformed; if (wasTransformated) { client.Entity.Hitpoints = client.Entity.MaxHitpoints; client.Entity.TransformationID = 0; client.Entity.TransformationStamp = Time32.Now; } ushort transformation = selected; client.Entity.TransformationID = transformation; client.Entity.TransformationStamp = Time32.Now; client.Entity.TransformationTime = 110; SpellUse spellUse = new SpellUse(true); spellUse.Attacker = client.Entity.UID; spellUse.SpellID = 1360; spellUse.SpellLevel = 4; spellUse.X = client.Entity.X; spellUse.Y = client.Entity.Y; spellUse.Targets.Add(client.Entity.UID, (uint)0); client.Send(spellUse); client.Entity.TransformationMaxHP = 3000; double maxHP = client.Entity.MaxHitpoints; double HP = client.Entity.Hitpoints; double point = HP / maxHP; client.Entity.Hitpoints = (uint)(client.Entity.TransformationMaxHP * point); client.Entity.Update(Update.MaxHitpoints, client.Entity.TransformationMaxHP, false); break; } #endregion #region Chi 10 case 729252: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.ChiPoints += 10; break; } #endregion #region Chi 500 case 729242: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.ChiPoints += 500; break; } #endregion #region +8StonePack case 721222: { if (client.Entity.Level >= 10) { if (client.Inventory.Count < 38) { client.Inventory.Add(730008, 8, 1);//+8 client.Inventory.Add(730006, 6, 1); //+6 client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 2 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region ToughDrillPack case 721223: { if (client.Entity.Level >= 10) { if (client.Inventory.Count < 38) { client.Inventory.Add(1200005, 0, 1);//ToughDrill client.Inventory.Add(730003, 3, 1); //+3 client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 2 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperWarrior`sArmorPack case 721224: { uint itemid = 131069; if (client.Entity.Level >= 10) { if (client.Inventory.Count < 32) { client.Inventory.Add(1200000, 0, 1);//PrayingStone client.Inventory.Add(723700, 0, 1);//ExpBall client.Inventory.Add(723017, 0, 5); //ExpPotion ConquerItem items = new ConquerItem(true); items.ID = itemid; items.Color = PhoenixProject.Game.Enums.Color.White; items.Plus = 5; items.SocketOne = PhoenixProject.Game.Enums.Gem.EmptySocket; items.Durability = items.MaximDurability = PhoenixProject.Database.ConquerItemInformation.BaseInformations[itemid].Durability; client.Inventory.Add(items, PhoenixProject.Game.Enums.ItemUse.CreateAndAdd); client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 8 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperWarrior`sHelmetPack case 721225: { uint itemid = 111069; if (client.Entity.Level >= 10) { if (client.Inventory.Count < 32) { client.Inventory.Add(1200000, 0, 1);//PrayingStone client.Inventory.Add(723700, 0, 1);//ExpBall client.Inventory.Add(723017, 0, 5); //ExpPotion ConquerItem items = new ConquerItem(true); items.ID = itemid; items.Color = PhoenixProject.Game.Enums.Color.White; items.Plus = 5; items.SocketOne = PhoenixProject.Game.Enums.Gem.EmptySocket; items.Durability = items.MaximDurability = PhoenixProject.Database.ConquerItemInformation.BaseInformations[itemid].Durability; client.Inventory.Add(items, PhoenixProject.Game.Enums.ItemUse.CreateAndAdd); client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 8 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperTrojan`sArmorPack case 721226: { uint itemid = 130069; if (client.Entity.Level >= 10) { if (client.Inventory.Count < 32) { client.Inventory.Add(1200000, 0, 1);//PrayingStone client.Inventory.Add(723700, 0, 1);//ExpBall client.Inventory.Add(723017, 0, 5); //ExpPotion ConquerItem items = new ConquerItem(true); items.ID = itemid; items.Color = PhoenixProject.Game.Enums.Color.White; items.Plus = 5; items.SocketOne = PhoenixProject.Game.Enums.Gem.EmptySocket; items.Durability = items.MaximDurability = PhoenixProject.Database.ConquerItemInformation.BaseInformations[itemid].Durability; client.Inventory.Add(items, PhoenixProject.Game.Enums.ItemUse.CreateAndAdd); client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 8 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperTrojan`sCoronetPack case 721227: { uint itemid = 118069; if (client.Entity.Level >= 10) { if (client.Inventory.Count < 32) { client.Inventory.Add(1200000, 0, 1);//PrayingStone client.Inventory.Add(723700, 0, 1);//ExpBall client.Inventory.Add(723017, 0, 5); //ExpPotion ConquerItem items = new ConquerItem(true); items.ID = itemid; items.Color = PhoenixProject.Game.Enums.Color.White; items.Plus = 5; items.SocketOne = PhoenixProject.Game.Enums.Gem.EmptySocket; items.Durability = items.MaximDurability = PhoenixProject.Database.ConquerItemInformation.BaseInformations[itemid].Durability; client.Inventory.Add(items, PhoenixProject.Game.Enums.ItemUse.CreateAndAdd); client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 8 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperNinja`sVestPack case 721228: { uint itemid = 135069; if (client.Entity.Level >= 10) { if (client.Inventory.Count < 32) { client.Inventory.Add(1200000, 0, 1);//PrayingStone client.Inventory.Add(723700, 0, 1);//ExpBall client.Inventory.Add(723017, 0, 5); //ExpPotion ConquerItem items = new ConquerItem(true); items.ID = itemid; items.Color = PhoenixProject.Game.Enums.Color.White; items.Plus = 5; items.SocketOne = PhoenixProject.Game.Enums.Gem.EmptySocket; items.Durability = items.MaximDurability = PhoenixProject.Database.ConquerItemInformation.BaseInformations[itemid].Durability; client.Inventory.Add(items, PhoenixProject.Game.Enums.ItemUse.CreateAndAdd); client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 8 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperNinja`sVeilPack case 721229: { uint itemid = 112069; if (client.Entity.Level >= 10) { if (client.Inventory.Count < 32) { client.Inventory.Add(1200000, 0, 1);//PrayingStone client.Inventory.Add(723700, 0, 1);//ExpBall client.Inventory.Add(723017, 0, 5); //ExpPotion ConquerItem items = new ConquerItem(true); items.ID = itemid; items.Color = PhoenixProject.Game.Enums.Color.White; items.Plus = 5; items.SocketOne = PhoenixProject.Game.Enums.Gem.EmptySocket; items.Durability = items.MaximDurability = PhoenixProject.Database.ConquerItemInformation.BaseInformations[itemid].Durability; client.Inventory.Add(items, PhoenixProject.Game.Enums.ItemUse.CreateAndAdd); client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 8 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperTaoist`sRobePack case 721230: { uint itemid = 134069; if (client.Entity.Level >= 10) { if (client.Inventory.Count < 32) { client.Inventory.Add(1200000, 0, 1);//PrayingStone client.Inventory.Add(723700, 0, 1);//ExpBall client.Inventory.Add(723017, 0, 5); //ExpPotion ConquerItem items = new ConquerItem(true); items.ID = itemid; items.Color = PhoenixProject.Game.Enums.Color.White; items.Plus = 5; items.SocketOne = PhoenixProject.Game.Enums.Gem.EmptySocket; items.Durability = items.MaximDurability = PhoenixProject.Database.ConquerItemInformation.BaseInformations[itemid].Durability; client.Inventory.Add(items, PhoenixProject.Game.Enums.ItemUse.CreateAndAdd); client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 8 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperTaoist`sCapPack case 721231: { uint itemid = 114069; if (client.Entity.Level >= 10) { if (client.Inventory.Count < 32) { client.Inventory.Add(1200000, 0, 1);//PrayingStone client.Inventory.Add(723700, 0, 1);//ExpBall client.Inventory.Add(723017, 0, 5); //ExpPotion ConquerItem items = new ConquerItem(true); items.ID = itemid; items.Color = PhoenixProject.Game.Enums.Color.White; items.Plus = 5; items.SocketOne = PhoenixProject.Game.Enums.Gem.EmptySocket; items.Durability = items.MaximDurability = PhoenixProject.Database.ConquerItemInformation.BaseInformations[itemid].Durability; client.Inventory.Add(items, PhoenixProject.Game.Enums.ItemUse.CreateAndAdd); client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 8 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperArcher`sCoatPack case 721232: { uint itemid = 133049; if (client.Entity.Level >= 10) { if (client.Inventory.Count < 32) { client.Inventory.Add(1200000, 0, 1);//PrayingStone client.Inventory.Add(723700, 0, 1);//ExpBall client.Inventory.Add(723017, 0, 5); //ExpPotion ConquerItem items = new ConquerItem(true); items.ID = itemid; items.Color = PhoenixProject.Game.Enums.Color.White; items.Plus = 5; items.SocketOne = PhoenixProject.Game.Enums.Gem.EmptySocket; items.Durability = items.MaximDurability = PhoenixProject.Database.ConquerItemInformation.BaseInformations[itemid].Durability; client.Inventory.Add(items, PhoenixProject.Game.Enums.ItemUse.CreateAndAdd); client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 8 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperArcher`sHatPack case 721233: { uint itemid = 113049; if (client.Entity.Level >= 10) { if (client.Inventory.Count < 32) { client.Inventory.Add(1200000, 0, 1);//PrayingStone client.Inventory.Add(723700, 0, 1);//ExpBall client.Inventory.Add(723017, 0, 5); //ExpPotion ConquerItem items = new ConquerItem(true); items.ID = itemid; items.Color = PhoenixProject.Game.Enums.Color.White; items.Plus = 5; items.SocketOne = PhoenixProject.Game.Enums.Gem.EmptySocket; items.Durability = items.MaximDurability = PhoenixProject.Database.ConquerItemInformation.BaseInformations[itemid].Durability; client.Inventory.Add(items, PhoenixProject.Game.Enums.ItemUse.CreateAndAdd); client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 8 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperNecklacePack case 721234: { uint itemid = 120129; if (client.Entity.Level >= 10) { if (client.Inventory.Count < 32) { client.Inventory.Add(1200000, 0, 1);//PrayingStone client.Inventory.Add(723700, 0, 1);//ExpBall client.Inventory.Add(723017, 0, 5); //ExpPotion ConquerItem items = new ConquerItem(true); items.ID = itemid; items.Color = PhoenixProject.Game.Enums.Color.White; items.Plus = 5; items.SocketOne = PhoenixProject.Game.Enums.Gem.EmptySocket; items.Durability = items.MaximDurability = PhoenixProject.Database.ConquerItemInformation.BaseInformations[itemid].Durability; client.Inventory.Add(items, PhoenixProject.Game.Enums.ItemUse.CreateAndAdd); client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 8 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperRingPack case 721235: { uint itemid = 150139; if (client.Entity.Level >= 10) { if (client.Inventory.Count < 32) { client.Inventory.Add(1200000, 0, 1);//PrayingStone client.Inventory.Add(723700, 0, 1);//ExpBall client.Inventory.Add(723017, 0, 5); //ExpPotion ConquerItem items = new ConquerItem(true); items.ID = itemid; items.Color = PhoenixProject.Game.Enums.Color.White; items.Plus = 5; items.SocketOne = PhoenixProject.Game.Enums.Gem.EmptySocket; items.Durability = items.MaximDurability = PhoenixProject.Database.ConquerItemInformation.BaseInformations[itemid].Durability; client.Inventory.Add(items, PhoenixProject.Game.Enums.ItemUse.CreateAndAdd); client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 8 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperTaoist`sBagPack case 721236: { uint itemid = 121129; if (client.Entity.Level >= 10) { if (client.Inventory.Count < 32) { client.Inventory.Add(1200000, 0, 1);//PrayingStone client.Inventory.Add(723700, 0, 1);//ExpBall client.Inventory.Add(723017, 0, 5); //ExpPotion ConquerItem items = new ConquerItem(true); items.ID = itemid; items.Color = PhoenixProject.Game.Enums.Color.White; items.Plus = 5; items.SocketOne = PhoenixProject.Game.Enums.Gem.EmptySocket; items.Durability = items.MaximDurability = PhoenixProject.Database.ConquerItemInformation.BaseInformations[itemid].Durability; client.Inventory.Add(items, PhoenixProject.Game.Enums.ItemUse.CreateAndAdd); client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 8 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperTaoist`sBraceletPack case 721237: { uint itemid = 152149; if (client.Entity.Level >= 10) { if (client.Inventory.Count < 32) { client.Inventory.Add(1200000, 0, 1);//PrayingStone client.Inventory.Add(723700, 0, 1);//ExpBall client.Inventory.Add(723017, 0, 5); //ExpPotion ConquerItem items = new ConquerItem(true); items.ID = itemid; items.Color = PhoenixProject.Game.Enums.Color.White; items.Plus = 5; items.SocketOne = PhoenixProject.Game.Enums.Gem.EmptySocket; items.Durability = items.MaximDurability = PhoenixProject.Database.ConquerItemInformation.BaseInformations[itemid].Durability; client.Inventory.Add(items, PhoenixProject.Game.Enums.ItemUse.CreateAndAdd); client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 8 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperBootsPack case 721238: { uint itemid = 160139; if (client.Entity.Level >= 10) { if (client.Inventory.Count < 32) { client.Inventory.Add(1200000, 0, 1);//PrayingStone client.Inventory.Add(723700, 0, 1);//ExpBall client.Inventory.Add(723017, 0, 5); //ExpPotion ConquerItem items = new ConquerItem(true); items.ID = itemid; items.Color = PhoenixProject.Game.Enums.Color.White; items.Plus = 5; items.SocketOne = PhoenixProject.Game.Enums.Gem.EmptySocket; items.Durability = items.MaximDurability = PhoenixProject.Database.ConquerItemInformation.BaseInformations[itemid].Durability; client.Inventory.Add(items, PhoenixProject.Game.Enums.ItemUse.CreateAndAdd); client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 8 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperBladePack case 721239: { uint itemid = 410139; if (client.Entity.Level >= 10) { if (client.Inventory.Count < 32) { client.Inventory.Add(1200000, 0, 1);//PrayingStone client.Inventory.Add(723700, 0, 1);//ExpBall client.Inventory.Add(723017, 0, 5); //ExpPotion ConquerItem items = new ConquerItem(true); items.ID = itemid; items.Color = PhoenixProject.Game.Enums.Color.White; items.Plus = 5; items.SocketOne = PhoenixProject.Game.Enums.Gem.EmptySocket; items.Durability = items.MaximDurability = PhoenixProject.Database.ConquerItemInformation.BaseInformations[itemid].Durability; client.Inventory.Add(items, PhoenixProject.Game.Enums.ItemUse.CreateAndAdd); client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 8 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperSwordPack case 721240: { uint itemid = 420139; if (client.Entity.Level >= 10) { if (client.Inventory.Count < 32) { client.Inventory.Add(1200000, 0, 1);//PrayingStone client.Inventory.Add(723700, 0, 1);//ExpBall client.Inventory.Add(723017, 0, 5); //ExpPotion ConquerItem items = new ConquerItem(true); items.ID = itemid; items.Color = PhoenixProject.Game.Enums.Color.White; items.Plus = 5; items.SocketOne = PhoenixProject.Game.Enums.Gem.EmptySocket; items.Durability = items.MaximDurability = PhoenixProject.Database.ConquerItemInformation.BaseInformations[itemid].Durability; client.Inventory.Add(items, PhoenixProject.Game.Enums.ItemUse.CreateAndAdd); client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 8 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperClubPack case 721241: { uint itemid = 480139; if (client.Entity.Level >= 10) { if (client.Inventory.Count < 32) { client.Inventory.Add(1200000, 0, 1);//PrayingStone client.Inventory.Add(723700, 0, 1);//ExpBall client.Inventory.Add(723017, 0, 5); //ExpPotion ConquerItem items = new ConquerItem(true); items.ID = itemid; items.Color = PhoenixProject.Game.Enums.Color.White; items.Plus = 5; items.SocketOne = PhoenixProject.Game.Enums.Gem.EmptySocket; items.Durability = items.MaximDurability = PhoenixProject.Database.ConquerItemInformation.BaseInformations[itemid].Durability; client.Inventory.Add(items, PhoenixProject.Game.Enums.ItemUse.CreateAndAdd); client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 8 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperShieldPack case 721242: { uint itemid = 900049; if (client.Entity.Level >= 10) { if (client.Inventory.Count < 32) { client.Inventory.Add(1200000, 0, 1);//PrayingStone client.Inventory.Add(723700, 0, 1);//ExpBall client.Inventory.Add(723017, 0, 5); //ExpPotion ConquerItem items = new ConquerItem(true); items.ID = itemid; items.Color = PhoenixProject.Game.Enums.Color.White; items.Plus = 5; items.SocketOne = PhoenixProject.Game.Enums.Gem.EmptySocket; items.Durability = items.MaximDurability = PhoenixProject.Database.ConquerItemInformation.BaseInformations[itemid].Durability; client.Inventory.Add(items, PhoenixProject.Game.Enums.ItemUse.CreateAndAdd); client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 8 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperKatanaPack case 721243: { uint itemid = 601139; if (client.Entity.Level >= 10) { if (client.Inventory.Count < 32) { client.Inventory.Add(1200000, 0, 1);//PrayingStone client.Inventory.Add(723700, 0, 1);//ExpBall client.Inventory.Add(723017, 0, 5); //ExpPotion ConquerItem items = new ConquerItem(true); items.ID = itemid; items.Color = PhoenixProject.Game.Enums.Color.White; items.Plus = 5; items.SocketOne = PhoenixProject.Game.Enums.Gem.EmptySocket; items.Durability = items.MaximDurability = PhoenixProject.Database.ConquerItemInformation.BaseInformations[itemid].Durability; client.Inventory.Add(items, PhoenixProject.Game.Enums.ItemUse.CreateAndAdd); client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 8 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperBackswordPack case 721244: { uint itemid = 421139; if (client.Entity.Level >= 10) { if (client.Inventory.Count < 32) { client.Inventory.Add(1200000, 0, 1);//PrayingStone client.Inventory.Add(723700, 0, 1);//ExpBall client.Inventory.Add(723017, 0, 5); //ExpPotion ConquerItem items = new ConquerItem(true); items.ID = itemid; items.Color = PhoenixProject.Game.Enums.Color.White; items.Plus = 5; items.SocketOne = PhoenixProject.Game.Enums.Gem.EmptySocket; items.Durability = items.MaximDurability = PhoenixProject.Database.ConquerItemInformation.BaseInformations[itemid].Durability; client.Inventory.Add(items, PhoenixProject.Game.Enums.ItemUse.CreateAndAdd); client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 8 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #region SuperBowPack case 721245: { uint itemid = 500129; if (client.Entity.Level >= 10) { if (client.Inventory.Count < 32) { client.Inventory.Add(1200000, 0, 1);//PrayingStone client.Inventory.Add(723700, 0, 1);//ExpBall client.Inventory.Add(723017, 0, 5); //ExpPotion ConquerItem items = new ConquerItem(true); items.ID = itemid; items.Color = PhoenixProject.Game.Enums.Color.White; items.Plus = 5; items.SocketOne = PhoenixProject.Game.Enums.Gem.EmptySocket; items.Durability = items.MaximDurability = PhoenixProject.Database.ConquerItemInformation.BaseInformations[itemid].Durability; client.Inventory.Add(items, PhoenixProject.Game.Enums.ItemUse.CreateAndAdd); client.Inventory.Remove(item, PhoenixProject.Game.Enums.ItemUse.Remove); } else client.Send(new Message("You need to make atleast 8 free spots in your inventory.", System.Drawing.Color.Red, Message.TopLeft)); } else client.Send(new Message("You must be atleast level 10 to open the Pack", System.Drawing.Color.Red, Message.TopLeft)); break; } #endregion #endregion #region SkillBooks case 725000: { if (client.Entity.Spirit >= 20) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 1000 }); } else { client.Send(new Message("You need atleast 20 spirit!", System.Drawing.Color.Tan, Message.TopLeft)); } break; } case 725001: { if (client.Entity.Spirit >= 80) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 1001 }); } else { client.Send(new Message("You need atleast 80 spirit!", System.Drawing.Color.Tan, Message.TopLeft)); } break; } case 725002: { if (client.Entity.Class >= 140 && client.Entity.Class <= 145 && client.Entity.Level >= 90) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 1002 }); } break; } case 725003: { if (client.Entity.Spirit >= 30) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 1005 }); } break; } case 725004: { if (client.Entity.Class >= 130 && client.Entity.Class <= 135 || client.Entity.Class >= 140 && client.Entity.Class <= 145 && client.Entity.Level >= 15 || client.Entity.Class == 100 || client.Entity.Class == 101) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 1010 }); } break; } case 725005: { if (client.Entity.Level >= 40) { if (client.Proficiencies.ContainsKey((ushort)Database.SpellTable.SpellInformations[1045][0].WeaponSubtype)) if (client.Proficiencies[(ushort)Database.SpellTable.SpellInformations[1045][0].WeaponSubtype].Level >= 5) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 1045 }); } else { client.Send(new Message("You need level 5 at blade proficiency!", System.Drawing.Color.Tan, Message.TopLeft)); } } break; } case 721158: { if (client.Entity.Level >= 40) { if (client.Proficiencies.ContainsKey((ushort)Database.SpellTable.SpellInformations[11005][0].WeaponSubtype)) if (client.Proficiencies[(ushort)Database.SpellTable.SpellInformations[11005][0].WeaponSubtype].Level >= 5) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 11005 }); } else { client.Send(new Message("You need level 5 at Spear proficiency!", System.Drawing.Color.Tan, Message.TopLeft)); } } break; } case 721157: { if (client.Entity.Level >= 40) { if (client.Proficiencies.ContainsKey((ushort)Database.SpellTable.SpellInformations[11000][0].WeaponSubtype)) if (client.Proficiencies[(ushort)Database.SpellTable.SpellInformations[11000][0].WeaponSubtype].Level >= 5) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 11000 }); } else { client.Send(new Message("You need level 5 at Wand proficiency!", System.Drawing.Color.Tan, Message.TopLeft)); } } break; } case 725010: { if (client.Entity.Level >= 40) { if (client.Proficiencies.ContainsKey((ushort)Database.SpellTable.SpellInformations[1046][0].WeaponSubtype)) if (client.Proficiencies[(ushort)Database.SpellTable.SpellInformations[1046][0].WeaponSubtype].Level >= 5) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 1046 }); } else { client.Send(new Message("You need level 5 at sword proficiency!", System.Drawing.Color.Tan, Message.TopLeft)); } } break; } case 725011: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 1250 }); break; } case 725012: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 1260 }); break; } case 725013: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 1290 }); break; } case 725014: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 1300 }); break; } case 725015: { if (client.Entity.Class >= 130 && client.Entity.Class <= 135) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 1350 }); } break; } case 725016: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 1360 }); break; } case 725018: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 1380 }); break; } case 725019: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 1385 }); break; } case 725020: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 1390 }); break; } case 725021: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 1395 }); break; } case 725022: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 1400 }); break; } case 725023: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 1405 }); break; } case 725024: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 1410 }); break; } case 725025: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 1320 }); break; } case 725026: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 5010 }); break; } case 725027: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 5020 }); break; } case 725028: { if (client.Entity.Class >= 130 && client.Entity.Class <= 135 || client.Entity.Class >= 140 && client.Entity.Class <= 145) client.AddSpell(new Spell(true) { ID = 5001 }); client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); break; } case 725029: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 5030 }); break; } case 725030: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 5040 }); break; } case 725031: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 5050 }); break; } case 725040: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 7000 }); break; } case 725041: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 7010 }); break; } case 725042: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 7020 }); break; } case 725043: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 7030 }); break; } case 725044: { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 7040 }); break; } case 1060100: { if (client.Entity.Class >= 140 && client.Entity.Class <= 145 && client.Entity.Level >= 82) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 1160 }); } break; } case 1060101: { if (client.Entity.Class >= 140 && client.Entity.Class <= 145 && client.Entity.Level >= 84) { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.AddSpell(new Spell(true) { ID = 1165 }); } break; } #endregion #region Refinery Packs case 723130: case 723131: case 723132: case 723133: case 723134: case 723135: case 723651: case 723652: case 723653: case 723654: case 723655: case 723656: case 723657: case 723658: case 723659: case 723660: case 723661: case 723662: case 723663: case 723664: case 723665: case 723666: case 723667: case 723668: case 723669: case 723670: case 723671: case 723672: case 723673: case 723674: case 723675: case 723676: case 723677: case 723678: case 723679: case 723680: case 723681: case 723682: case 723683: case 723684: case 723685: case 723686: case 723690: case 723691: case 723692: case 724130: case 724131: case 724132: case 724133: case 724134: case 724135: case 724136: case 724137: case 724138: case 724139: case 724140: case 724141: case 724142: case 724143: case 724144: case 724145: case 724146: case 724147: case 724148: case 724149: case 724150: case 724151: case 724152: case 724153: case 724154: case 724155: case 724156: case 724157: case 724158: case 724159: case 724160: case 724161: case 724162: case 724163: case 724164: case 724165: case 724166: case 724167: case 724168: case 724169: case 724170: case 724171: case 724172: case 724173: case 724174: case 724175: case 724176: case 724177: case 724178: case 724179: case 724180: case 724181: case 724182: case 724183: case 724184: case 724185: case 724186: case 724190: case 724191: case 724192: case 724193: case 724194: case 724195: case 724196: case 724197: case 724198: case 724199: case 724200: case 724201: case 724202: case 724203: case 724204: case 724205: case 724207: case 724208: case 724210: case 724211: case 724212: case 724215: case 725055: case 725056: case 725057: case 725058: case 725160: case 725161: case 725162: case 725163: case 725164: case 725165: case 725166: case 725167: case 725168: case 725169: case 725170: case 725171: GainRefineryItem(item, client); break; #endregion #region FireWorks case 720030://firework { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); _String str = new _String(true); str.UID = client.Entity.UID; str.TextsCount = 1; str.Type = _String.Effect; str.Texts.Add("zf2-e290"); client.SendScreen(str, true); break; } case 720031://EndlessLove { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); _String str = new _String(true); str.UID = client.Entity.UID; str.TextsCount = 1; str.Type = _String.Effect; str.Texts.Add("zf2-e355"); client.SendScreen(str, true); break; } case 720032://MyWish { client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); _String str = new _String(true); str.UID = client.Entity.UID; str.TextsCount = 1; str.Type = _String.Effect; str.Texts.Add("zf2-e240"); client.SendScreen(str, true); break; } #endregion #region Demon Boxs #region 10cps case 720650: { Database.MonsterInformation monster = new PhoenixProject.Database.MonsterInformation(); // monster.Boss = true; monster.Hitpoints = 33; monster.Level = 10; monster.Mesh = 368; monster.Name = "Demon"; monster.MaxAttack = 100; monster.AttackRange = 5; monster.AttackType = 2; monster.AttackSpeed = 1000; monster.ViewRange = 2; monster.MoveSpeed = 500; monster.RunSpeed = 500; monster.MinAttack = 100; Game.Entity entity = new Game.Entity(Game.EntityFlag.Monster, false); entity.MapObjType = Game.MapObjectType.Monster; entity.MonsterInfo = monster; entity.MonsterInfo.Owner = entity; entity.Name = "Demon"; entity.MinAttack = monster.MinAttack; entity.MaxAttack = entity.MagicAttack = monster.MaxAttack; entity.Hitpoints = entity.MaxHitpoints = monster.Hitpoints; entity.Body = monster.Mesh; entity.Level = monster.Level; entity.Defence = 100; entity.X = client.Entity.X; entity.Y = client.Entity.Y; entity.EntityFlag = PhoenixProject.Game.EntityFlag.Monster; entity.UID = (uint)ServerBase.Kernel.Random.Next(500000, 500050); entity.MapID = client.Entity.MapID; entity.SendUpdates = true; Network.GamePackets._String stringPacket = new PhoenixProject.Network.GamePackets._String(true); stringPacket.UID = monster.ID; stringPacket.Type = Network.GamePackets._String.Effect; stringPacket.Texts.Add("MBStandard"); client.Map.RemoveEntity(entity); client.Map.AddEntity(entity); client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); break; } #endregion #region 50cps case 720651: { Database.MonsterInformation monster = new PhoenixProject.Database.MonsterInformation(); // monster.Boss = true; monster.Hitpoints = 33; monster.Level = 20; monster.Mesh = 369; monster.Name = "AncientDemon"; monster.MaxAttack = 100; monster.AttackRange = 5; monster.AttackType = 2; monster.AttackSpeed = 1000; monster.ViewRange = 2; monster.MoveSpeed = 500; monster.RunSpeed = 500; monster.MinAttack = 100; Game.Entity entity = new Game.Entity(Game.EntityFlag.Monster, false); entity.MapObjType = Game.MapObjectType.Monster; entity.MonsterInfo = monster; entity.MonsterInfo.Owner = entity; entity.Name = "AncientDemon"; entity.MinAttack = monster.MinAttack; entity.MaxAttack = entity.MagicAttack = monster.MaxAttack; entity.Hitpoints = entity.MaxHitpoints = monster.Hitpoints; entity.Body = monster.Mesh; entity.Level = monster.Level; entity.Defence = 100; entity.X = client.Entity.X; entity.Y = client.Entity.Y; entity.EntityFlag = PhoenixProject.Game.EntityFlag.Monster; entity.UID = (uint)ServerBase.Kernel.Random.Next(500060, 500110); entity.MapID = client.Entity.MapID; entity.SendUpdates = true; client.Map.RemoveEntity(entity); Network.GamePackets._String stringPacket = new PhoenixProject.Network.GamePackets._String(true); stringPacket.UID = monster.ID; stringPacket.Type = Network.GamePackets._String.Effect; stringPacket.Texts.Add("MBStandard"); client.Map.AddEntity(entity); client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); break; } #endregion #region 100cps case 720652: { Database.MonsterInformation monster = new PhoenixProject.Database.MonsterInformation(); // monster.Boss = true; monster.Hitpoints = 33; monster.Level = 30; monster.Mesh = 377; monster.Name = "FloodDemon"; monster.MaxAttack = 100; monster.AttackRange = 5; monster.AttackType = 2; monster.AttackSpeed = 1000; monster.ViewRange = 2; monster.MoveSpeed = 500; monster.RunSpeed = 500; monster.MinAttack = 100; Game.Entity entity = new Game.Entity(Game.EntityFlag.Monster, false); entity.MapObjType = Game.MapObjectType.Monster; entity.MonsterInfo = monster; entity.MonsterInfo.Owner = entity; entity.Name = "FloodDemon"; entity.MinAttack = monster.MinAttack; entity.MaxAttack = entity.MagicAttack = monster.MaxAttack; entity.Hitpoints = entity.MaxHitpoints = monster.Hitpoints; entity.Body = monster.Mesh; entity.Level = monster.Level; entity.Defence = 100; entity.X = client.Entity.X; entity.Y = client.Entity.Y; entity.EntityFlag = PhoenixProject.Game.EntityFlag.Monster; entity.UID = (uint)ServerBase.Kernel.Random.Next(500120, 500160); entity.MapID = client.Entity.MapID; entity.SendUpdates = true; client.Map.RemoveEntity(entity); Network.GamePackets._String stringPacket = new PhoenixProject.Network.GamePackets._String(true); stringPacket.UID = monster.ID; stringPacket.Type = Network.GamePackets._String.Effect; stringPacket.Texts.Add("MBStandard"); client.Map.AddEntity(entity); client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); break; } #endregion #region 500cps case 720671: { Database.MonsterInformation monster = new PhoenixProject.Database.MonsterInformation(); // monster.Boss = true; monster.Hitpoints = 33; monster.Level = 40; monster.Mesh = 400; monster.Name = "HeavenDemon"; monster.MaxAttack = 100; monster.AttackRange = 5; monster.AttackType = 2; monster.AttackSpeed = 1000; monster.ViewRange = 2; monster.MoveSpeed = 500; monster.RunSpeed = 500; monster.MinAttack = 100; Game.Entity entity = new Game.Entity(Game.EntityFlag.Monster, false); entity.MapObjType = Game.MapObjectType.Monster; entity.MonsterInfo = monster; entity.MonsterInfo.Owner = entity; entity.Name = "HeavenDemon"; entity.MinAttack = monster.MinAttack; entity.MaxAttack = entity.MagicAttack = monster.MaxAttack; entity.Hitpoints = entity.MaxHitpoints = monster.Hitpoints; entity.Body = monster.Mesh; entity.Level = monster.Level; entity.Defence = 100; entity.X = client.Entity.X; entity.Y = client.Entity.Y; entity.EntityFlag = PhoenixProject.Game.EntityFlag.Monster; entity.UID = (uint)ServerBase.Kernel.Random.Next(500200, 500250); entity.MapID = client.Entity.MapID; entity.SendUpdates = true; client.Map.RemoveEntity(entity); Network.GamePackets._String stringPacket = new PhoenixProject.Network.GamePackets._String(true); stringPacket.UID = monster.ID; stringPacket.Type = Network.GamePackets._String.Effect; stringPacket.Texts.Add("MBStandard"); client.Map.AddEntity(entity); client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); break; } #endregion #region 1000cps case 720672: { Database.MonsterInformation monster = new PhoenixProject.Database.MonsterInformation(); // monster.Boss = true; monster.Hitpoints = 33; monster.Level = 50; monster.Mesh = 404; monster.Name = "ChaosDemon"; monster.MaxAttack = 100; monster.AttackRange = 5; monster.AttackType = 2; monster.AttackSpeed = 1000; monster.ViewRange = 2; monster.MoveSpeed = 500; monster.RunSpeed = 500; monster.MinAttack = 100; Game.Entity entity = new Game.Entity(Game.EntityFlag.Monster, false); entity.MapObjType = Game.MapObjectType.Monster; entity.MonsterInfo = monster; entity.MonsterInfo.Owner = entity; entity.Name = "ChaosDemon"; entity.MinAttack = monster.MinAttack; entity.MaxAttack = entity.MagicAttack = monster.MaxAttack; entity.Hitpoints = entity.MaxHitpoints = monster.Hitpoints; entity.Body = monster.Mesh; entity.Level = monster.Level; entity.Defence = 100; entity.X = client.Entity.X; entity.Y = client.Entity.Y; entity.EntityFlag = PhoenixProject.Game.EntityFlag.Monster; entity.UID = (uint)ServerBase.Kernel.Random.Next(500300, 500350); entity.MapID = client.Entity.MapID; entity.SendUpdates = true; client.Map.RemoveEntity(entity); Network.GamePackets._String stringPacket = new PhoenixProject.Network.GamePackets._String(true); stringPacket.UID = monster.ID; stringPacket.Type = Network.GamePackets._String.Effect; stringPacket.Texts.Add("MBStandard"); client.Map.AddEntity(entity); client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); break; } #endregion #region SwordsMaster case 720842: { if (client.Entity.UID == client.Entity.MapID) { if (client.Entity.Quest == 0) { Database.MonsterInformation monster = new PhoenixProject.Database.MonsterInformation(); // monster.Boss = true; monster.Hitpoints = 15000000; monster.Level = 140; monster.Mesh = 953; monster.Name = "SwordMaster"; monster.MaxAttack = 100; monster.AttackRange = 5; monster.AttackType = 2; monster.SpellID = 9966; monster.AttackSpeed = 5000; monster.ViewRange = 2; monster.MoveSpeed = 500; monster.RunSpeed = 500; monster.MinAttack = 100; Game.Entity entity = new Game.Entity(Game.EntityFlag.Monster, false); entity.MapObjType = Game.MapObjectType.Monster; entity.MonsterInfo = monster; entity.MonsterInfo.Owner = entity; entity.Name = "SwordMaster"; entity.MinAttack = monster.MinAttack; entity.MaxAttack = entity.MagicAttack = monster.MaxAttack; entity.Hitpoints = entity.MaxHitpoints = monster.Hitpoints; entity.Body = monster.Mesh; entity.Level = monster.Level; entity.Defence = 10000; entity.X = client.Entity.X; entity.Y = client.Entity.Y; entity.EntityFlag = PhoenixProject.Game.EntityFlag.Monster; entity.UID = (uint)ServerBase.Kernel.Random.Next(600300, 690350); entity.MapID = client.Entity.MapID; entity.SendUpdates = true; client.Map.RemoveEntity(entity); Network.GamePackets._String stringPacket = new PhoenixProject.Network.GamePackets._String(true); stringPacket.UID = monster.ID; stringPacket.Type = Network.GamePackets._String.Effect; stringPacket.Texts.Add("MBStandard"); client.Map.AddEntity(entity); client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); client.Entity.Quest = 1; } else { client.Send(ServerBase.Constants.Swords2); } } else { client.Send(ServerBase.Constants.Swords1); } break; } #endregion #endregion /*#region House case 721189://itembox { if (Database.MapsTable.MapInformations[(ushort)client.Entity.UID].Owner == client.Entity.UID) { if (Database.MapsTable.MapInformations[client.Entity.UID].Box == 0) { Game.House.AddBox(client); client.Entity.Teleport(1002, 450, 350); client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); } else { Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "Sorry you can only set one itembox in your house!"); npc.OptionID = 255; client.Send(npc.ToArray()); } } else { Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "Sorry you can only set itembox in your house lvl 2!"); npc.OptionID = 255; client.Send(npc.ToArray()); } break; } #endregion*/ } client.Entity.UseItem = false; client.SpiltStack = false; //if (item.StackSize > 1) //{ // item.StackSize -= 1; // if (client.Inventory.ContainsUID(item.UID)) // client.Inventory.Remove(item, Game.Enums.ItemUse.Remove); // client.Inventory.Add(item, Game.Enums.ItemUse.CreateAndAdd); // Database.ConquerItemTable.UpdateStack(item); //} }