الناس الي عامله سيرفيرات صعبه اتحتاج الانبي سي ده
انبي سي اسطفات +4 مقيده
افتح ملف
npc.cs
وضيف دول
#region StuffBound case 2205584: { switch (npcRequest.OptionID) { case 0: { dialog.Text("I am the BattleGhost, i can help you to claim Bound Gears if u have?"); dialog.Text("then Pick what Pack you want to Claim, Are You Ready?"); dialog.Option("Ninja Pack.", 1); dialog.Option("Trojan Pack.", 2); dialog.Option("Monk Pack.", 3); dialog.Option("Archer Pack.", 4); dialog.Option("FireTaoist Pack.", 5); dialog.Option("WaterTaoist Pack.", 6); dialog.Option("Warrior Pack.", 7); dialog.Option("Pirate Pack.", 8); dialog.Option("LeeLong Pack.", 9); dialog.Send(); break; } case 1: { if (client.Entity.ConquerPoints >= 0) { //(720356, 0, 1);//MerryPack dialog.Text("are you sure you want this Ninja Pack ?"); dialog.Option("Sure.", 55); dialog.Option("Wait a minute.", 255); dialog.Send(); } else { dialog.Text("sorry you dont have Placesin your Bag."); dialog.Option("Alright.", 255); dialog.Send(); } break; } case 2: { if (client.Entity.ConquerPoints >= 0) { //(720356, 0, 1);//MerryPack dialog.Text("are you sure you want this Trojan Pack ?"); dialog.Option("Sure.", 15); dialog.Option("Wait a minute.", 255); dialog.Send(); } else { dialog.Text("sorry you dont have Placesin your Bag."); dialog.Option("Alright.", 255); dialog.Send(); } break; } case 3: { if (client.Entity.ConquerPoints >= 0) { //(720356, 0, 1);//MerryPack dialog.Text("are you sure you want this Monk Pack ?"); dialog.Option("Sure.", 65); dialog.Option("Wait a minute.", 255); dialog.Send(); } else { dialog.Text("sorry you dont have Placesin your Bag."); dialog.Option("Alright.", 255); dialog.Send(); } break; } case 4: { if (client.Entity.ConquerPoints >= 0) { //(720356, 0, 1);//MerryPack dialog.Text("are you sure you want this Archer Pack ?"); dialog.Option("Sure.", 45); dialog.Option("Wait a minute.", 255); dialog.Send(); } else { dialog.Text("sorry you dont have Placesin your Bag."); dialog.Option("Alright.", 255); dialog.Send(); } break; } case 5: { if (client.Entity.ConquerPoints >= 0) { //(720356, 0, 1);//MerryPack dialog.Text("are you sure you want this FireTaoist Pack ?"); dialog.Option("Sure.", 145); dialog.Option("Wait a minute.", 255); dialog.Send(); } else { dialog.Text("sorry you dont have Placesin your Bag."); dialog.Option("Alright.", 255); dialog.Send(); } break; } case 6: { if (client.Entity.ConquerPoints >= 0) { //(720356, 0, 1);//MerryPack dialog.Text("are you sure you want this WaterTaoist Pack ?"); dialog.Option("Sure.", 135); dialog.Option("Wait a minute.", 255); dialog.Send(); } else { dialog.Text("sorry you dont have Placesin your Bag."); dialog.Option("Alright.", 255); dialog.Send(); } break; } case 7: { if (client.Entity.ConquerPoints >= 0) { //(720356, 0, 1);//MerryPack dialog.Text("are you sure you want this Warrior Pack ?"); dialog.Option("Sure.", 25); dialog.Option("Wait a minute.", 255); dialog.Send(); } else { dialog.Text("sorry you dont have Placesin your Bag."); dialog.Option("Alright.", 255); dialog.Send(); } break; } case 8: { if (client.Entity.ConquerPoints >= 0) { //(720356, 0, 1);//MerryPack dialog.Text("are you sure you want this Pirate Pack ?"); dialog.Option("Sure.", 75); dialog.Option("Wait a minute.", 255); dialog.Send(); } else { dialog.Text("sorry you dont have Placesin your Bag."); dialog.Option("Alright.", 255); dialog.Send(); } break; } #region BoundItems Trojan case 15: { uint itemid = 202009;//Tower uint itemid2 = 201009;//Fan uint itemid3 = 160019;//Boot uint itemid4 = 120029;//Necklace uint itemid5 = 150019;//Ring uint itemid6 = 117009;//Earrings uint itemid7 = 130009;//Armor uint itemid8 = 480019;//Club uint itemid9 = 410019;//Blade uint itemid10 = 204009;//wing if (client.Inventory.Count <= 30) { if (client.Entity.ConquerPoints >= 0) { ConquerItem item2 = new ConquerItem(true); item2.ID = itemid2; item2.Color = MrHero.Game.Enums.Color.White; item2.Bound = true; item2.Plus = 4; item2.Durability = item2.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid2].Durability; client.Inventory.Add(item2, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item3 = new ConquerItem(true); item3.ID = itemid3; item3.Color = MrHero.Game.Enums.Color.White; item3.Bound = true; item3.Plus = 4; item3.Durability = item3.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid3].Durability; client.Inventory.Add(item3, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item4 = new ConquerItem(true); item4.ID = itemid4; item4.Color = MrHero.Game.Enums.Color.White; item4.Bound = true; item4.Plus = 4; item4.Durability = item4.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid4].Durability; client.Inventory.Add(item4, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item5 = new ConquerItem(true); item5.ID = itemid5; item5.Color = MrHero.Game.Enums.Color.White; item5.Bound = true; item5.Plus = 4; item5.Durability = item5.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid5].Durability; client.Inventory.Add(item5, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item6 = new ConquerItem(true); item6.ID = itemid6; item6.Color = MrHero.Game.Enums.Color.White; item6.Bound = true; item6.Plus = 4; item6.Durability = item6.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid6].Durability; client.Inventory.Add(item6, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item7 = new ConquerItem(true); item7.ID = itemid7; item7.Color = MrHero.Game.Enums.Color.White; item7.Bound = true; item7.Plus = 4; item7.Durability = item7.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid7].Durability; client.Inventory.Add(item7, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item8 = new ConquerItem(true); item8.ID = itemid8; item8.Color = MrHero.Game.Enums.Color.White; item8.Bound = true; item8.Plus = 4; item8.Durability = item8.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid8].Durability; client.Inventory.Add(item8, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item9 = new ConquerItem(true); item9.ID = itemid9; item9.Color = MrHero.Game.Enums.Color.White; item9.Bound = true; item9.Plus = 4; item9.Durability = item9.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid9].Durability; client.Inventory.Add(item9, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item10 = new ConquerItem(true); item10.ID = itemid10; item10.Color = MrHero.Game.Enums.Color.White; item10.Bound = true; item10.Plus = 4; item10.Durability = item10.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid10].Durability; client.Inventory.Add(item10, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item = new ConquerItem(true); item.ID = itemid; item.Color = MrHero.Game.Enums.Color.White; item.Bound = true; item.Plus = 4; item.Durability = item.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid].Durability; if (client.Inventory.Add(item, MrHero.Game.Enums.ItemUse.CreateAndAdd)) { client.Inventory.Remove(720356, 1); Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "you have obtained Trojan Pack Have Fun in Classic-Co?"); npc.OptionID = 255; client.Send(npc.ToArray()); } else { dialog.Text("You need atleast one free slot in your inventory."); dialog.Option("Alright.", 255); dialog.Send(); } } else { dialog.Text("sorry you dont have Placesin your Bag ."); dialog.Option("Alright.", 255); dialog.Send(); } } else { dialog.Text("You need to make atleast 10 free spots in your inventory."); dialog.Option("Alright.", 255); dialog.Send(); } break; } #endregion #region BoundItems Warrior case 25: { uint itemid = 202009;//Tower uint itemid2 = 201009;//Fan uint itemid3 = 160019;//Boot uint itemid4 = 120029;//Necklace uint itemid5 = 150019;//Ring uint itemid6 = 117009;//Earrings uint itemid7 = 131009;//Armor uint itemid8 = 480019;//Club uint itemid9 = 900009;//Shield uint itemid10 = 204009;//wing if (client.Inventory.Count <= 30) { if (client.Entity.ConquerPoints >= 0) { ConquerItem item2 = new ConquerItem(true); item2.ID = itemid2; item2.Color = MrHero.Game.Enums.Color.White; item2.Bound = true; item2.Plus = 4; item2.Durability = item2.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid2].Durability; client.Inventory.Add(item2, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item3 = new ConquerItem(true); item3.ID = itemid3; item3.Color = MrHero.Game.Enums.Color.White; item3.Bound = true; item3.Plus = 4; item3.Durability = item3.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid3].Durability; client.Inventory.Add(item3, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item4 = new ConquerItem(true); item4.ID = itemid4; item4.Color = MrHero.Game.Enums.Color.White; item4.Bound = true; item4.Plus = 4; item4.Durability = item4.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid4].Durability; client.Inventory.Add(item4, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item5 = new ConquerItem(true); item5.ID = itemid5; item5.Color = MrHero.Game.Enums.Color.White; item5.Bound = true; item5.Plus = 4; item5.Durability = item5.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid5].Durability; client.Inventory.Add(item5, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item6 = new ConquerItem(true); item6.ID = itemid6; item6.Color = MrHero.Game.Enums.Color.White; item6.Bound = true; item6.Plus = 4; item6.Durability = item6.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid6].Durability; client.Inventory.Add(item6, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item7 = new ConquerItem(true); item7.ID = itemid7; item7.Color = MrHero.Game.Enums.Color.White; item7.Bound = true; item7.Plus = 4; item7.Durability = item7.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid7].Durability; client.Inventory.Add(item7, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item8 = new ConquerItem(true); item8.ID = itemid8; item8.Color = MrHero.Game.Enums.Color.White; item8.Bound = true; item8.Plus = 4; item8.Durability = item8.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid8].Durability; client.Inventory.Add(item8, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item9 = new ConquerItem(true); item9.ID = itemid9; item9.Color = MrHero.Game.Enums.Color.White; item9.Bound = true; item9.Plus = 4; item9.Durability = item9.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid9].Durability; client.Inventory.Add(item9, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item10 = new ConquerItem(true); item10.ID = itemid10; item10.Color = MrHero.Game.Enums.Color.White; item10.Bound = true; item10.Plus = 4; item10.Durability = item10.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid10].Durability; client.Inventory.Add(item10, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item = new ConquerItem(true); item.ID = itemid; item.Color = MrHero.Game.Enums.Color.White; item.Bound = true; item.Plus = 4; item.Durability = item.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid].Durability; if (client.Inventory.Add(item, MrHero.Game.Enums.ItemUse.CreateAndAdd)) { client.Inventory.Remove(720356, 1); Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "you have obtained Warrior Pack HaveFun in Classic-Co?"); npc.OptionID = 255; client.Send(npc.ToArray()); } else { dialog.Text("You need atleast one free slot in your inventory."); dialog.Option("Alright.", 255); dialog.Send(); } } else { dialog.Text("sorry you dont have Placesin your Bag ."); dialog.Option("Alright.", 255); dialog.Send(); } } else { dialog.Text("You need to make atleast 10 free spots in your inventory."); dialog.Option("Alright.", 255); dialog.Send(); } break; } #endregion #region BoundItems Archer case 45: { uint itemid = 202009;//Tower uint itemid2 = 201009;//Fan uint itemid3 = 160019;//Boot uint itemid4 = 120029;//Necklace uint itemid5 = 150019;//Ring uint itemid6 = 117009;//Earrings uint itemid7 = 133009;//Armor uint itemid8 = 500009;//Bow //uint itemid9 = 900009;//Shield uint itemid10 = 204009;//wing if (client.Inventory.Count <= 30) { if (client.Entity.ConquerPoints >= 0) { ConquerItem item2 = new ConquerItem(true); item2.ID = itemid2; item2.Color = MrHero.Game.Enums.Color.White; item2.Bound = true; item2.Plus = 4; item2.Durability = item2.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid2].Durability; client.Inventory.Add(item2, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item3 = new ConquerItem(true); item3.ID = itemid3; item3.Color = MrHero.Game.Enums.Color.White; item3.Bound = true; item3.Plus = 4; item3.Durability = item3.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid3].Durability; client.Inventory.Add(item3, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item4 = new ConquerItem(true); item4.ID = itemid4; item4.Color = MrHero.Game.Enums.Color.White; item4.Bound = true; item4.Plus = 4; item4.Durability = item4.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid4].Durability; client.Inventory.Add(item4, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item5 = new ConquerItem(true); item5.ID = itemid5; item5.Color = MrHero.Game.Enums.Color.White; item5.Bound = true; item5.Plus = 4; item5.Durability = item5.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid5].Durability; client.Inventory.Add(item5, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item6 = new ConquerItem(true); item6.ID = itemid6; item6.Color = MrHero.Game.Enums.Color.White; item6.Bound = true; item6.Plus = 4; item6.Durability = item6.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid6].Durability; client.Inventory.Add(item6, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item7 = new ConquerItem(true); item7.ID = itemid7; item7.Color = MrHero.Game.Enums.Color.White; item7.Bound = true; item7.Plus = 4; item7.Durability = item7.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid7].Durability; client.Inventory.Add(item7, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item8 = new ConquerItem(true); item8.ID = itemid8; item8.Color = MrHero.Game.Enums.Color.White; item8.Bound = true; item8.Plus = 4; item8.Durability = item8.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid8].Durability; client.Inventory.Add(item8, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item = new ConquerItem(true); item.ID = itemid; item.Color = MrHero.Game.Enums.Color.White; item.Bound = true; item.Plus = 4; item.Durability = item.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid].Durability; if (client.Inventory.Add(item, MrHero.Game.Enums.ItemUse.CreateAndAdd)) { client.Inventory.Remove(720356, 1); Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "you have obtained Archer Pack HaveFun in Classic-Co?"); npc.OptionID = 255; client.Send(npc.ToArray()); } else { dialog.Text("You need atleast one free slot in your inventory."); dialog.Option("Alright.", 255); dialog.Send(); } } else { dialog.Text("sorry you dont have Placesin your Bag ."); dialog.Option("Alright.", 255); dialog.Send(); } } else { dialog.Text("You need to make atleast 10 free spots in your inventory."); dialog.Option("Alright.", 255); dialog.Send(); } break; } #endregion #region BoundItems Ninja case 55: { uint itemid = 202009;//Tower uint itemid2 = 201009;//Fan uint itemid3 = 160019;//Boot uint itemid4 = 120029;//Necklace uint itemid5 = 150019;//Ring uint itemid6 = 117009;//Earrings uint itemid7 = 135009;//Armor uint itemid8 = 601019;//Katana uint itemid9 = 601019;//Katana uint itemid10 = 204009;//wing if (client.Inventory.Count <= 30) { if (client.Entity.ConquerPoints >= 0) { ConquerItem item2 = new ConquerItem(true); item2.ID = itemid2; item2.Color = MrHero.Game.Enums.Color.White; item2.Bound = true; item2.Plus = 4; item2.Durability = item2.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid2].Durability; client.Inventory.Add(item2, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item3 = new ConquerItem(true); item3.ID = itemid3; item3.Color = MrHero.Game.Enums.Color.White; item3.Bound = true; item3.Plus = 4; item3.Durability = item3.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid3].Durability; client.Inventory.Add(item3, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item4 = new ConquerItem(true); item4.ID = itemid4; item4.Color = MrHero.Game.Enums.Color.White; item4.Bound = true; item4.Plus = 4; item4.Durability = item4.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid4].Durability; client.Inventory.Add(item4, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item5 = new ConquerItem(true); item5.ID = itemid5; item5.Color = MrHero.Game.Enums.Color.White; item5.Bound = true; item5.Plus = 4; item5.Durability = item5.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid5].Durability; client.Inventory.Add(item5, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item6 = new ConquerItem(true); item6.ID = itemid6; item6.Color = MrHero.Game.Enums.Color.White; item6.Bound = true; item6.Plus = 4; item6.Durability = item6.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid6].Durability; client.Inventory.Add(item6, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item7 = new ConquerItem(true); item7.ID = itemid7; item7.Color = MrHero.Game.Enums.Color.White; item7.Bound = true; item7.Plus = 4; item7.Durability = item7.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid7].Durability; client.Inventory.Add(item7, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item8 = new ConquerItem(true); item8.ID = itemid8; item8.Color = MrHero.Game.Enums.Color.White; item8.Bound = true; item8.Plus = 4; item8.Durability = item8.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid8].Durability; client.Inventory.Add(item8, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item9 = new ConquerItem(true); item9.ID = itemid9; item9.Color = MrHero.Game.Enums.Color.White; item9.Bound = true; item9.Plus = 4; item9.Durability = item9.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid9].Durability; client.Inventory.Add(item9, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item10 = new ConquerItem(true); item10.ID = itemid10; item10.Color = MrHero.Game.Enums.Color.White; item10.Bound = true; item10.Plus = 4; item10.Durability = item10.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid10].Durability; client.Inventory.Add(item10, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item = new ConquerItem(true); item.ID = itemid; item.Color = MrHero.Game.Enums.Color.White; item.Bound = true; item.Plus = 4; item.Durability = item.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid].Durability; if (client.Inventory.Add(item, MrHero.Game.Enums.ItemUse.CreateAndAdd)) { client.Inventory.Remove(720356, 1); Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "you have obtained Ninja Pack HaveFun in Classic-Co?"); npc.OptionID = 255; client.Send(npc.ToArray()); } else { dialog.Text("You need atleast one free slot in your inventory."); dialog.Option("Alright.", 255); dialog.Send(); } } else { dialog.Text("sorry you dont have Placesin your Bag ."); dialog.Option("Alright.", 255); dialog.Send(); } } else { dialog.Text("You need to make atleast 10 free spots in your inventory."); dialog.Option("Alright.", 255); dialog.Send(); } break; } #endregion #region BoundItems Monk case 65: { uint itemid = 202009;//Tower uint itemid2 = 201009;//Fan uint itemid3 = 160019;//Boot uint itemid4 = 120029;//Necklace uint itemid5 = 150019;//Ring uint itemid6 = 117009;//Earrings uint itemid7 = 136009;//Armor uint itemid8 = 610019;//Katana uint itemid9 = 610019;//Katana uint itemid10 = 204009;//wing if (client.Inventory.Count <= 30) { if (client.Entity.ConquerPoints >= 0) { ConquerItem item2 = new ConquerItem(true); item2.ID = itemid2; item2.Color = MrHero.Game.Enums.Color.White; item2.Bound = true; item2.Plus = 4; item2.Durability = item2.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid2].Durability; client.Inventory.Add(item2, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item3 = new ConquerItem(true); item3.ID = itemid3; item3.Color = MrHero.Game.Enums.Color.White; item3.Bound = true; item3.Plus = 4; item3.Durability = item3.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid3].Durability; client.Inventory.Add(item3, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item4 = new ConquerItem(true); item4.ID = itemid4; item4.Color = MrHero.Game.Enums.Color.White; item4.Bound = true; item4.Plus = 4; item4.Durability = item4.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid4].Durability; client.Inventory.Add(item4, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item5 = new ConquerItem(true); item5.ID = itemid5; item5.Color = MrHero.Game.Enums.Color.White; item5.Bound = true; item5.Plus = 4; item5.Durability = item5.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid5].Durability; client.Inventory.Add(item5, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item6 = new ConquerItem(true); item6.ID = itemid6; item6.Color = MrHero.Game.Enums.Color.White; item6.Bound = true; item6.Plus = 4; item6.Durability = item6.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid6].Durability; client.Inventory.Add(item6, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item7 = new ConquerItem(true); item7.ID = itemid7; item7.Color = MrHero.Game.Enums.Color.White; item7.Bound = true; item7.Plus = 4; item7.Durability = item7.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid7].Durability; client.Inventory.Add(item7, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item8 = new ConquerItem(true); item8.ID = itemid8; item8.Color = MrHero.Game.Enums.Color.White; item8.Bound = true; item8.Plus = 4; item8.Durability = item8.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid8].Durability; client.Inventory.Add(item8, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item9 = new ConquerItem(true); item9.ID = itemid9; item9.Color = MrHero.Game.Enums.Color.White; item9.Bound = true; item9.Plus = 4; item9.Durability = item9.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid9].Durability; client.Inventory.Add(item9, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item10 = new ConquerItem(true); item10.ID = itemid10; item10.Color = MrHero.Game.Enums.Color.White; item10.Bound = true; item10.Plus = 4; item10.Durability = item10.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid10].Durability; client.Inventory.Add(item10, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item = new ConquerItem(true); item.ID = itemid; item.Color = MrHero.Game.Enums.Color.White; item.Bound = true; item.Plus = 4; item.Durability = item.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid].Durability; if (client.Inventory.Add(item, MrHero.Game.Enums.ItemUse.CreateAndAdd)) { client.Inventory.Remove(720356, 1); Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "you have obtained Monk Pack HaveFun in Classic-Co?"); npc.OptionID = 255; client.Send(npc.ToArray()); } else { dialog.Text("You need atleast one free slot in your inventory."); dialog.Option("Alright.", 255); dialog.Send(); } } else { dialog.Text("sorry you dont have Placesin your Bag ."); dialog.Option("Alright.", 255); dialog.Send(); } } else { dialog.Text("You need to make atleast 10 free spots in your inventory."); dialog.Option("Alright.", 255); dialog.Send(); } break; } #endregion #region BoundItems WaterTaoist case 135: { uint itemid = 202009;//Tower uint itemid2 = 201009;//Fan uint itemid3 = 160019;//Boot uint itemid4 = 120029;//Necklace uint itemid5 = 150019;//Ring uint itemid6 = 114009;//Cap uint itemid7 = 134009;//Armor uint itemid8 = 560019;//Spear uint itemid9 = 421009;//BackSword uint itemid10 = 204009;//wing if (client.Inventory.Count <= 30) { if (client.Entity.ConquerPoints >= 0) { ConquerItem item2 = new ConquerItem(true); item2.ID = itemid2; item2.Color = MrHero.Game.Enums.Color.White; item2.Bound = true; item2.Plus = 4; item2.Durability = item2.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid2].Durability; client.Inventory.Add(item2, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item3 = new ConquerItem(true); item3.ID = itemid3; item3.Color = MrHero.Game.Enums.Color.White; item3.Bound = true; item3.Plus = 4; item3.Durability = item3.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid3].Durability; client.Inventory.Add(item3, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item4 = new ConquerItem(true); item4.ID = itemid4; item4.Color = MrHero.Game.Enums.Color.White; item4.Bound = true; item4.Plus = 4; item4.Durability = item4.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid4].Durability; client.Inventory.Add(item4, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item5 = new ConquerItem(true); item5.ID = itemid5; item5.Color = MrHero.Game.Enums.Color.White; item5.Bound = true; item5.Plus = 4; item5.Durability = item5.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid5].Durability; client.Inventory.Add(item5, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item6 = new ConquerItem(true); item6.ID = itemid6; item6.Color = MrHero.Game.Enums.Color.White; item6.Bound = true; item6.Plus = 4; item6.Durability = item6.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid6].Durability; client.Inventory.Add(item6, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item7 = new ConquerItem(true); item7.ID = itemid7; item7.Color = MrHero.Game.Enums.Color.White; item7.Bound = true; item7.Plus = 4; item7.Durability = item7.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid7].Durability; client.Inventory.Add(item7, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item8 = new ConquerItem(true); item8.ID = itemid8; item8.Color = MrHero.Game.Enums.Color.White; item8.Bound = true; item8.Plus = 4; item8.Durability = item8.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid8].Durability; client.Inventory.Add(item8, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item9 = new ConquerItem(true); item9.ID = itemid9; item9.Color = MrHero.Game.Enums.Color.White; item9.Bound = true; item9.Plus = 4; item9.Durability = item9.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid9].Durability; client.Inventory.Add(item9, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item10 = new ConquerItem(true); item10.ID = itemid10; item10.Color = MrHero.Game.Enums.Color.White; item10.Bound = true; item10.Plus = 4; item10.Durability = item10.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid10].Durability; client.Inventory.Add(item10, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item = new ConquerItem(true); item.ID = itemid; item.Color = MrHero.Game.Enums.Color.White; item.Bound = true; item.Plus = 4; item.Durability = item.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid].Durability; if (client.Inventory.Add(item, MrHero.Game.Enums.ItemUse.CreateAndAdd)) { client.Inventory.Remove(720356, 1); Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "you have obtained WaterTaoist Pack HaveFun in Classic-Co?"); npc.OptionID = 255; client.Send(npc.ToArray()); } else { dialog.Text("You need atleast one free slot in your inventory."); dialog.Option("Alright.", 255); dialog.Send(); } } else { dialog.Text("sorry you dont have Placesin your Bag ."); dialog.Option("Alright.", 255); dialog.Send(); } } else { dialog.Text("You need to make atleast 10 free spots in your inventory."); dialog.Option("Alright.", 255); dialog.Send(); } break; } #endregion #region BoundItems FireTaoist case 145: { uint itemid = 202009;//Tower uint itemid2 = 201009;//Fan uint itemid3 = 160019;//Boot uint itemid4 = 121029;//Bag uint itemid5 = 152019;//Bracelet uint itemid6 = 114009;//Cap uint itemid7 = 134009;//Armor uint itemid8 = 560019;//Spear uint itemid9 = 421009;//BackSword uint itemid10 = 204009;//wing if (client.Inventory.Count <= 30) { if (client.Entity.ConquerPoints >= 0) { ConquerItem item2 = new ConquerItem(true); item2.ID = itemid2; item2.Color = MrHero.Game.Enums.Color.White; item2.Bound = true; item2.Plus = 4; item2.Durability = item2.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid2].Durability; client.Inventory.Add(item2, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item3 = new ConquerItem(true); item3.ID = itemid3; item3.Color = MrHero.Game.Enums.Color.White; item3.Bound = true; item3.Plus = 4; item3.Durability = item3.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid3].Durability; client.Inventory.Add(item3, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item4 = new ConquerItem(true); item4.ID = itemid4; item4.Color = MrHero.Game.Enums.Color.White; item4.Bound = true; item4.Plus = 4; item4.Durability = item4.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid4].Durability; client.Inventory.Add(item4, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item5 = new ConquerItem(true); item5.ID = itemid5; item5.Color = MrHero.Game.Enums.Color.White; item5.Bound = true; item5.Plus = 4; item5.Durability = item5.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid5].Durability; client.Inventory.Add(item5, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item6 = new ConquerItem(true); item6.ID = itemid6; item6.Color = MrHero.Game.Enums.Color.White; item6.Bound = true; item6.Plus = 4; item6.Durability = item6.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid6].Durability; client.Inventory.Add(item6, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item7 = new ConquerItem(true); item7.ID = itemid7; item7.Color = MrHero.Game.Enums.Color.White; item7.Bound = true; item7.Plus = 4; item7.Durability = item7.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid7].Durability; client.Inventory.Add(item7, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item8 = new ConquerItem(true); item8.ID = itemid8; item8.Color = MrHero.Game.Enums.Color.White; item8.Bound = true; item8.Plus = 4; item8.Durability = item8.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid8].Durability; client.Inventory.Add(item8, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item9 = new ConquerItem(true); item9.ID = itemid9; item9.Color = MrHero.Game.Enums.Color.White; item9.Bound = true; item9.Plus = 4; item9.Durability = item9.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid9].Durability; client.Inventory.Add(item9, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item10 = new ConquerItem(true); item10.ID = itemid10; item10.Color = MrHero.Game.Enums.Color.White; item10.Bound = true; item10.Plus = 4; item10.Durability = item10.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid10].Durability; client.Inventory.Add(item10, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item = new ConquerItem(true); item.ID = itemid; item.Color = MrHero.Game.Enums.Color.White; item.Bound = true; item.Plus = 4; item.Durability = item.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid].Durability; if (client.Inventory.Add(item, MrHero.Game.Enums.ItemUse.CreateAndAdd)) { client.Inventory.Remove(720356, 1); Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "you have obtained FireTaoist Pack HaveFun in Classic-Co?"); npc.OptionID = 255; client.Send(npc.ToArray()); } else { dialog.Text("You need atleast one free slot in your inventory."); dialog.Option("Alright.", 255); dialog.Send(); } } else { dialog.Text("sorry you dont have Placesin your Bag ."); dialog.Option("Alright.", 255); dialog.Send(); } } else { dialog.Text("You need to make atleast 10 free spots in your inventory."); dialog.Option("Alright.", 255); dialog.Send(); } break; } #endregion #region BoundItems Pirate case 75: { uint itemid = 202009;//Tower uint itemid2 = 201009;//Fan uint itemid3 = 160019;//Boot uint itemid4 = 120029;//Necklace uint itemid5 = 150019;//Ring uint itemid6 = 117009;//Earrings uint itemid7 = 139009;//Armor uint itemid8 = 611019;//Rapier uint itemid9 = 612019;//Pistol uint itemid10 = 204009;//wing if (client.Inventory.Count <= 30) { if (client.Entity.ConquerPoints >= 0) { ConquerItem item2 = new ConquerItem(true); item2.ID = itemid2; item2.Color = MrHero.Game.Enums.Color.White; item2.Bound = true; item2.Plus = 4; item2.Durability = item2.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid2].Durability; client.Inventory.Add(item2, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item3 = new ConquerItem(true); item3.ID = itemid3; item3.Color = MrHero.Game.Enums.Color.White; item3.Bound = true; item3.Plus = 4; item3.Durability = item3.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid3].Durability; client.Inventory.Add(item3, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item4 = new ConquerItem(true); item4.ID = itemid4; item4.Color = MrHero.Game.Enums.Color.White; item4.Bound = true; item4.Plus = 4; item4.Durability = item4.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid4].Durability; client.Inventory.Add(item4, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item5 = new ConquerItem(true); item5.ID = itemid5; item5.Color = MrHero.Game.Enums.Color.White; item5.Bound = true; item5.Plus = 4; item5.Durability = item5.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid5].Durability; client.Inventory.Add(item5, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item6 = new ConquerItem(true); item6.ID = itemid6; item6.Color = MrHero.Game.Enums.Color.White; item6.Bound = true; item6.Plus = 4; item6.Durability = item6.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid6].Durability; client.Inventory.Add(item6, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item7 = new ConquerItem(true); item7.ID = itemid7; item7.Color = MrHero.Game.Enums.Color.White; item7.Bound = true; item7.Plus = 4; item7.Durability = item7.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid7].Durability; client.Inventory.Add(item7, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item8 = new ConquerItem(true); item8.ID = itemid8; item8.Color = MrHero.Game.Enums.Color.White; item8.Bound = true; item8.Plus = 4; item8.Durability = item8.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid8].Durability; client.Inventory.Add(item8, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item9 = new ConquerItem(true); item9.ID = itemid9; item9.Color = MrHero.Game.Enums.Color.White; item9.Bound = true; item9.Plus = 4; item9.Durability = item9.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid9].Durability; client.Inventory.Add(item9, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item10 = new ConquerItem(true); item10.ID = itemid10; item10.Color = MrHero.Game.Enums.Color.White; item10.Bound = true; item10.Plus = 4; item10.Durability = item10.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid10].Durability; client.Inventory.Add(item10, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item = new ConquerItem(true); item.ID = itemid; item.Color = MrHero.Game.Enums.Color.White; item.Bound = true; item.Plus = 4; item.Durability = item.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid].Durability; if (client.Inventory.Add(item, MrHero.Game.Enums.ItemUse.CreateAndAdd)) { client.Inventory.Remove(720356, 1); Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "you have obtained Pirate Pack HaveFun in Classic-Co?"); npc.OptionID = 255; client.Send(npc.ToArray()); } else { dialog.Text("You need atleast one free slot in your inventory."); dialog.Option("Alright.", 255); dialog.Send(); } } else { dialog.Text("sorry you dont have Placesin your Bag ."); dialog.Option("Alright.", 255); dialog.Send(); } } else { dialog.Text("You need to make atleast 10 free spots in your inventory."); dialog.Option("Alright.", 255); dialog.Send(); } break; } #endregion #region BoundItems Lee-Long case 9: { uint itemid = 202009;//Tower uint itemid2 = 201009;//Fan uint itemid3 = 160019;//Boot uint itemid4 = 120029;//Necklace uint itemid5 = 150019;//Ring uint itemid6 = 148009;//Lee-Long-Head uint itemid7 = 138009;//Lee-Long-Armor uint itemid8 = 617029;//Lee-Long-Weapon uint itemid9 = 617029;//Lee-Long-Weapon uint itemid10 = 204009;//wing if (client.Inventory.Count <= 30) { if (client.Entity.ConquerPoints >= 0) { ConquerItem item2 = new ConquerItem(true); item2.ID = itemid2; item2.Color = MrHero.Game.Enums.Color.White; item2.Bound = true; item2.Plus = 4; item2.Durability = item2.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid2].Durability; client.Inventory.Add(item2, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item3 = new ConquerItem(true); item3.ID = itemid3; item3.Color = MrHero.Game.Enums.Color.White; item3.Bound = true; item3.Plus = 4; item3.Durability = item3.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid3].Durability; client.Inventory.Add(item3, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item4 = new ConquerItem(true); item4.ID = itemid4; item4.Color = MrHero.Game.Enums.Color.White; item4.Bound = true; item4.Plus = 4; item4.Durability = item4.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid4].Durability; client.Inventory.Add(item4, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item5 = new ConquerItem(true); item5.ID = itemid5; item5.Color = MrHero.Game.Enums.Color.White; item5.Bound = true; item5.Plus = 4; item5.Durability = item5.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid5].Durability; client.Inventory.Add(item5, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item6 = new ConquerItem(true); item6.ID = itemid6; item6.Color = MrHero.Game.Enums.Color.White; item6.Bound = true; item6.Plus = 4; item6.Durability = item6.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid6].Durability; client.Inventory.Add(item6, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item7 = new ConquerItem(true); item7.ID = itemid7; item7.Color = MrHero.Game.Enums.Color.White; item7.Bound = true; item7.Plus = 4; item7.Durability = item7.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid7].Durability; client.Inventory.Add(item7, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item8 = new ConquerItem(true); item8.ID = itemid8; item8.Color = MrHero.Game.Enums.Color.White; item8.Bound = true; item8.Plus = 4; item8.Durability = item8.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid8].Durability; client.Inventory.Add(item8, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item9 = new ConquerItem(true); item9.ID = itemid9; item9.Color = MrHero.Game.Enums.Color.White; item9.Bound = true; item9.Plus = 4; item9.Durability = item9.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid9].Durability; client.Inventory.Add(item9, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item10 = new ConquerItem(true); item10.ID = itemid10; item10.Color = MrHero.Game.Enums.Color.White; item10.Bound = true; item10.Plus = 4; item10.Durability = item10.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid10].Durability; client.Inventory.Add(item10, MrHero.Game.Enums.ItemUse.CreateAndAdd); ConquerItem item = new ConquerItem(true); item.ID = itemid; item.Color = MrHero.Game.Enums.Color.White; item.Bound = true; item.Plus = 4; item.Durability = item.MaximDurability = MrHero.Database.ConquerItemInformation.BaseInformations[itemid].Durability; if (client.Inventory.Add(item, MrHero.Game.Enums.ItemUse.CreateAndAdd)) { client.Inventory.Remove(720356, 1); Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "you have obtained Lee-Long Pack HaveFun in Server"); npc.OptionID = 255; client.Send(npc.ToArray()); } else { dialog.Text("You need atleast one free slot in your inventory."); dialog.Option("Alright.", 255); dialog.Send(); } } else { dialog.Text("sorry you dont have MerryPack in your Bag ."); dialog.Option("Alright.", 255); dialog.Send(); } } else { dialog.Text("You need to make atleast 10 free spots in your inventory."); dialog.Option("Alright.", 255); dialog.Send(); } break; } #endregion } break; } #endregion
شغل النفي كات اظن انه سهل