Hassan Emprator
2019-11-30, 03:18 AM
#region Sell Stuff Full //by Emprator
case 52147:
{
dialog.Avatar(218);
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Welcome at " + Constants.ServerName + " server You Can buy ");
dialog.Option("Warrior item's", 1);
dialog.Option("Archer item's", 2);
dialog.Option("Ninja item's", 3);
dialog.Option("Monk item's", 4);
dialog.Option("Trojan item's", 5);
dialog.Option("Pirate item's", 6);
dialog.Option("Water..Fire item's", 7);
dialog.Option("DragonWarrior item's", 8);
dialog.Option("Windwalker items", 9);
dialog.Option("Steed > tower > fan > wing > Crop", 10);
dialog.Option("thanks", 255);
dialog.Avatar(218);
dialog.Send();
break;//Weapon
}
#region Steed > tower > fan > wing >
case 10:
{
uint itemid1 = 300000;//Steed
uint itemid2 = 202009;//Tower
uint itemid3 = 201009;//Fan
uint itemid4 = 204009;//Wing
uint itemid5 = 203009;//Crop
//uint itemid6 = 2100065;//Cup
MsgItemInfo item1 = new MsgItemInfo(true);
item1.ID = itemid1;
item1.Color = Game.Enums.Color.White;
item1.Plus = 12;
item1.Durability = item1.MaximDurability = Database.ConquerItemInformation.BaseInformations[itemid1].Durability;
client.Inventory.Add(item1, Game.Enums.ItemUse.CreateAndAdd);
Database.ConquerItemTable.UpdatePerfection(item1);
MsgItemInfo item2 = new MsgItemInfo(true);
item2.ID = itemid2;
item2.Color = Game.Enums.Color.White;
item2.Plus = 6;
item2.Bless = 1;
item2.SocketOne = Game.Enums.Gem.SuperGloryGem;
item2.SocketTwo = Game.Enums.Gem.SuperGloryGem;
item2.Durability = item2.MaximDurability = Database.ConquerItemInformation.BaseInformations[itemid2].Durability;
client.Inventory.Add(item2, Game.Enums.ItemUse.CreateAndAdd);
Database.ConquerItemTable.UpdatePerfection(item2);
MsgItemInfo item3 = new MsgItemInfo(true);
item3.ID = itemid3;
item3.Color = Game.Enums.Color.White;
item3.Plus = 6;
item3.Bless = 1;
item3.SocketOne = Game.Enums.Gem.SuperThunderGem;
item3.SocketTwo = Game.Enums.Gem.SuperThunderGem;
item3.Durability = item3.MaximDurability = Database.ConquerItemInformation.BaseInformations[itemid3].Durability;
client.Inventory.Add(item3, Game.Enums.ItemUse.CreateAndAdd);
Database.ConquerItemTable.UpdatePerfection(item3);
MsgItemInfo item4 = new MsgItemInfo(true);
item4.ID = itemid4;
item4.Color = Game.Enums.Color.White;
item4.Plus = 6;
item4.Bless = 0;
item4.SocketOne = Game.Enums.Gem.SuperThunderGem;
item4.SocketTwo = Game.Enums.Gem.SuperGloryGem;
item4.Durability = item4.MaximDurability = Database.ConquerItemInformation.BaseInformations[itemid4].Durability;
client.Inventory.Add(item4, Game.Enums.ItemUse.CreateAndAdd);
Database.ConquerItemTable.UpdatePerfection(item4);
MsgItemInfo item5 = new MsgItemInfo(true);
item5.ID = itemid5;
item5.Color = Game.Enums.Color.White;
item5.Plus = 6;
item5.Bless = 1;
item5.Durability = item5.MaximDurability = Database.ConquerItemInformation.BaseInformations[itemid5].Durability;
client.Inventory.Add(item5, Game.Enums.ItemUse.CreateAndAdd);
Database.ConquerItemTable.UpdatePerfection(item5);
MsgItemInfo item6 = new MsgItemInfo(true);
//item6.ID = itemid6;
item6.Color = Game.Enums.Color.White;
item6.Plus = 0;
item6.Bless = 1;
item6.SocketOne = 0;
item6.SocketTwo = 0;
//item6.Durability = item6.MaximDurability = Database.ConquerItemInformation.BaseInformations[itemid6].Durability;
client.Inventory.Add(item6, Game.Enums.ItemUse.CreateAndAdd);
break;
}
#endregion
#region Items Warrior
case 1:
{
client.Inventory.AddSoul(624439, 801218, 6, 12, 6, 1, true, false);//Fist
client.Inventory.AddSoul(624439, 801218, 6, 12, 6, 1, true, false);//Fist
client.Inventory.AddSoul(560439, 800215, 6, 12, 6, 1, true, false);//Spear
client.Inventory.AddSoul(900309, 800422, 6, 12, 6, 1, true, false);//Shield
client.Inventory.AddSoul(131309, 822071, 6, 12, 6, 1, true, false);//ArmorWarrior
client.Inventory.AddSoul(111309, 820073, 6, 12, 6, 1, true, false);//CapWarrior
client.Inventory.AddSoul(120269, 821033, 6, 12, 6, 1, true, false);//Necklace
client.Inventory.AddSoul(150269, 823058, 6, 12, 6, 1, true, false);//Ring
client.Inventory.AddSoul(160249, 824018, 6, 12, 6, 1, true, false);//Boot
dialog.Text("thanks for this gift you have got item soul stablized forever ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
#endregion
#region Items Archer
case 2:
{
client.Inventory.AddSoul(613429, 800917, 6, 12, 6, 1, true, false);//Knife
client.Inventory.AddSoul(613429, 800917, 6, 12, 6, 1, true, false);//Knife
client.Inventory.AddSoul(500429, 800618, 6, 12, 6, 1, true, false);//Bow
client.Inventory.AddSoul(133309, 822071, 6, 12, 6, 1, true, false);//ArmorArcher
client.Inventory.AddSoul(113309, 820073, 6, 12, 6, 1, true, false);//CapArcher
client.Inventory.AddSoul(120269, 821033, 6, 12, 6, 1, true, false);//Necklace
client.Inventory.AddSoul(150269, 823058, 6, 12, 6, 1, true, false);//Ring
client.Inventory.AddSoul(160249, 824018, 6, 12, 6, 1, true, false);//Boot
dialog.Text("thanks for this gift you have got item soul stablized forever ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
#endregion
#region Items Ninja
case 3:
{
client.Inventory.AddSoul(511439, 800255, 6, 12, 6, 1, true, false);//Scythe
client.Inventory.AddSoul(616439, 800111, 6, 12, 6, 1, true, false);//Katana
client.Inventory.AddSoul(616439, 800111, 6, 12, 6, 1, true, false);//Katana
client.Inventory.AddSoul(601439, 800111, 6, 12, 6, 1, true, false);//Katana
client.Inventory.AddSoul(601439, 800111, 6, 12, 6, 1, true, false);//Katana
client.Inventory.AddSoul(601439, 800142, 6, 12, 6, 1, true, false);//Katana
client.Inventory.AddSoul(601439, 800142, 6, 12, 6, 1, true, false);//Katana
client.Inventory.AddSoul(135309, 822071, 6, 12, 6, 1, true, false);//ArmorNinja
client.Inventory.AddSoul(123309, 820073, 6, 12, 6, 1, true, false);//NinjaHood
client.Inventory.AddSoul(120269, 821033, 6, 12, 6, 1, true, false);//Necklace
client.Inventory.AddSoul(150269, 823058, 6, 12, 6, 1, true, false);//Ring
client.Inventory.AddSoul(160249, 824018, 6, 12, 6, 1, true, false);//Boot
dialog.Text("thanks for this gift you have got item soul stablized forever ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
#endregion
#region Items Monk
case 4:
{
client.Inventory.AddSoul(622439, 800725, 6, 12, 6, 1, true, false);//AlmightyEmperor's
client.Inventory.AddSoul(622439, 800725, 6, 12, 6, 1, true, false);//AlmightyEmperor's
client.Inventory.AddSoul(610439, 800725, 6, 12, 6, 1, true, false);//Beads
client.Inventory.AddSoul(610439, 800725, 6, 12, 6, 1, true, false);//Beads
client.Inventory.AddSoul(136309, 822071, 6, 12, 6, 1, true, false);//ArmorMonk
client.Inventory.AddSoul(143309, 820073, 6, 12, 6, 1, true, false);//CapMonk
client.Inventory.AddSoul(120269, 821033, 6, 12, 6, 1, true, false);//Necklace
client.Inventory.AddSoul(150269, 823058, 6, 12, 6, 1, true, false);//Ring
client.Inventory.AddSoul(160249, 824018, 6, 12, 6, 1, true, false);//Boot
dialog.Text("thanks for this gift you have got item soul stablized forever ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
#endregion
#region Items Trojan
case 5:
{
client.Inventory.AddSoul(480439, 800111, 6, 12, 6, 1, true, false);//Clup
client.Inventory.AddSoul(614439, 800111, 6, 12, 6, 1, true, false);//ShadowCrossSaber
client.Inventory.AddSoul(614439, 800111, 6, 12, 6, 1, true, false);//ShadowCrossSaber
client.Inventory.AddSoul(490439, 800111, 6, 12, 6, 1, true, false);//Dagger
client.Inventory.AddSoul(410439, 800111, 6, 12, 6, 1, true, false);//Blade
client.Inventory.AddSoul(420439, 800111, 6, 12, 6, 1, true, false);//Sword
client.Inventory.AddSoul(130309, 822071, 6, 12, 6, 1, true, false);//ArmorTrojan
client.Inventory.AddSoul(118309, 820073, 6, 12, 6, 1, true, false);//CapTrojan
client.Inventory.AddSoul(120269, 821033, 6, 12, 6, 1, true, false);//Necklace
client.Inventory.AddSoul(150269, 823058, 6, 12, 6, 1, true, false);//Ring
client.Inventory.AddSoul(160249, 824018, 6, 12, 6, 1, true, false);//Boot
dialog.Text("thanks for this gift you have got item soul stablized forever ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
#endregion
#region Items Pirate
case 6:
{
client.Inventory.AddSoul(611439, 800811, 6, 12, 6, 1, true, false);//Rapier
client.Inventory.AddSoul(612439, 800810, 6, 12, 6, 1, true, false);//Pistol
client.Inventory.AddSoul(139309, 822071, 6, 12, 6, 1, true, false);//ArmorPirate
client.Inventory.AddSoul(144309, 820073, 6, 12, 6, 1, true, false);//CapPirate
client.Inventory.AddSoul(120269, 821033, 6, 12, 6, 1, true, false);//Necklace
client.Inventory.AddSoul(150269, 823058, 6, 12, 6, 1, true, false);//Ring
client.Inventory.AddSoul(160249, 824018, 6, 12, 6, 1, true, false);//Boot
dialog.Text("thanks for this gift you have got item soul stablized forever ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
#endregion
#region Items Taoist
case 7:
{
client.Inventory.AddSoul(620439, 800522, 6, 12, 6, 1, true, false);//BackSword
client.Inventory.AddSoul(619439, 801104, 6, 12, 6, 1, true, false);//UniverseHossu
client.Inventory.AddSoul(134309, 822071, 6, 12, 6, 1, true, false);//ArmorFire
client.Inventory.AddSoul(114309, 820076, 6, 12, 6, 1, true, false);//CapFire
client.Inventory.AddSoul(152279, 823060, 6, 12, 6, 1, true, false);//Bracelet
client.Inventory.AddSoul(121269, 821034, 6, 12, 6, 1, true, false);//Bag
client.Inventory.AddSoul(160249, 824018, 6, 12, 6, 1, true, false);//Boot
dialog.Text("thanks for this gift you have got item soul stablized forever ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
#endregion
#region Items Dragonwarrior
case 8:
{
client.Inventory.AddSoul(617439, 801004, 6, 12, 6, 1, true, false);//SkyNunchaku
client.Inventory.AddSoul(617439, 801004, 6, 12, 6, 1, true, false);//SkyNunchaku
client.Inventory.AddSoul(138309, 822071, 6, 12, 6, 1, true, false);//Bruce_LeeArmor
client.Inventory.AddSoul(148309, 820073, 6, 12, 6, 1, true, false);//Bruce_LeeHood
client.Inventory.AddSoul(120269, 821033, 6, 12, 6, 1, true, false);//Necklace
client.Inventory.AddSoul(150269, 823058, 6, 12, 6, 1, true, false);//Ring
client.Inventory.AddSoul(160249, 824018, 6, 12, 6, 1, true, false);//Boot
dialog.Text("thanks for this gift you have got item soul stablized forever ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
#endregion
#region Items Windwalker
case 9:
{
client.Inventory.AddSoul(626439, 801308, 6, 12, 6, 1, true, false);//Rapier
client.Inventory.AddSoul(626439, 801308, 6, 12, 6, 1, true, false);//Pistol
client.Inventory.AddSoul(101309, 822071, 6, 12, 6, 1, true, false);//ArmorPirate
client.Inventory.AddSoul(170309, 820073, 6, 12, 6, 1, true, false);//CapPirate
client.Inventory.AddSoul(120269, 821033, 6, 12, 6, 1, true, false);//Necklace
client.Inventory.AddSoul(150269, 823058, 6, 12, 6, 1, true, false);//Ring
client.Inventory.AddSoul(160249, 824018, 6, 12, 6, 1, true, false);//Boot
dialog.Text("thanks for this gift you have got item soul stablized forever ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
#endregion
}
break;
}
#
endregion
تفضل