|
المشاركات 71 |
+التقييم 0.04 |
تاريخ التسجيل Jun 2019 |
الاقامة |
نظام التشغيل |
رقم العضوية 252 |
#region Bound ThunderStriker +3 pack //By Mohamed Hossam Barakat
// Code Team https://code.vpscairo.com
case 17777:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("I am the War Conquer, 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.Option("WindGuard pack.", 10);
dialog.Option("ThunderStriker pack.", 78);
dialog.Send();
break;
}
case 1:
{
//(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();
break;
}
case 78:
{
//(720356, 0, 1);//MerryPack
dialog.Text("are you sure you want this ThunderStriker pack?");
dialog.Option("Sure.", 48);
dialog.Option("Wait a minute.", 255);
dialog.Send();
break;
}
case 2:
{
//(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();
break;
}
case 3:
{
//(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();
break;
}
case 4:
{
//(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();
break;
}
case 5:
{
//(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();
break;
}
case 6:
{
//(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();
break;
}
case 7:
{
//(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();
break;
}
case 8:
{
//(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();
break;
}
case 9:
{
//(720356, 0, 1);//MerryPack
dialog.Text("are you sure you want this lee long Pack ?");
dialog.Option("Sure.", 85);
dialog.Option("Wait a minute.", 255);
dialog.Send();
break;
}
case 10:
{
//(720356, 0, 1);//MerryPack
dialog.Text("are you sure you want this Wind Guard Pack ?");
dialog.Option("Sure.", 95);
dialog.Option("Wait a minute.", 255);
dialog.Send();
break;
}
#region BoundItems Trojan
case 15:
{
uint itemid = 202009;//Tower
uint itemid2 = 201009;//Fan
uint itemid3 = 160039;//Boot
uint itemid4 = 120029;//Necklace
uint itemid5 = 150039;//Ring
uint itemid6 = 118019;//Earrings
uint itemid7 = 130019;//Armor
uint itemid8 = 480019;//Club
uint itemid9 = 420019;//Sword
if (client.Inventory.Count <= 30)
{
ConquerItem item2 = new ConquerItem(true);
item2.ID = itemid2;
item2.Color = COServer.Game.Enums.Color.White;
item2.Bound = true;
item2.Plus = 3;
//item2.Bless = 1;
client.Inventory.Add(item2, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item3 = new ConquerItem(true);
item3.ID = itemid3;
item3.Color = COServer.Game.Enums.Color.White;
item3.Bound = true;
item3.Plus = 3;
//
item3.Durability = item3.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid3].Durability;
client.Inventory.Add(item3, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item4 = new ConquerItem(true);
item4.ID = itemid4;
item4.Color = COServer.Game.Enums.Color.White;
item4.Bound = true;
item4.Plus = 3;
//
//
//
//
item4.Durability = item4.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid4].Durability;
client.Inventory.Add(item4, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item5 = new ConquerItem(true);
item5.ID = itemid5;
item5.Color = COServer.Game.Enums.Color.White;
item5.Bound = true;
item5.Plus = 3;
//
//
//
//
item5.Durability = item5.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid5].Durability;
client.Inventory.Add(item5, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item6 = new ConquerItem(true);
item6.ID = itemid6;
item6.Color = COServer.Game.Enums.Color.White;
item6.Bound = true;
item6.Plus = 3;
//item6.Bless = 7;
////item6.Enchant = 250;
//
//
item6.Durability = item6.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid6].Durability;
client.Inventory.Add(item6, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item7 = new ConquerItem(true);
item7.ID = itemid7;
item7.Color = COServer.Game.Enums.Color.White;
item7.Bound = true;
item7.Plus = 3;
//
//
//
item7.Durability = item7.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid7].Durability;
client.Inventory.Add(item7, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item8 = new ConquerItem(true);
item8.ID = itemid8;
item8.Color = COServer.Game.Enums.Color.White;
item8.Bound = true;
item8.Plus = 3;
//
// item8.Enchant = 250;
//
//
item8.Durability = item8.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid8].Durability;
client.Inventory.Add(item8, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item9 = new ConquerItem(true);
item9.ID = itemid9;
item9.Color = COServer.Game.Enums.Color.White;
item9.Bound = true;
item9.Plus = 3;
///
// item9.Enchant = 250;
//
///
// item9.Durability = item9.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid9].Durability;
client.Inventory.Add(item9, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item = new ConquerItem(true);
item.ID = itemid;
item.Color = COServer.Game.Enums.Color.White;
item.Bound = true;
item.Plus = 3;
//
//
//
// // item.Durability = item.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
if (client.Inventory.Add(item, COServer.Game.Enums.ItemUse.CreateAndAdd))
{
// // // // client.Inventory.Remove(720356, 1); (720356, 1);
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "You have obtained Trojan Pack have fun in TerroR");
client.Entity.Teleport(1002, 300, 278);
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("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 = 160039;//Boot
uint itemid4 = 120029;//Necklace
uint itemid5 = 150039;//Ring
uint itemid6 = 111019;//Earrings
uint itemid7 = 131019;//Armor
uint itemid8 = 560019;//Spar
uint itemid9 = 900019;//Shield
if (client.Inventory.Count <= 30)
{
ConquerItem item2 = new ConquerItem(true);
item2.ID = itemid2;
item2.Color = COServer.Game.Enums.Color.White;
item2.Bound = true;
item2.Plus = 3;
//item2.Bless = 1;
client.Inventory.Add(item2, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item3 = new ConquerItem(true);
item3.ID = itemid3;
item3.Color = COServer.Game.Enums.Color.White;
item3.Bound = true;
item3.Plus = 3;
//
item3.Durability = item3.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid3].Durability;
client.Inventory.Add(item3, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item4 = new ConquerItem(true);
item4.ID = itemid4;
item4.Color = COServer.Game.Enums.Color.White;
item4.Bound = true;
item4.Plus = 3;
//
//
//
//
item4.Durability = item4.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid4].Durability;
client.Inventory.Add(item4, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item5 = new ConquerItem(true);
item5.ID = itemid5;
item5.Color = COServer.Game.Enums.Color.White;
item5.Bound = true;
item5.Plus = 3;
//
//
//
item5.Durability = item5.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid5].Durability;
client.Inventory.Add(item5, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item6 = new ConquerItem(true);
item6.ID = itemid6;
item6.Color = COServer.Game.Enums.Color.White;
item6.Bound = true;
item6.Plus = 3;
//item6.Bless = 7;
////item6.Enchant = 250;
//
//
// item6.Durability = item6.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid6].Durability;
client.Inventory.Add(item6, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item7 = new ConquerItem(true);
item7.ID = itemid7;
item7.Color = COServer.Game.Enums.Color.White;
item7.Bound = true;
item7.Plus = 3;
//
//
//
// item7.Durability = item7.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid7].Durability;
client.Inventory.Add(item7, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item8 = new ConquerItem(true);
item8.ID = itemid8;
item8.Color = COServer.Game.Enums.Color.White;
item8.Bound = true;
item8.Plus = 3;
item8.Enchant = 250;
item8.Durability = item8.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid8].Durability;
client.Inventory.Add(item8, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item9 = new ConquerItem(true);
item9.ID = itemid9;
item9.Color = COServer.Game.Enums.Color.White;
item9.Bound = true;
item9.Plus = 3;
///
// item9.Enchant = 250;
//
///
// item9.Durability = item9.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid9].Durability;
client.Inventory.Add(item9, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item = new ConquerItem(true);
item.ID = itemid;
item.Color = COServer.Game.Enums.Color.White;
item.Bound = true;
item.Plus = 3;
//
//
//
// item.Durability = item.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
if (client.Inventory.Add(item, COServer.Game.Enums.ItemUse.CreateAndAdd))
{
// client.Inventory.Remove(720356, 1); (720356, 1);
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "You have obtained Warrior Pack havefun in TerroR?");
client.Entity.Teleport(1002, 300, 278);
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("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 = 160039;//Boot
uint itemid4 = 120029;//Necklace
uint itemid5 = 150039;//Ring
uint itemid6 = 113009;//Earrings
uint itemid7 = 133009;//Armor
uint itemid8 = 500009;//Bow
uint itemid9 = 613019;//knif
uint itemid10 = 613019;//knif
if (client.Inventory.Count <= 30)
{
//if (client.Inventory.Contains(720356, 1))
//{
ConquerItem item2 = new ConquerItem(true);
item2.ID = itemid2;
item2.Color = COServer.Game.Enums.Color.White;
item2.Bound = true;
item2.Plus = 3;
//item2.Bless = 1;
item2.Durability = item2.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid2].Durability;
client.Inventory.Add(item2, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item3 = new ConquerItem(true);
item3.ID = itemid3;
item3.Color = COServer.Game.Enums.Color.White;
item3.Bound = true;
item3.Plus = 3;
item3.Durability = item3.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid3].Durability;
client.Inventory.Add(item3, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item9 = new ConquerItem(true);
item3.ID = itemid9;
item3.Color = COServer.Game.Enums.Color.White;
item3.Bound = true;
item3.Plus = 3;
item3.Durability = item3.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid3].Durability;
client.Inventory.Add(item3, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item10 = new ConquerItem(true);
item3.ID = itemid10;
item3.Color = COServer.Game.Enums.Color.White;
item3.Bound = true;
item3.Plus = 3;
item3.Durability = item3.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid3].Durability;
client.Inventory.Add(item3, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item4 = new ConquerItem(true);
item4.ID = itemid4;
item4.Color = COServer.Game.Enums.Color.White;
item4.Bound = true;
item4.Plus = 3;
item4.Durability = item4.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid4].Durability;
client.Inventory.Add(item4, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item5 = new ConquerItem(true);
item5.ID = itemid5;
item5.Color = COServer.Game.Enums.Color.White;
item5.Bound = true;
item5.Plus = 3;
item5.Durability = item5.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid5].Durability;
client.Inventory.Add(item5, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item6 = new ConquerItem(true);
item6.ID = itemid6;
item6.Color = COServer.Game.Enums.Color.White;
item6.Bound = true;
item6.Plus = 3;
item6.Enchant = 250;
item6.Durability = item6.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid6].Durability;
client.Inventory.Add(item6, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item7 = new ConquerItem(true);
item7.ID = itemid7;
item7.Color = COServer.Game.Enums.Color.White;
item7.Bound = true;
item7.Plus = 3;
item6.Enchant = 250;
item7.Durability = item7.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid7].Durability;
client.Inventory.Add(item7, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item8 = new ConquerItem(true);
item8.ID = itemid8;
item8.Color = COServer.Game.Enums.Color.White;
item8.Bound = true;
item8.Plus = 3;
item8.Enchant = 250;
item8.Durability = item8.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid8].Durability;
client.Inventory.Add(item8, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item = new ConquerItem(true);
item.ID = itemid;
item.Color = COServer.Game.Enums.Color.White;
item.Bound = true;
item.Plus = 3;
//
// item.Durability = item.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
if (client.Inventory.Add(item, COServer.Game.Enums.ItemUse.CreateAndAdd))
{
// client.Inventory.Remove(720356, 1); (720356, 1);
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "You have obtained Archer Pack havefun in TerroR?");
client.Entity.Teleport(1002, 300, 278);
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("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 = 160039;//Boot
uint itemid4 = 120029;//Necklace
uint itemid5 = 150039;//Ring
uint itemid6 = 112009;//Earrings
uint itemid7 = 135009;//Armor
uint itemid8 = 601009;//Katana
uint itemid9 = 601009;//Katana
if (client.Inventory.Count <= 30)
{
//if (client.Inventory.Contains(720356, 1))
//{
ConquerItem item2 = new ConquerItem(true);
item2.ID = itemid2;
item2.Color = COServer.Game.Enums.Color.White;
item2.Bound = true;
item2.Plus = 3;
item2.Bless = 1;
item2.Durability = item2.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid2].Durability;
client.Inventory.Add(item2, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item3 = new ConquerItem(true);
item3.ID = itemid3;
item3.Color = COServer.Game.Enums.Color.White;
item3.Bound = true;
item3.Plus = 3;
item3.Durability = item3.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid3].Durability;
client.Inventory.Add(item3, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item4 = new ConquerItem(true);
item4.ID = itemid4;
item4.Color = COServer.Game.Enums.Color.White;
item4.Bound = true;
item4.Plus = 3;
item4.Durability = item4.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid4].Durability;
client.Inventory.Add(item4, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item5 = new ConquerItem(true);
item5.ID = itemid5;
item5.Color = COServer.Game.Enums.Color.White;
item5.Bound = true;
item5.Plus = 3;
item5.Durability = item5.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid5].Durability;
client.Inventory.Add(item5, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item6 = new ConquerItem(true);
item6.ID = itemid6;
item6.Color = COServer.Game.Enums.Color.White;
item6.Bound = true;
item6.Plus = 3;
item6.Enchant = 250;
item6.Durability = item6.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid6].Durability;
client.Inventory.Add(item6, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item7 = new ConquerItem(true);
item7.ID = itemid7;
item7.Color = COServer.Game.Enums.Color.White;
item7.Bound = true;
item7.Plus = 3;
item7.Enchant = 250;
item7.Durability = item7.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid7].Durability;
client.Inventory.Add(item7, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item8 = new ConquerItem(true);
item8.ID = itemid8;
item8.Color = COServer.Game.Enums.Color.White;
item8.Bound = true;
item8.Plus = 3;
item8.Enchant = 250;
item8.Durability = item8.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid8].Durability;
client.Inventory.Add(item8, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item9 = new ConquerItem(true);
item9.ID = itemid9;
item9.Color = COServer.Game.Enums.Color.White;
item9.Bound = true;
item9.Plus = 3;
item9.Enchant = 250;
item9.Durability = item9.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid9].Durability;
client.Inventory.Add(item9, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item = new ConquerItem(true);
item.ID = itemid;
item.Color = COServer.Game.Enums.Color.White;
item.Bound = true;
item.Plus = 3;
// item.Durability = item.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
if (client.Inventory.Add(item, COServer.Game.Enums.ItemUse.CreateAndAdd))
{
// client.Inventory.Remove(720356, 1); (720356, 1);
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "You have obtained Ninja Pack havefun in TerroR?");
client.Entity.Teleport(1002, 300, 278);
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
#region BoundItems Monk
case 65:
{
uint itemid = 202009;//Tower
uint itemid2 = 201009;//Fan
uint itemid3 = 160039;//Boot
uint itemid4 = 120029;//Necklace
uint itemid5 = 150039;//Ring
uint itemid6 = 143009;//Earrings
uint itemid7 = 136009;//Armor
uint itemid8 = 610029;//beads
uint itemid9 = 610029;//beads
if (client.Inventory.Count <= 30)
{
//if (client.Inventory.Contains(720356, 1))
//{
ConquerItem item2 = new ConquerItem(true);
item2.ID = itemid2;
item2.Color = COServer.Game.Enums.Color.White;
item2.Bound = true;
item2.Plus = 3;
item2.Bless = 1;
item2.Durability = item2.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid2].Durability;
client.Inventory.Add(item2, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item3 = new ConquerItem(true);
item3.ID = itemid3;
item3.Color = COServer.Game.Enums.Color.White;
item3.Bound = true;
item3.Plus = 3;
item3.Durability = item3.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid3].Durability;
client.Inventory.Add(item3, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item4 = new ConquerItem(true);
item4.ID = itemid4;
item4.Color = COServer.Game.Enums.Color.White;
item4.Bound = true;
item4.Plus = 3;
item4.Durability = item4.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid4].Durability;
client.Inventory.Add(item4, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item5 = new ConquerItem(true);
item5.ID = itemid5;
item5.Color = COServer.Game.Enums.Color.White;
item5.Bound = true;
item5.Plus = 3;
item5.Durability = item5.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid5].Durability;
client.Inventory.Add(item5, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item6 = new ConquerItem(true);
item6.ID = itemid6;
item6.Color = COServer.Game.Enums.Color.White;
item6.Bound = true;
item6.Plus = 3;
item6.Enchant = 250;
item6.Durability = item6.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid6].Durability;
client.Inventory.Add(item6, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item7 = new ConquerItem(true);
item7.ID = itemid7;
item7.Color = COServer.Game.Enums.Color.White;
item7.Bound = true;
item7.Plus = 3;
item7.Enchant = 250;
item7.Durability = item7.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid7].Durability;
client.Inventory.Add(item7, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item8 = new ConquerItem(true);
item8.ID = itemid8;
item8.Color = COServer.Game.Enums.Color.White;
item8.Bound = true;
item8.Plus = 3;
item8.Enchant = 250;
item8.Durability = item8.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid8].Durability;
client.Inventory.Add(item8, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item9 = new ConquerItem(true);
item9.ID = itemid9;
item9.Color = COServer.Game.Enums.Color.White;
item9.Bound = true;
item9.Plus = 3;
item9.Enchant = 250;
item9.Durability = item9.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid9].Durability;
client.Inventory.Add(item9, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item = new ConquerItem(true);
item.ID = itemid;
item.Color = COServer.Game.Enums.Color.White;
item.Bound = true;
item.Plus = 3;
// item.Durability = item.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
if (client.Inventory.Add(item, COServer.Game.Enums.ItemUse.CreateAndAdd))
{
// client.Inventory.Remove(720356, 1); (720356, 1);
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "You have obtained Monk Pack havefun in TerroR?");
client.Entity.Teleport(1002, 300, 278);
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
#region BoundItems WaterTaoist
case 135:
{
uint itemid = 202009;//Tower
uint itemid2 = 201009;//Fan
uint itemid3 = 160039;//Boot
uint itemid4 = 121029;//Bag
uint itemid5 = 152009;//Bracelet
uint itemid6 = 114019;//Cap
uint itemid7 = 134019;//Armor
uint itemid9 = 421019;//BackSword
if (client.Inventory.Count <= 30)
{
//if (client.Inventory.Contains(720356, 1))
//{
ConquerItem item2 = new ConquerItem(true);
item2.ID = itemid2;
item2.Color = COServer.Game.Enums.Color.White;
item2.Bound = true;
item2.Plus = 3;
//item2.Bless = 1;
item2.Durability = item2.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid2].Durability;
client.Inventory.Add(item2, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item3 = new ConquerItem(true);
item3.ID = itemid3;
item3.Color = COServer.Game.Enums.Color.White;
item3.Bound = true;
item3.Plus = 3;
item3.Durability = item3.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid3].Durability;
client.Inventory.Add(item3, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item4 = new ConquerItem(true);
item4.ID = itemid4;
item4.Color = COServer.Game.Enums.Color.White;
item4.Bound = true;
item4.Plus = 3;
item4.Durability = item4.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid4].Durability;
client.Inventory.Add(item4, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item5 = new ConquerItem(true);
item5.ID = itemid5;
item5.Color = COServer.Game.Enums.Color.White;
item5.Bound = true;
item5.Plus = 3;
item5.Durability = item5.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid5].Durability;
client.Inventory.Add(item5, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item6 = new ConquerItem(true);
item6.ID = itemid6;
item6.Color = COServer.Game.Enums.Color.White;
item6.Bound = true;
item6.Plus = 3;
item6.Enchant = 250;
item6.Durability = item6.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid6].Durability;
client.Inventory.Add(item6, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item7 = new ConquerItem(true);
item7.ID = itemid7;
item7.Color = COServer.Game.Enums.Color.White;
item7.Bound = true;
item7.Plus = 3;
item7.Enchant = 250;
item7.Durability = item7.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid7].Durability;
client.Inventory.Add(item7, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item9 = new ConquerItem(true);
item9.ID = itemid9;
item9.Color = COServer.Game.Enums.Color.White;
item9.Bound = true;
item9.Plus = 3;
item9.Enchant = 250;
item9.Durability = item9.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid9].Durability;
client.Inventory.Add(item9, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item = new ConquerItem(true);
item.ID = itemid;
item.Color = COServer.Game.Enums.Color.White;
item.Bound = true;
item.Plus = 3;
//
// item.Durability = item.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
if (client.Inventory.Add(item, COServer.Game.Enums.ItemUse.CreateAndAdd))
{
// client.Inventory.Remove(720356, 1); (720356, 1);
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "You have obtained WaterTaoist Pack havefun in TerroR?");
client.Entity.Teleport(1002, 300, 278);
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
#region BoundItems Pirate
case 75:
{
uint itemid = 202009;//Tower
uint itemid2 = 201009;//Fan
uint itemid3 = 160039;//Boot
uint itemid4 = 120029;//Necklace
uint itemid5 = 150039;//Ring
uint itemid6 = 144009;//Earrings
uint itemid7 = 139009;//Armor
uint itemid8 = 611029;//Rapier
uint itemid9 = 612029;//Pistol
if (client.Inventory.Count <= 30)
{
//if (client.Inventory.Contains(720356, 1))
//{
ConquerItem item2 = new ConquerItem(true);
item2.ID = itemid2;
item2.Color = COServer.Game.Enums.Color.White;
item2.Bound = true;
item2.Plus = 3;
//item2.Bless = 1;
item2.Durability = item2.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid2].Durability;
client.Inventory.Add(item2, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item3 = new ConquerItem(true);
item3.ID = itemid3;
item3.Color = COServer.Game.Enums.Color.White;
item3.Bound = true;
item3.Plus = 3;
item3.Durability = item3.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid3].Durability;
client.Inventory.Add(item3, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item4 = new ConquerItem(true);
item4.ID = itemid4;
item4.Color = COServer.Game.Enums.Color.White;
item4.Bound = true;
item4.Plus = 3;
item4.Durability = item4.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid4].Durability;
client.Inventory.Add(item4, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item5 = new ConquerItem(true);
item5.ID = itemid5;
item5.Color = COServer.Game.Enums.Color.White;
item5.Bound = true;
item5.Plus = 3;
item5.Durability = item5.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid5].Durability;
client.Inventory.Add(item5, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item6 = new ConquerItem(true);
item6.ID = itemid6;
item6.Color = COServer.Game.Enums.Color.White;
item6.Bound = true;
item6.Plus = 3;
item6.Enchant = 250;
item6.Durability = item6.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid6].Durability;
client.Inventory.Add(item6, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item7 = new ConquerItem(true);
item7.ID = itemid7;
item7.Color = COServer.Game.Enums.Color.White;
item7.Bound = true;
item7.Plus = 3;
item7.Enchant = 250;
item7.Durability = item7.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid7].Durability;
client.Inventory.Add(item7, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item8 = new ConquerItem(true);
item8.ID = itemid8;
item8.Color = COServer.Game.Enums.Color.White;
item8.Bound = true;
item8.Plus = 3;
item8.Enchant = 250;
item8.Durability = item8.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid8].Durability;
client.Inventory.Add(item8, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item9 = new ConquerItem(true);
item9.ID = itemid9;
item9.Color = COServer.Game.Enums.Color.White;
item9.Bound = true;
item9.Plus = 3;
item9.Enchant = 250;
item9.Durability = item9.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid9].Durability;
client.Inventory.Add(item9, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item = new ConquerItem(true);
item.ID = itemid;
item.Color = COServer.Game.Enums.Color.White;
item.Bound = true;
item.Plus = 3;
//
// item.Durability = item.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
if (client.Inventory.Add(item, COServer.Game.Enums.ItemUse.CreateAndAdd))
{
// client.Inventory.Remove(720356, 1); (720356, 1);
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "You have obtained Pirate Pack havefun in TerroR?");
client.Entity.Teleport(1002, 300, 278);
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
#region BoundItems leelong
case 85:
{
uint itemid = 202009;//Tower
uint itemid2 = 201009;//Fan
uint itemid3 = 160039;//Boot
uint itemid4 = 120029;//Necklace
uint itemid5 = 150039;//Ring
uint itemid6 = 148009;//Earrings
uint itemid7 = 138009;//Armor
uint itemid8 = 617029;//SkyNunchaku
uint itemid9 = 617029;//SkyNunchaku
if (client.Inventory.Count <= 30)
{
//if (client.Inventory.Contains(720356, 1))
//{
ConquerItem item2 = new ConquerItem(true);
item2.ID = itemid2;
item2.Color = COServer.Game.Enums.Color.White;
item2.Bound = true;
item2.Plus = 3;
//item2.Bless = 1;
item2.Durability = item2.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid2].Durability;
client.Inventory.Add(item2, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item3 = new ConquerItem(true);
item3.ID = itemid3;
item3.Color = COServer.Game.Enums.Color.White;
item3.Bound = true;
item3.Plus = 3;
item3.Durability = item3.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid3].Durability;
client.Inventory.Add(item3, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item4 = new ConquerItem(true);
item4.ID = itemid4;
item4.Color = COServer.Game.Enums.Color.White;
item4.Bound = true;
item4.Plus = 3;
item4.Durability = item4.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid4].Durability;
client.Inventory.Add(item4, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item5 = new ConquerItem(true);
item5.ID = itemid5;
item5.Color = COServer.Game.Enums.Color.White;
item5.Bound = true;
item5.Plus = 3;
item5.Durability = item5.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid5].Durability;
client.Inventory.Add(item5, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item6 = new ConquerItem(true);
item6.ID = itemid6;
item6.Color = COServer.Game.Enums.Color.White;
item6.Bound = true;
item6.Plus = 3;
item6.Enchant = 250;
item6.Durability = item6.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid6].Durability;
client.Inventory.Add(item6, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item7 = new ConquerItem(true);
item7.ID = itemid7;
item7.Color = COServer.Game.Enums.Color.White;
item7.Bound = true;
item7.Plus = 3;
item7.Enchant = 250;
item7.Durability = item7.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid7].Durability;
client.Inventory.Add(item7, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item8 = new ConquerItem(true);
item8.ID = itemid8;
item8.Color = COServer.Game.Enums.Color.White;
item8.Bound = true;
item8.Plus = 3;
item8.Enchant = 250;
item8.Durability = item8.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid8].Durability;
client.Inventory.Add(item8, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item9 = new ConquerItem(true);
item9.ID = itemid9;
item9.Color = COServer.Game.Enums.Color.White;
item9.Bound = true;
item9.Plus = 3;
item9.Enchant = 250;
item9.Durability = item9.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid9].Durability;
client.Inventory.Add(item9, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item = new ConquerItem(true);
item.ID = itemid;
item.Color = COServer.Game.Enums.Color.White;
item.Bound = true;
item.Plus = 3;
//
// item.Durability = item.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
if (client.Inventory.Add(item, COServer.Game.Enums.ItemUse.CreateAndAdd))
{
// client.Inventory.Remove(720356, 1); (720356, 1);
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "You have obtained Lee Long Pack havefun in TerroR?");
client.Entity.Teleport(1002, 300, 278);
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
#region BoundItems WindGuard
case 95:
{
uint itemid = 202009;//Tower
uint itemid2 = 201009;//Fan
uint itemid3 = 160039;//Boot
uint itemid4 = 120029;//Necklace
uint itemid5 = 150039;//Ring
uint itemid6 = 170123;//Earrings
uint itemid7 = 101000;//Armor
uint itemid8 = 626093;//PrideFane
uint itemid9 = 626093;//PrideFane
if (client.Inventory.Count <= 30)
{
//if (client.Inventory.Contains(720356, 1))
//{
ConquerItem item2 = new ConquerItem(true);
item2.ID = itemid2;
item2.Color = COServer.Game.Enums.Color.White;
item2.Bound = true;
item2.Plus = 3;
//item2.Bless = 1;
item2.Durability = item2.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid2].Durability;
client.Inventory.Add(item2, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item3 = new ConquerItem(true);
item3.ID = itemid3;
item3.Color = COServer.Game.Enums.Color.White;
item3.Bound = true;
item3.Plus = 3;
item3.Durability = item3.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid3].Durability;
client.Inventory.Add(item3, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item4 = new ConquerItem(true);
item4.ID = itemid4;
item4.Color = COServer.Game.Enums.Color.White;
item4.Bound = true;
item4.Plus = 3;
item4.Durability = item4.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid4].Durability;
client.Inventory.Add(item4, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item5 = new ConquerItem(true);
item5.ID = itemid5;
item5.Color = COServer.Game.Enums.Color.White;
item5.Bound = true;
item5.Plus = 3;
item5.Durability = item5.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid5].Durability;
client.Inventory.Add(item5, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item6 = new ConquerItem(true);
item6.ID = itemid6;
item6.Color = COServer.Game.Enums.Color.White;
item6.Bound = true;
item6.Plus = 3;
item6.Enchant = 250;
item6.Durability = item6.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid6].Durability;
client.Inventory.Add(item6, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item7 = new ConquerItem(true);
item7.ID = itemid7;
item7.Color = COServer.Game.Enums.Color.White;
item7.Bound = true;
item7.Plus = 3;
item7.Enchant = 250;
item7.Durability = item7.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid7].Durability;
client.Inventory.Add(item7, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item8 = new ConquerItem(true);
item8.ID = itemid8;
item8.Color = COServer.Game.Enums.Color.White;
item8.Bound = true;
item8.Plus = 3;
item8.Enchant = 250;
item8.Durability = item8.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid8].Durability;
client.Inventory.Add(item8, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item9 = new ConquerItem(true);
item9.ID = itemid9;
item9.Color = COServer.Game.Enums.Color.White;
item9.Bound = true;
item9.Plus = 3;
item9.Enchant = 250;
item9.Durability = item9.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid9].Durability;
client.Inventory.Add(item9, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item = new ConquerItem(true);
item.ID = itemid;
item.Color = COServer.Game.Enums.Color.White;
item.Bound = true;
item.Plus = 3;
//
// item.Durability = item.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
if (client.Inventory.Add(item, COServer.Game.Enums.ItemUse.CreateAndAdd))
{
// client.Inventory.Remove(720356, 1); (720356, 1);
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "You have obtained Lee Long Pack havefun in Owel?");
client.Entity.Teleport(1002, 300, 278);
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
#region BoundItems Thunderstriker
case 48:
{
uint itemid = 202009;//Tower
uint itemid2 = 201009;//Fan
uint itemid3 = 160039;//Boot
uint itemid4 = 120029;//Necklace
uint itemid5 = 150039;//Ring
/////////////////////////////
uint itemid6 = 146309;//Earrings
uint itemid7 = 102200;//Armor
uint itemid8 = 680439;//Thunderstriker 1
uint itemid9 = 681439;//Thunderstriker 2
if (client.Inventory.Count <= 30)
{
//if (client.Inventory.Contains(720356, 1))
//{
ConquerItem item2 = new ConquerItem(true);
item2.ID = itemid2;
item2.Color = COServer.Game.Enums.Color.White;
item2.Bound = true;
item2.Plus = 3;
//item2.Bless = 1;
item2.Durability = item2.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid2].Durability;
client.Inventory.Add(item2, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item3 = new ConquerItem(true);
item3.ID = itemid3;
item3.Color = COServer.Game.Enums.Color.White;
item3.Bound = true;
item3.Plus = 3;
item3.Durability = item3.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid3].Durability;
client.Inventory.Add(item3, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item4 = new ConquerItem(true);
item4.ID = itemid4;
item4.Color = COServer.Game.Enums.Color.White;
item4.Bound = true;
item4.Plus = 3;
item4.Durability = item4.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid4].Durability;
client.Inventory.Add(item4, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item5 = new ConquerItem(true);
item5.ID = itemid5;
item5.Color = COServer.Game.Enums.Color.White;
item5.Bound = true;
item5.Plus = 3;
item5.Durability = item5.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid5].Durability;
client.Inventory.Add(item5, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item6 = new ConquerItem(true);
item6.ID = itemid6;
item6.Color = COServer.Game.Enums.Color.White;
item6.Bound = true;
item6.Plus = 3;
item6.Enchant = 250;
item6.Durability = item6.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid6].Durability;
client.Inventory.Add(item6, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item7 = new ConquerItem(true);
item7.ID = itemid7;
item7.Color = COServer.Game.Enums.Color.White;
item7.Bound = true;
item7.Plus = 3;
item7.Enchant = 250;
item7.Durability = item7.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid7].Durability;
client.Inventory.Add(item7, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item8 = new ConquerItem(true);
item8.ID = itemid8;
item8.Color = COServer.Game.Enums.Color.White;
item8.Bound = true;
item8.Plus = 3;
item8.Enchant = 250;
item8.Durability = item8.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid8].Durability;
client.Inventory.Add(item8, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item9 = new ConquerItem(true);
item9.ID = itemid9;
item9.Color = COServer.Game.Enums.Color.White;
item9.Bound = true;
item9.Plus = 3;
item9.Enchant = 250;
item9.Durability = item9.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid9].Durability;
client.Inventory.Add(item9, COServer.Game.Enums.ItemUse.CreateAndAdd);
ConquerItem item = new ConquerItem(true);
item.ID = itemid;
item.Color = COServer.Game.Enums.Color.White;
item.Bound = true;
item.Plus = 3;
//
// item.Durability = item.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
if (client.Inventory.Add(item, COServer.Game.Enums.ItemUse.CreateAndAdd))
{
// client.Inventory.Remove(720356, 1); (720356, 1);
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "You have obtained Lee Long Pack havefun in Owel?");
client.Entity.Teleport(1002, 300, 278);
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
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
أدوات الموضوع | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
Npc بيدي سطف (صول/ارواح) 7 او 8 او 9 بالشخصيه الجديده ThunderStriker او ثور | M.H.B[X-Coder]X | تطوير سيرفرات كونكر | 8 | 2020-03-15 03:00 PM |
الرونز الجديده | Users | مشكلات السيرفيرات كونكر الشخصيه | 2 | 2020-01-25 03:36 AM |
مهم للناس الجديده | Tefa | مشكلات السيرفيرات كونكر الشخصيه | 6 | 2019-08-04 12:46 PM |
انبي سي تبديل السبس بي سبس بوند | Hassan Emprator | تطوير سيرفرات كونكر | 2 | 2019-07-22 11:19 PM |
شفرة جديدة للـ عايز يجيب أيتم بوند | محمد ياسر | تطوير سيرفرات كونكر | 0 | 2019-04-24 09:08 AM |