Advertisement
Genral

NPCS Stuff

Mar 8th, 2016
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 71.41 KB | None | 0 0
  1. #region [Stuff Sell]
  2.                     case 508456:
  3.                         {
  4.                             dialog.Avatar(256);
  5.                             switch(npcRequest.OptionID)
  6.                             {
  7.                                 case 0:
  8.                                     {
  9.                                         dialog.Text("Select the item you want to buy \n");
  10.                                         dialog.Text("you own [ " + client.Entity.ConquerPoints + " ] Cps \n");
  11.                                         dialog.Text("All item +12 2 Socket damig -7 hp 250");
  12.                                         dialog.Option("Boots buy [ 145k ] Cps", 1);
  13.                                         dialog.Option("Necklace buy [ 145k ] Cps", 2);
  14.                                         dialog.Option("CrimsonRing buy [ 145k ] Cps", 3);
  15.                                         dialog.Option("Volcano buy [ 145k ] Cps", 4);
  16.                                         dialog.Option("DreamEarrings buy [ 145k ] Cps", 5);
  17.                                         dialog.Option("HeavenFan buy [ 159k ] Cps", 6);
  18.                                         dialog.Option("StarTower buy [ 159k ] Cps", 7);
  19.                                         dialog.Option("tempestwing buy [ 159k ] Cps", 8);
  20.                                         dialog.Option("Next..", 9);
  21.                                         dialog.Option("Thanks!", 255);
  22.                                         break;
  23.                                     }
  24.                                 case 1:
  25.                                 case 2:
  26.                                 case 3:
  27.                                 case 4:
  28.                                 case 5:
  29.                                 case 6:
  30.                                 case 7:
  31.                                 case 8:
  32.                                 case 9:
  33.                                 case 10:
  34.                                 case 11:
  35.                                 case 12:
  36.                                 case 13:
  37.                                 case 14:
  38.                                 case 15:
  39.                                 case 16:
  40.                                 case 17:
  41.                                 case 18:
  42.                                 case 19:
  43.                                 case 20:
  44.                                 case 21:
  45.                                 case 22:
  46.                                 case 23:
  47.                                 case 24:
  48.                                 case 25:
  49.                                 case 26:
  50.                                 case 27:
  51.                                 case 28:
  52.                                 case 29:
  53.                                 case 30:
  54.                                 case 31:
  55.                                 case 32:
  56.                                 case 33:
  57.                                 case 34:
  58.                                 case 35:
  59.                                 case 36:
  60.                                 case 37:
  61.                                 case 38:
  62.                                 case 39:
  63.                                 case 40:
  64.                                 case 41:
  65.                                 case 42:
  66.                                 case 43:
  67.                                 case 44:
  68.                                 case 45:
  69.                                 case 46:
  70.                                 case 47:
  71.                                 case 48:
  72.                                 case 49:
  73.                                 case 50:
  74.                                 case 51:
  75.                                 case 52:
  76.                                 case 53:
  77.                                 case 54:
  78.                                 case 55:
  79.                                 case 56:
  80.                                 case 57:
  81.                                 case 58:
  82.                                 case 59:
  83.                                 case 60:
  84.                                 case 61:
  85.                                 case 62:
  86.                                 case 100:
  87.                                     {
  88.                                         uint boots = 250000;
  89.                                         uint Tower = 300000;
  90.                                         uint Wpans = 200000;
  91.                                         uint EpicWpans = 2000000;
  92.                                         uint epictoist = 1000000;
  93.                                         if(npcRequest.OptionID == 100)
  94.                                         {
  95.                                             dialog.Text("Select the item you want to buy \n");
  96.                                             dialog.Text("you own [ " + client.Entity.ConquerPoints + " ] Cps \n");
  97.                                             dialog.Text("All item +12 2 Socket damig -7 hp 250");
  98.                                             dialog.Option("Boots buy [ 145k ] Cps", 1);
  99.                                             dialog.Option("Necklace buy [ 145k ] Cps", 2);
  100.                                             dialog.Option("CrimsonRing buy [ 145k ] Cps", 3);
  101.                                             dialog.Option("Volcano buy [ 145k ] Cps", 4);
  102.                                             dialog.Option("DreamEarrings buy [ 145k ] Cps", 5);
  103.                                             dialog.Option("HeavenFan buy [ 159k ] Cps", 6);
  104.                                             dialog.Option("StarTower buy [ 159k ] Cps", 7);
  105.                                             dialog.Option("tempestwing buy [ 159k ] Cps", 8);
  106.                                             dialog.Option("Next..", 9);
  107.                                             dialog.Option("Thanks!", 255);
  108.                                         }
  109.                                         #region Stuff Basic
  110.                                         #region [Boots]
  111.                                         if (npcRequest.OptionID == 1)
  112.                                         {
  113.                                             if (client.Entity.ConquerPoints >= boots)
  114.                                             {
  115.                                                 client.Inventory.AddStuff(160249, 12, 1, 7, 250, 13, 13, false);
  116.                                                 client.Entity.ConquerPoints -= boots;
  117.                                             }
  118.                                             else
  119.                                             {
  120.                                                 dialog.Text("Sorry you do not have " + boots + " cps");
  121.                                                 dialog.Option("Sorry", 255);
  122.                                             }
  123.                                         }
  124.                                         #endregion
  125.                                         #region [Necklace]
  126.                                         if (npcRequest.OptionID == 2)
  127.                                         {
  128.                                             if (client.Entity.ConquerPoints >= boots)
  129.                                             {
  130.                                                 client.Inventory.AddStuff(120269, 12, 1, 7, 250, 13, 13, false);
  131.                                                 client.Entity.ConquerPoints -= boots;
  132.                                             }
  133.                                             else
  134.                                             {
  135.                                                 dialog.Text("Sorry you do not have " + boots + " cps");
  136.                                                 dialog.Option("Sorry", 255);
  137.                                             }
  138.                                         }
  139.                                         #endregion
  140.                                         #region [CrimsonRing]
  141.                                         if (npcRequest.OptionID == 3)
  142.                                         {
  143.                                             if (client.Entity.ConquerPoints >= boots)
  144.                                             {
  145.                                                 client.Inventory.AddStuff(150269, 12, 1, 7, 250, 13, 13, false);
  146.                                                 client.Entity.ConquerPoints -= boots;
  147.                                             }
  148.                                             else
  149.                                             {
  150.                                                 dialog.Text("Sorry you do not have " + boots + " cps");
  151.                                                 dialog.Option("Sorry", 255);
  152.                                             }
  153.                                         }
  154.                                         #endregion
  155.                                         #region [Volcano]
  156.                                         if (npcRequest.OptionID == 4)
  157.                                         {
  158.                                             if (client.Entity.ConquerPoints >= boots)
  159.                                             {
  160.                                                 client.Inventory.AddStuff(151249, 12, 1, 7, 250, 13, 13, false);
  161.                                                 client.Entity.ConquerPoints -= boots;
  162.                                             }
  163.                                             else
  164.                                             {
  165.                                                 dialog.Text("Sorry you do not have " + boots + " cps");
  166.                                                 dialog.Option("Sorry", 255);
  167.                                             }
  168.                                         }
  169.                                         #endregion
  170.                                         #region [DreamEarrings]
  171.                                         if (npcRequest.OptionID == 5)
  172.                                         {
  173.                                             if (client.Entity.ConquerPoints >= boots)
  174.                                             {
  175.                                                 client.Inventory.AddStuff(117309, 12, 1, 7, 250, 13, 13, false);
  176.                                                 client.Entity.ConquerPoints -= boots;
  177.                                             }
  178.                                             else
  179.                                             {
  180.                                                 dialog.Text("Sorry you do not have " + boots + " cps");
  181.                                                 dialog.Option("Sorry", 255);
  182.                                             }
  183.                                         }
  184.                                         #endregion
  185.                                         #region [HeavenFan]
  186.                                         if (npcRequest.OptionID == 6)
  187.                                         {
  188.                                             if (client.Entity.ConquerPoints >= Tower)
  189.                                             {
  190.                                                 client.Inventory.AddStuff(201009, 12, 1, 1, 0, 103, 103, false);
  191.                                                 client.Entity.ConquerPoints -= Tower;
  192.                                             }
  193.                                             else
  194.                                             {
  195.                                                 dialog.Text("Sorry you do not have " + Tower + " cps");
  196.                                                 dialog.Option("Sorry", 255);
  197.                                             }
  198.                                         }
  199.                                         #endregion
  200.                                         #region [StarTower]
  201.                                         if (npcRequest.OptionID == 7)
  202.                                         {
  203.                                             if (client.Entity.ConquerPoints >= Tower)
  204.                                             {
  205.                                                 client.Inventory.AddStuff(202009, 12, 1, 1, 0, 123, 123, false);
  206.                                                 client.Entity.ConquerPoints -= Tower;
  207.                                             }
  208.                                             else
  209.                                             {
  210.                                                 dialog.Text("Sorry you do not have " + Tower + " cps");
  211.                                                 dialog.Option("Sorry", 255);
  212.                                             }
  213.                                         }
  214.                                         #endregion
  215.                                         #region [tempestwing]
  216.                                         if (npcRequest.OptionID == 8)
  217.                                         {
  218.                                             if (client.Entity.ConquerPoints >= Tower)
  219.                                             {
  220.                                                 client.Inventory.AddStuff(204009, 12, 1, 1, 0, 103, 123, false);
  221.                                                 client.Entity.ConquerPoints -= Tower;
  222.                                             }
  223.                                             else
  224.                                             {
  225.                                                 dialog.Text("Sorry you do not have " + Tower + " cps");
  226.                                                 dialog.Option("Sorry", 255);
  227.                                             }
  228.                                         }
  229.                                         #endregion
  230.                                         #endregion
  231.                                         if(npcRequest.OptionID == 9)
  232.                                         {
  233.                                             dialog.Text("Select the item you want to buy \n");
  234.                                             dialog.Text("you own [ " + client.Entity.ConquerPoints + " ] Cps \n");
  235.                                             dialog.Text("All item +12 2 Socket damig -7 hp 250");
  236.                                             dialog.Option("Stuff Pirate", 10);
  237.                                             dialog.Option("Stuff Trojan", 11);
  238.                                             dialog.Option("Stuff Archer & Assassin", 12);
  239.                                             dialog.Option("Stuff Ninja", 13);
  240.                                             dialog.Option("Stuff Monk", 14);
  241.                                             dialog.Option("Stuff Warrior", 15);
  242.                                             dialog.Option("Stuff Taoist", 16);
  243.                                             dialog.Option("Stuff LE-Long", 17);
  244.                                             dialog.Option("Back..", 100);
  245.                                             dialog.Option("thank you", 255);
  246.                                         }
  247.                                         #region [Stuff Pirate]
  248.                                         if(npcRequest.OptionID == 10)
  249.                                         {
  250.                                             dialog.Text("Select the item you want to buy \n");
  251.                                             dialog.Text("you own [ " + client.Entity.ConquerPoints + " ] Cps \n");
  252.                                             dialog.Text("All item +12 2 Socket damig -7 hp 250");
  253.                                             dialog.Option("CaptainRapier buy [ " + Wpans + " ] Cps", 18);
  254.                                             dialog.Option("LordPistol buy [ " + Wpans + " ]", 19);
  255.                                             dialog.Option("DarkDragonCoat buy [ " + boots + " ] Cps", 20);
  256.                                             dialog.Option("DominatorHat buy [ " + boots + " ] Cps", 21);
  257.                                             dialog.Option("Back..", 100);
  258.                                             dialog.Option("thank you", 255);
  259.                                         }
  260.                                         #region [CaptainRapier]
  261.                                         if (npcRequest.OptionID == 18)
  262.                                         {
  263.                                             if (client.Entity.ConquerPoints >= Wpans)
  264.                                             {
  265.                                                 client.Inventory.AddStuff(611439, 12, 1, 7, 250, 13, 13, false);
  266.                                                 client.Entity.ConquerPoints -= Wpans;
  267.                                             }
  268.                                             else
  269.                                             {
  270.                                                 dialog.Text("Sorry you do not have " + Wpans + " cps");
  271.                                                 dialog.Option("Sorry", 255);
  272.                                             }
  273.                                         }
  274.                                         #endregion
  275.                                         #region [LordPistol]
  276.                                         if (npcRequest.OptionID == 19)
  277.                                         {
  278.                                             if (client.Entity.ConquerPoints >= Wpans)
  279.                                             {
  280.                                                 client.Inventory.AddStuff(612439, 12, 1, 7, 250, 13, 13, false);
  281.                                                 client.Entity.ConquerPoints -= Wpans;
  282.                                             }
  283.                                             else
  284.                                             {
  285.                                                 dialog.Text("Sorry you do not have " + Wpans + " cps");
  286.                                                 dialog.Option("Sorry", 255);
  287.                                             }
  288.                                         }
  289.                                         #endregion
  290.                                         #region [DarkDragonCoat]
  291.                                         if (npcRequest.OptionID == 20)
  292.                                         {
  293.                                             if (client.Entity.ConquerPoints >= boots)
  294.                                             {
  295.                                                 client.Inventory.AddStuff(139309, 12, 1, 7, 250, 13, 13, false);
  296.                                                 client.Entity.ConquerPoints -= boots;
  297.                                             }
  298.                                             else
  299.                                             {
  300.                                                 dialog.Text("Sorry you do not have " + boots + " cps");
  301.                                                 dialog.Option("Sorry", 255);
  302.                                             }
  303.                                         }
  304.                                         #endregion
  305.                                         #region [DominatorHat]
  306.                                         if (npcRequest.OptionID == 21)
  307.                                         {
  308.                                             if (client.Entity.ConquerPoints >= boots)
  309.                                             {
  310.                                                 client.Inventory.AddStuff(144309, 12, 1, 7, 250, 13, 13, false);
  311.                                                 client.Entity.ConquerPoints -= boots;
  312.                                             }
  313.                                             else
  314.                                             {
  315.                                                 dialog.Text("Sorry you do not have " + boots + " cps");
  316.                                                 dialog.Option("Sorry", 255);
  317.                                             }
  318.                                         }
  319.                                         #endregion
  320.                                         #endregion
  321.                                         #region [Stuff Trojan]
  322.                                         if (npcRequest.OptionID == 11)
  323.                                         {
  324.                                             dialog.Text("Select the item you want to buy \n");
  325.                                             dialog.Text("you own [ " + client.Entity.ConquerPoints + " ] Cps \n");
  326.                                             dialog.Text("All item +12 2 Socket damig -7 hp 250");
  327.                                             dialog.Option("SkyBlade buy [ " + Wpans + " ] Cps", 22);
  328.                                             dialog.Option("SquallSword buy [ " + Wpans + " ] Cps", 23);
  329.                                             dialog.Option("NirvanaClub buy [ " + Wpans + " ] Cps", 24);
  330.                                             dialog.Option("ObsidianArmor buy [ " + boots + " ] Cps", 25);
  331.                                             dialog.Option("PeerlessCoronet buy [ " + boots + " ] Cps", 26);
  332.                                             dialog.Option("TrojanEpc buy [ " + EpicWpans + " ] Cps", 27);
  333.                                             dialog.Option("Back..", 100);
  334.                                             dialog.Option("thank you", 255);
  335.                                         }
  336.                                         #region [SkyBlade]
  337.                                         if (npcRequest.OptionID == 22)
  338.                                         {
  339.                                             if (client.Entity.ConquerPoints >= Wpans)
  340.                                             {
  341.                                                 client.Inventory.AddStuff(410439, 12, 1, 7, 250, 13, 13, false);
  342.                                                 client.Entity.ConquerPoints -= Wpans;
  343.                                             }
  344.                                             else
  345.                                             {
  346.                                                 dialog.Text("Sorry you do not have " + Wpans + " cps");
  347.                                                 dialog.Option("Sorry", 255);
  348.                                             }
  349.                                         }
  350.                                         #endregion
  351.                                         #region [SquallSword]
  352.                                         if (npcRequest.OptionID == 23)
  353.                                         {
  354.                                             if (client.Entity.ConquerPoints >= Wpans)
  355.                                             {
  356.                                                 client.Inventory.AddStuff(420439, 12, 1, 7, 250, 13, 13, false);
  357.                                                 client.Entity.ConquerPoints -= Wpans;
  358.                                             }
  359.                                             else
  360.                                             {
  361.                                                 dialog.Text("Sorry you do not have " + Wpans + " cps");
  362.                                                 dialog.Option("Sorry", 255);
  363.                                             }
  364.                                         }
  365.                                         #endregion
  366.                                         #region [NirvanaClub]
  367.                                         if (npcRequest.OptionID == 24)
  368.                                         {
  369.                                             if (client.Entity.ConquerPoints >= Wpans)
  370.                                             {
  371.                                                 client.Inventory.AddStuff(480439, 12, 1, 7, 250, 13, 13, false);
  372.                                                 client.Entity.ConquerPoints -= Wpans;
  373.                                             }
  374.                                             else
  375.                                             {
  376.                                                 dialog.Text("Sorry you do not have " + Wpans + " cps");
  377.                                                 dialog.Option("Sorry", 255);
  378.                                             }
  379.                                         }
  380.                                         #endregion
  381.                                         #region [ObsidianArmor]
  382.                                         if (npcRequest.OptionID == 25)
  383.                                         {
  384.                                             if (client.Entity.ConquerPoints >= boots)
  385.                                             {
  386.                                                 client.Inventory.AddStuff(130309, 12, 1, 7, 250, 13, 13, false);
  387.                                                 client.Entity.ConquerPoints -= boots;
  388.                                             }
  389.                                             else
  390.                                             {
  391.                                                 dialog.Text("Sorry you do not have " + boots + " cps");
  392.                                                 dialog.Option("Sorry", 255);
  393.                                             }
  394.                                         }
  395.                                         #endregion
  396.                                         #region [PeerlessCoronet]
  397.                                         if (npcRequest.OptionID == 26)
  398.                                         {
  399.                                             if (client.Entity.ConquerPoints >= boots)
  400.                                             {
  401.                                                 client.Inventory.AddStuff(118309, 12, 1, 7, 250, 13, 13, false);
  402.                                                 client.Entity.ConquerPoints -= boots;
  403.                                             }
  404.                                             else
  405.                                             {
  406.                                                 dialog.Text("Sorry you do not have " + boots + " cps");
  407.                                                 dialog.Option("Sorry", 255);
  408.                                             }
  409.                                         }
  410.                                         #endregion
  411.                                         #region [FangCrossSaber]
  412.                                         if (npcRequest.OptionID == 27)
  413.                                         {
  414.                                             if (client.Entity.ConquerPoints >= EpicWpans)
  415.                                             {
  416.                                                 client.Inventory.AddStuff(614439, 12, 1, 7, 250, 13, 13, false);
  417.                                                 client.Entity.ConquerPoints -= EpicWpans;
  418.                                             }
  419.                                             else
  420.                                             {
  421.                                                 dialog.Text("Sorry you do not have " + EpicWpans + " cps");
  422.                                                 dialog.Option("Sorry", 255);
  423.                                             }
  424.                                         }
  425.                                         #endregion
  426.                                         #endregion
  427.                                         #region [Stuff Archer]
  428.                                         if (npcRequest.OptionID == 12)
  429.                                         {
  430.                                             dialog.Text("Select the item you want to buy \n");
  431.                                             dialog.Text("you own [ " + client.Entity.ConquerPoints + " ] Cps \n");
  432.                                             dialog.Text("All item +12 2 Socket damig -7 hp 250");
  433.                                             dialog.Option("FantasyKnife buy [ " + Wpans + " ] Cps", 28);
  434.                                             dialog.Option("HeavenlyBow buy [ " + Wpans + " ] Cps", 29);
  435.                                             dialog.Option("WelkinCoat buy [ " + boots + " ] Cps", 30);
  436.                                             dialog.Option("WhiteTigerHat buy [ " + boots + " ] Cps", 31);
  437.                                             dialog.Option("HeavenPlume buy [ " + boots + " ] Cps", 32);
  438.                                             dialog.Option("Back..", 100);
  439.                                             dialog.Option("thank you", 255);
  440.                                         }
  441.                                         #region [FantasyKnife]
  442.                                         if (npcRequest.OptionID == 28)
  443.                                         {
  444.                                             if (client.Entity.ConquerPoints >= Wpans)
  445.                                             {
  446.                                                 client.Inventory.AddStuff(613429, 12, 1, 7, 250, 13, 13, false);
  447.                                                 client.Entity.ConquerPoints -= Wpans;
  448.                                             }
  449.                                             else
  450.                                             {
  451.                                                 dialog.Text("Sorry you do not have " + Wpans + " cps");
  452.                                                 dialog.Option("Sorry", 255);
  453.                                             }
  454.                                         }
  455.                                         #endregion
  456.                                         #region [HeavenlyBow]
  457.                                         if (npcRequest.OptionID == 29)
  458.                                         {
  459.                                             if (client.Entity.ConquerPoints >= Wpans)
  460.                                             {
  461.                                                 client.Inventory.AddStuff(500429, 12, 1, 7, 250, 13, 13, false);
  462.                                                 client.Entity.ConquerPoints -= Wpans;
  463.                                             }
  464.                                             else
  465.                                             {
  466.                                                 dialog.Text("Sorry you do not have " + Wpans + " cps");
  467.                                                 dialog.Option("Sorry", 255);
  468.                                             }
  469.                                         }
  470.                                         #endregion
  471.                                         #region [WelkinCoat]
  472.                                         if (npcRequest.OptionID == 30)
  473.                                         {
  474.                                             if (client.Entity.ConquerPoints >= boots)
  475.                                             {
  476.                                                 client.Inventory.AddStuff(133309, 12, 1, 7, 250, 13, 13, false);
  477.                                                 client.Entity.ConquerPoints -= boots;
  478.                                             }
  479.                                             else
  480.                                             {
  481.                                                 dialog.Text("Sorry you do not have " + boots + " cps");
  482.                                                 dialog.Option("Sorry", 255);
  483.                                             }
  484.                                         }
  485.                                         #endregion
  486.                                         #region [WhiteTigerHat]
  487.                                         if (npcRequest.OptionID == 31)
  488.                                         {
  489.                                             if (client.Entity.ConquerPoints >= boots)
  490.                                             {
  491.                                                 client.Inventory.AddStuff(113309, 12, 1, 7, 250, 13, 13, false);
  492.                                                 client.Entity.ConquerPoints -= boots;
  493.                                             }
  494.                                             else
  495.                                             {
  496.                                                 dialog.Text("Sorry you do not have " + boots + " cps");
  497.                                                 dialog.Option("Sorry", 255);
  498.                                             }
  499.                                         }
  500.                                         #endregion
  501.                                         #region [HeavenPlume]
  502.                                         if (npcRequest.OptionID == 32)
  503.                                         {
  504.                                             if (client.Entity.ConquerPoints >= boots)
  505.                                             {
  506.                                                 client.Inventory.AddStuff(142309, 12, 1, 7, 250, 13, 13, false);
  507.                                                 client.Entity.ConquerPoints -= boots;
  508.                                             }
  509.                                             else
  510.                                             {
  511.                                                 dialog.Text("Sorry you do not have " + boots + " cps");
  512.                                                 dialog.Option("Sorry", 255);
  513.                                             }
  514.                                         }
  515.                                         #endregion
  516.                                         #endregion
  517.                                         #region [Stuff Ninja]
  518.                                         if (npcRequest.OptionID == 13)
  519.                                         {
  520.                                             dialog.Text("Select the item you want to buy \n");
  521.                                             dialog.Text("you own [ " + client.Entity.ConquerPoints + " ] Cps \n");
  522.                                             dialog.Text("All item +12 2 Socket damig -7 hp 250");
  523.                                             dialog.Option("HanzoKatana buy [ " + Wpans + " ] Cps", 33);
  524.                                             dialog.Option("SilenceScythe buy [ " + Wpans + " ] Cps", 34);
  525.                                             dialog.Option("Epc Ninja buy [ " + EpicWpans + " ] Cps", 35);
  526.                                             dialog.Option("NightmareVest buy [ " + boots + " ] Cps", 36);
  527.                                             dialog.Option("RambleVeil buy [ " + boots + " ] Cps", 37);
  528.                                             dialog.Option("NightmareHood buy [ " + boots + " ] Cps", 38);
  529.                                             dialog.Option("Back..", 100);
  530.                                             dialog.Option("thank you", 255);
  531.                                         }
  532.                                         #region [HanzoKatana]
  533.                                         if (npcRequest.OptionID == 33)
  534.                                         {
  535.                                             if (client.Entity.ConquerPoints >= Wpans)
  536.                                             {
  537.                                                 client.Inventory.AddStuff(601439, 12, 1, 7, 250, 13, 13, false);
  538.                                                 client.Entity.ConquerPoints -= Wpans;
  539.                                             }
  540.                                             else
  541.                                             {
  542.                                                 dialog.Text("Sorry you do not have " + Wpans + " cps");
  543.                                                 dialog.Option("Sorry", 255);
  544.                                             }
  545.                                         }
  546.                                         #endregion
  547.                                         #region [SilenceScythe]
  548.                                         if (npcRequest.OptionID == 34)
  549.                                         {
  550.                                             if (client.Entity.ConquerPoints >= Wpans)
  551.                                             {
  552.                                                 client.Inventory.AddStuff(511439, 12, 1, 7, 250, 13, 13, false);
  553.                                                 client.Entity.ConquerPoints -= Wpans;
  554.                                             }
  555.                                             else
  556.                                             {
  557.                                                 dialog.Text("Sorry you do not have " + Wpans + " cps");
  558.                                                 dialog.Option("Sorry", 255);
  559.                                             }
  560.                                         }
  561.                                         #endregion
  562.                                         #region [Nobunaga`sSwiftClaw]
  563.                                         if (npcRequest.OptionID == 35)
  564.                                         {
  565.                                             if (client.Entity.ConquerPoints >= EpicWpans)
  566.                                             {
  567.                                                 client.Inventory.AddStuff(616439, 12, 1, 7, 250, 13, 13, false);
  568.                                                 client.Entity.ConquerPoints -= EpicWpans;
  569.                                             }
  570.                                             else
  571.                                             {
  572.                                                 dialog.Text("Sorry you do not have " + EpicWpans + " cps");
  573.                                                 dialog.Option("Sorry", 255);
  574.                                             }
  575.                                         }
  576.                                         #endregion
  577.                                         #region [NightmareVest]
  578.                                         if (npcRequest.OptionID == 36)
  579.                                         {
  580.                                             if (client.Entity.ConquerPoints >= boots)
  581.                                             {
  582.                                                 client.Inventory.AddStuff(135309, 12, 1, 7, 250, 13, 13, false);
  583.                                                 client.Entity.ConquerPoints -= boots;
  584.                                             }
  585.                                             else
  586.                                             {
  587.                                                 dialog.Text("Sorry you do not have " + boots + " cps");
  588.                                                 dialog.Option("Sorry", 255);
  589.                                             }
  590.                                         }
  591.                                         #endregion
  592.                                         #region [RambleVeil]
  593.                                         if (npcRequest.OptionID == 37)
  594.                                         {
  595.                                             if (client.Entity.ConquerPoints >= boots)
  596.                                             {
  597.                                                 client.Inventory.AddStuff(112309, 12, 1, 7, 250, 13, 13, false);
  598.                                                 client.Entity.ConquerPoints -= boots;
  599.                                             }
  600.                                             else
  601.                                             {
  602.                                                 dialog.Text("Sorry you do not have " + boots + " cps");
  603.                                                 dialog.Option("Sorry", 255);
  604.                                             }
  605.                                         }
  606.                                         #endregion
  607.                                         #region [NightmareHood]
  608.                                         if (npcRequest.OptionID == 38)
  609.                                         {
  610.                                             if (client.Entity.ConquerPoints >= boots)
  611.                                             {
  612.                                                 client.Inventory.AddStuff(123309, 12, 1, 7, 250, 13, 13, false);
  613.                                                 client.Entity.ConquerPoints -= boots;
  614.                                             }
  615.                                             else
  616.                                             {
  617.                                                 dialog.Text("Sorry you do not have " + boots + " cps");
  618.                                                 dialog.Option("Sorry", 255);
  619.                                             }
  620.                                         }
  621.                                         #endregion
  622.                                         #endregion
  623.                                         #region [Stuff Monk]
  624.                                         if (npcRequest.OptionID == 14)
  625.                                         {
  626.                                             dialog.Text("Select the item you want to buy \n");
  627.                                             dialog.Text("you own [ " + client.Entity.ConquerPoints + " ] Cps \n");
  628.                                             dialog.Text("All item +12 2 Socket damig -7 hp 250");
  629.                                             dialog.Option("LazuritePrayerBeads buy [ " + Wpans + " ] Cps", 39);
  630.                                             dialog.Option("Epc Monk buy [ " + EpicWpans + " ] Cps", 40);
  631.                                             dialog.Option("WhiteLotusFrock buy [ " + boots + " ] Cps", 41);
  632.                                             dialog.Option("XumiCap buy [ " + boots + " ] Cps", 42);
  633.                                             dialog.Option("Back..", 100);
  634.                                             dialog.Option("thank you", 255);
  635.                                         }
  636.                                         #region [LazuritePrayerBeads]
  637.                                         if (npcRequest.OptionID == 39)
  638.                                         {
  639.                                             if (client.Entity.ConquerPoints >= Wpans)
  640.                                             {
  641.                                                 client.Inventory.AddStuff(610439, 12, 1, 7, 250, 13, 13, false);
  642.                                                 client.Entity.ConquerPoints -= Wpans;
  643.                                             }
  644.                                             else
  645.                                             {
  646.                                                 dialog.Text("Sorry you do not have " + Wpans + " cps");
  647.                                                 dialog.Option("Sorry", 255);
  648.                                             }
  649.                                         }
  650.                                         #endregion
  651.                                         #region [Kingcolumn]
  652.                                         if (npcRequest.OptionID == 40)
  653.                                         {
  654.                                             if (client.Entity.ConquerPoints >= EpicWpans)
  655.                                             {
  656.                                                 client.Inventory.AddStuff(622439, 12, 1, 7, 250, 13, 13, false);
  657.                                                 client.Entity.ConquerPoints -= EpicWpans;
  658.                                             }
  659.                                             else
  660.                                             {
  661.                                                 dialog.Text("Sorry you do not have " + EpicWpans + " cps");
  662.                                                 dialog.Option("Sorry", 255);
  663.                                             }
  664.                                         }
  665.                                         #endregion
  666.                                         #region [WhiteLotusFrock]
  667.                                         if (npcRequest.OptionID == 41)
  668.                                         {
  669.                                             if (client.Entity.ConquerPoints >= boots)
  670.                                             {
  671.                                                 client.Inventory.AddStuff(136309, 12, 1, 7, 250, 13, 13, false);
  672.                                                 client.Entity.ConquerPoints -= boots;
  673.                                             }
  674.                                             else
  675.                                             {
  676.                                                 dialog.Text("Sorry you do not have " + boots + " cps");
  677.                                                 dialog.Option("Sorry", 255);
  678.                                             }
  679.                                         }
  680.                                         #endregion
  681.                                         #region [XumiCap]
  682.                                         if (npcRequest.OptionID == 42)
  683.                                         {
  684.                                             if (client.Entity.ConquerPoints >= boots)
  685.                                             {
  686.                                                 client.Inventory.AddStuff(143309, 12, 1, 7, 250, 13, 13, false);
  687.                                                 client.Entity.ConquerPoints -= boots;
  688.                                             }
  689.                                             else
  690.                                             {
  691.                                                 dialog.Text("Sorry you do not have " + boots + " cps");
  692.                                                 dialog.Option("Sorry", 255);
  693.                                             }
  694.                                         }
  695.                                         #endregion
  696.                                         #endregion
  697.                                         #region [Stuff Warrior]
  698.                                         if (npcRequest.OptionID == 15)
  699.                                         {
  700.                                             dialog.Text("Select the item you want to buy \n");
  701.                                             dialog.Text("you own [ " + client.Entity.ConquerPoints + " ] Cps \n");
  702.                                             dialog.Text("All item +12 2 Socket damig -7 hp 250");
  703.                                             dialog.Option("SpearOfWrath buy [ " + Wpans + " ] Cps", 43);
  704.                                             dialog.Option("OccultWand buy [ " + Wpans + " ] Cps", 44);
  705.                                             dialog.Option("VigorGlaive buy [ " + Wpans + " ] Cps", 45);
  706.                                             dialog.Option("HawkPoleaxe buy [ " + Wpans + " ] Cps", 46);
  707.                                             dialog.Option("FlameHalbert buy [ " + Wpans + " ] Cps", 47);
  708.                                             dialog.Option("ImperiousArmor buy [ " + boots + " ] Cps", 48);
  709.                                             dialog.Option("CelestialShield  buy [ " + boots + " ] Cps", 49);
  710.                                             dialog.Option("SteelHelmet buy [ " + boots + " ] Cps", 50);
  711.                                             dialog.Option("DragonHeadband buy [ " + boots + " ] Cps", 51);
  712.                                             dialog.Option("Back..", 100);
  713.                                             dialog.Option("thank you", 255);
  714.                                         }
  715.                                         #region [SpearOfWrath]
  716.                                         if (npcRequest.OptionID == 43)
  717.                                         {
  718.                                             if (client.Entity.ConquerPoints >= Wpans)
  719.                                             {
  720.                                                 client.Inventory.AddStuff(560439, 12, 1, 7, 250, 13, 13, false);
  721.                                                 client.Entity.ConquerPoints -= Wpans;
  722.                                             }
  723.                                             else
  724.                                             {
  725.                                                 dialog.Text("Sorry you do not have " + Wpans + " cps");
  726.                                                 dialog.Option("Sorry", 255);
  727.                                             }
  728.                                         }
  729.                                         #endregion
  730.                                         #region [OccultWand]
  731.                                         if (npcRequest.OptionID == 44)
  732.                                         {
  733.                                             if (client.Entity.ConquerPoints >= Wpans)
  734.                                             {
  735.                                                 client.Inventory.AddStuff(561439, 12, 1, 7, 250, 13, 13, false);
  736.                                                 client.Entity.ConquerPoints -= Wpans;
  737.                                             }
  738.                                             else
  739.                                             {
  740.                                                 dialog.Text("Sorry you do not have " + Wpans + " cps");
  741.                                                 dialog.Option("Sorry", 255);
  742.                                             }
  743.                                         }
  744.                                         #endregion
  745.                                         #region [VigorGlaive]
  746.                                         if (npcRequest.OptionID == 45)
  747.                                         {
  748.                                             if (client.Entity.ConquerPoints >= Wpans)
  749.                                             {
  750.                                                 client.Inventory.AddStuff(510439, 12, 1, 7, 250, 13, 13, false);
  751.                                                 client.Entity.ConquerPoints -= Wpans;
  752.                                             }
  753.                                             else
  754.                                             {
  755.                                                 dialog.Text("Sorry you do not have " + Wpans + " cps");
  756.                                                 dialog.Option("Sorry", 255);
  757.                                             }
  758.                                         }
  759.                                         #endregion
  760.                                         #region [HawkPoleaxe]
  761.                                         if (npcRequest.OptionID == 46)
  762.                                         {
  763.                                             if (client.Entity.ConquerPoints >= Wpans)
  764.                                             {
  765.                                                 client.Inventory.AddStuff(530439, 12, 1, 7, 250, 13, 13, false);
  766.                                                 client.Entity.ConquerPoints -= Wpans;
  767.                                             }
  768.                                             else
  769.                                             {
  770.                                                 dialog.Text("Sorry you do not have " + Wpans + " cps");
  771.                                                 dialog.Option("Sorry", 255);
  772.                                             }
  773.                                         }
  774.                                         #endregion
  775.                                         #region [FlameHalbert]
  776.                                         if (npcRequest.OptionID == 47)
  777.                                         {
  778.                                             if (client.Entity.ConquerPoints >= Wpans)
  779.                                             {
  780.                                                 client.Inventory.AddStuff(580439, 12, 1, 7, 250, 13, 13, false);
  781.                                                 client.Entity.ConquerPoints -= Wpans;
  782.                                             }
  783.                                             else
  784.                                             {
  785.                                                 dialog.Text("Sorry you do not have " + Wpans + " cps");
  786.                                                 dialog.Option("Sorry", 255);
  787.                                             }
  788.                                         }
  789.                                         #endregion
  790.                                         #region [ImperiousArmor]
  791.                                         if (npcRequest.OptionID == 48)
  792.                                         {
  793.                                             if (client.Entity.ConquerPoints >= boots)
  794.                                             {
  795.                                                 client.Inventory.AddStuff(131309, 12, 1, 7, 250, 13, 13, false);
  796.                                                 client.Entity.ConquerPoints -= boots;
  797.                                             }
  798.                                             else
  799.                                             {
  800.                                                 dialog.Text("Sorry you do not have " + boots + " cps");
  801.                                                 dialog.Option("Sorry", 255);
  802.                                             }
  803.                                         }
  804.                                         #endregion
  805.                                         #region [CelestialShield]
  806.                                         if (npcRequest.OptionID == 49)
  807.                                         {
  808.                                             if (client.Entity.ConquerPoints >= boots)
  809.                                             {
  810.                                                 client.Inventory.AddStuff(900309, 12, 1, 7, 250, 13, 13, false);
  811.                                                 client.Entity.ConquerPoints -= boots;
  812.                                             }
  813.                                             else
  814.                                             {
  815.                                                 dialog.Text("Sorry you do not have " + boots + " cps");
  816.                                                 dialog.Option("Sorry", 255);
  817.                                             }
  818.                                         }
  819.                                         #endregion
  820.                                         #region [SteelHelmet]
  821.                                         if (npcRequest.OptionID == 50)
  822.                                         {
  823.                                             if (client.Entity.ConquerPoints >= boots)
  824.                                             {
  825.                                                 client.Inventory.AddStuff(111309, 12, 1, 7, 250, 13, 13, false);
  826.                                                 client.Entity.ConquerPoints -= boots;
  827.                                             }
  828.                                             else
  829.                                             {
  830.                                                 dialog.Text("Sorry you do not have " + boots + " cps");
  831.                                                 dialog.Option("Sorry", 255);
  832.                                             }
  833.                                         }
  834.                                         #endregion
  835.                                         #region [DragonHeadband]
  836.                                         if (npcRequest.OptionID == 51)
  837.                                         {
  838.                                             if (client.Entity.ConquerPoints >= boots)
  839.                                             {
  840.                                                 client.Inventory.AddStuff(141309, 12, 1, 7, 250, 13, 13, false);
  841.                                                 client.Entity.ConquerPoints -= boots;
  842.                                             }
  843.                                             else
  844.                                             {
  845.                                                 dialog.Text("Sorry you do not have " + boots + " cps");
  846.                                                 dialog.Option("Sorry", 255);
  847.                                             }
  848.                                         }
  849.                                         #endregion
  850.                                         #endregion
  851.                                         #region [Stuff Taoist]
  852.                                         if (npcRequest.OptionID == 16)
  853.                                         {
  854.                                             dialog.Text("Select the item you want to buy \n");
  855.                                             dialog.Text("you own [ " + client.Entity.ConquerPoints + " ] Cps \n");
  856.                                             dialog.Text("All item +12 2 Socket damig -7 hp 250");
  857.                                             dialog.Option("SupremeSword buy [ " + Wpans + " ] Cps", 52);
  858.                                             dialog.Option("Epic ImperialBacksword buy [ " + EpicWpans + " ] Cps", 53);
  859.                                             dialog.Option("Epic UniverseHossu buy [ " + epictoist + " ] Cps", 54);
  860.                                             dialog.Option("EternalRobe buy [ " + boots + " ] Cps", 55);
  861.                                             dialog.Option("DistinctCap buy [ " + boots + " ] Cps", 56);
  862.                                             dialog.Option("DreamEarrings buy [ " + boots + " ] Cps", 57);
  863.                                             dialog.Option("WyvernBracelet buy [ " + boots + " ] Cps", 58);
  864.                                             dialog.Option("NiftyBag buy [ " + boots + " ] Cps", 59);
  865.                                             dialog.Option("Back..", 100);
  866.                                             dialog.Option("thank you", 255);
  867.                                         }
  868.                                         #region [SupremeSword]
  869.                                         if (npcRequest.OptionID == 52)
  870.                                         {
  871.                                             if (client.Entity.ConquerPoints >= Wpans)
  872.                                             {
  873.                                                 client.Inventory.AddStuff(421439, 12, 1, 7, 250, 3, 3, false);
  874.                                                 client.Entity.ConquerPoints -= Wpans;
  875.                                             }
  876.                                             else
  877.                                             {
  878.                                                 dialog.Text("Sorry you do not have " + Wpans + " cps");
  879.                                                 dialog.Option("Sorry", 255);
  880.                                             }
  881.                                         }
  882.                                         #endregion
  883.                                         #region [ImperialBacksword]
  884.                                         if (npcRequest.OptionID == 53)
  885.                                         {
  886.                                             if (client.Entity.ConquerPoints >= EpicWpans)
  887.                                             {
  888.                                                 client.Inventory.AddStuff(620439, 12, 1, 7, 250, 3, 3, false);
  889.                                                 client.Entity.ConquerPoints -= EpicWpans;
  890.                                             }
  891.                                             else
  892.                                             {
  893.                                                 dialog.Text("Sorry you do not have " + EpicWpans + " cps");
  894.                                                 dialog.Option("Sorry", 255);
  895.                                             }
  896.                                         }
  897.                                         #endregion
  898.                                         #region [UniverseHossu]
  899.                                         if (npcRequest.OptionID == 54)
  900.                                         {
  901.                                             if (client.Entity.ConquerPoints >= epictoist)
  902.                                             {
  903.                                                 client.Inventory.AddStuff(619439, 12, 1, 1, 0, 0, 0, false);
  904.                                                 client.Entity.ConquerPoints -= epictoist;
  905.                                             }
  906.                                             else
  907.                                             {
  908.                                                 dialog.Text("Sorry you do not have " + epictoist + " cps");
  909.                                                 dialog.Option("Sorry", 255);
  910.                                             }
  911.                                         }
  912.                                         #endregion
  913.                                         #region [EternalRobe]
  914.                                         if (npcRequest.OptionID == 55)
  915.                                         {
  916.                                             if (client.Entity.ConquerPoints >= boots)
  917.                                             {
  918.                                                 client.Inventory.AddStuff(134309, 12, 1, 7, 250, 3, 3, false);
  919.                                                 client.Entity.ConquerPoints -= boots;
  920.                                             }
  921.                                             else
  922.                                             {
  923.                                                 dialog.Text("Sorry you do not have " + boots + " cps");
  924.                                                 dialog.Option("Sorry", 255);
  925.                                             }
  926.                                         }
  927.                                         #endregion
  928.                                         #region [DistinctCap]
  929.                                         if (npcRequest.OptionID == 56)
  930.                                         {
  931.                                             if (client.Entity.ConquerPoints >= boots)
  932.                                             {
  933.                                                 client.Inventory.AddStuff(114309, 12, 1, 7, 250, 3, 3, false);
  934.                                                 client.Entity.ConquerPoints -= boots;
  935.                                             }
  936.                                             else
  937.                                             {
  938.                                                 dialog.Text("Sorry you do not have " + boots + " cps");
  939.                                                 dialog.Option("Sorry", 255);
  940.                                             }
  941.                                         }
  942.                                         #endregion
  943.                                         #region [DreamEarrings]
  944.                                         if (npcRequest.OptionID == 57)
  945.                                         {
  946.                                             if (client.Entity.ConquerPoints >= boots)
  947.                                             {
  948.                                                 client.Inventory.AddStuff(117309, 12, 1, 7, 250, 3, 3, false);
  949.                                                 client.Entity.ConquerPoints -= boots;
  950.                                             }
  951.                                             else
  952.                                             {
  953.                                                 dialog.Text("Sorry you do not have " + boots + " cps");
  954.                                                 dialog.Option("Sorry", 255);
  955.                                             }
  956.                                         }
  957.                                         #endregion
  958.                                         #region [WyvernBracelet]
  959.                                         if (npcRequest.OptionID == 58)
  960.                                         {
  961.                                             if (client.Entity.ConquerPoints >= boots)
  962.                                             {
  963.                                                 client.Inventory.AddStuff(152279, 12, 1, 7, 250, 3, 3, false);
  964.                                                 client.Entity.ConquerPoints -= boots;
  965.                                             }
  966.                                             else
  967.                                             {
  968.                                                 dialog.Text("Sorry you do not have " + boots + " cps");
  969.                                                 dialog.Option("Sorry", 255);
  970.                                             }
  971.                                         }
  972.                                         #endregion
  973.                                         #region [NiftyBag]
  974.                                         if (npcRequest.OptionID == 59)
  975.                                         {
  976.                                             if (client.Entity.ConquerPoints >= boots)
  977.                                             {
  978.                                                 client.Inventory.AddStuff(121269, 12, 1, 7, 250, 3, 3, false);
  979.                                                 client.Entity.ConquerPoints -= boots;
  980.                                             }
  981.                                             else
  982.                                             {
  983.                                                 dialog.Text("Sorry you do not have " + boots + " cps");
  984.                                                 dialog.Option("Sorry", 255);
  985.                                             }
  986.                                         }
  987.                                         #endregion
  988.                                         #endregion
  989.                                         #region [Stuff LE-Long]
  990.                                         if(npcRequest.OptionID == 17)
  991.                                         {
  992.                                             dialog.Text("Select the item you want to buy \n");
  993.                                             dialog.Text("you own [ " + client.Entity.ConquerPoints + " ] Cps \n");
  994.                                             dialog.Text("All item +12 2 Socket damig -7 hp 250");
  995.                                             dialog.Option("CombatSuit buy [ " + boots + " ] Cps", 60);
  996.                                             dialog.Option("LegendHood buy [ " + boots + " ] Cps", 61);
  997.                                             dialog.Option("SkyNunchaku buy [ " + Wpans + " ] Cps", 62);
  998.                                             dialog.Option("Back..", 100);
  999.                                             dialog.Option("thank you", 255);
  1000.                                         }
  1001.                                         #region [CombatSuit]
  1002.                                         if (npcRequest.OptionID == 60)
  1003.                                         {
  1004.                                             if (client.Entity.ConquerPoints >= boots)
  1005.                                             {
  1006.                                                 client.Inventory.AddStuff(138309, 12, 1, 7, 250, 13, 13, false);
  1007.                                                 client.Entity.ConquerPoints -= boots;
  1008.                                             }
  1009.                                             else
  1010.                                             {
  1011.                                                 dialog.Text("Sorry you do not have " + boots + " cps");
  1012.                                                 dialog.Option("Sorry", 255);
  1013.                                             }
  1014.                                         }
  1015.                                         #endregion
  1016.                                         #region [LegendHood]
  1017.                                         if (npcRequest.OptionID == 61)
  1018.                                         {
  1019.                                             if (client.Entity.ConquerPoints >= boots)
  1020.                                             {
  1021.                                                 client.Inventory.AddStuff(148309, 12, 1, 7, 250, 13, 13, false);
  1022.                                                 client.Entity.ConquerPoints -= boots;
  1023.                                             }
  1024.                                             else
  1025.                                             {
  1026.                                                 dialog.Text("Sorry you do not have " + boots + " cps");
  1027.                                                 dialog.Option("Sorry", 255);
  1028.                                             }
  1029.                                         }
  1030.                                         #endregion
  1031.                                         #region [SkyNunchaku]
  1032.                                         if (npcRequest.OptionID == 63)
  1033.                                         {
  1034.                                             if (client.Entity.ConquerPoints >= Wpans)
  1035.                                             {
  1036.                                                 client.Inventory.AddStuff(617439, 12, 1, 7, 250, 13, 13, false);
  1037.                                                 client.Entity.ConquerPoints -= Wpans;
  1038.                                             }
  1039.                                             else
  1040.                                             {
  1041.                                                 dialog.Text("Sorry you do not have " + Wpans + " cps");
  1042.                                                 dialog.Option("Sorry", 255);
  1043.                                             }
  1044.                                         }
  1045.                                         #endregion
  1046.                                         #endregion
  1047.                                         break;
  1048.                                     }
  1049.                             }
  1050.                             break;
  1051.                         }
  1052.                     #endregion
  1053. //---------------------------------------------Inventory-------------------------------------------
  1054. public bool AddStuff(uint id, byte plus, byte times, byte blees, byte hp, byte soc1, byte soc2, bool bound = false)
  1055.         {
  1056.             try
  1057.             {
  1058.                 Database.ConquerItemInformation infos = new Database.ConquerItemInformation(id, plus);
  1059.                 while (times > 0)
  1060.                 {
  1061.  
  1062.                     ConquerItem _ExistingItem;
  1063.                     Database.ConquerItemInformation iteminfo = new Database.ConquerItemInformation(id, 0);
  1064.                     if (Owner.Inventory.Contains(iteminfo.BaseInformation.ID, bound, iteminfo.BaseInformation.StackSize, out _ExistingItem))
  1065.                     {
  1066.                         if (_ExistingItem.StackSize == 0)
  1067.                             _ExistingItem.StackSize = 1;
  1068.                         ushort _StackCount = iteminfo.BaseInformation.StackSize;
  1069.                         _StackCount -= (ushort)_ExistingItem.StackSize;
  1070.                         if (_StackCount >= 1)
  1071.                             _StackCount += 1;
  1072.                         _ExistingItem.StackSize += 1;
  1073.                         Database.ConquerItemTable.UpdateStack(_ExistingItem);
  1074.                         _ExistingItem.Mode = Game.Enums.ItemMode.Update;
  1075.                         _ExistingItem.Send(Owner);
  1076.                         _ExistingItem.Mode = Game.Enums.ItemMode.Default;
  1077.                     }
  1078.                     else
  1079.                     {
  1080.                         if (Count <= 39)
  1081.                         {
  1082.                             //<<<<<<<<<<--- By AmirAl3shre --->>>>>>>>>>
  1083.                             ConquerItem item = new Network.GamePackets.ConquerItem(true);
  1084.                             item.ID = id;
  1085.                             item.Color = Game.Enums.Color.White;
  1086.                             item.Plus = plus;
  1087.                             item.Bound = bound;
  1088.                             item.Bless = blees;
  1089.                             item.Enchant = hp;
  1090.                             item.SocketOne = (Game.Enums.Gem)soc1;
  1091.                             item.SocketTwo = (Game.Enums.Gem)soc2;
  1092.                             item.Durability = item.MaximDurability = infos.BaseInformation.Durability;
  1093.                             item.StackSize = 1;
  1094.                             item.MaxStackSize = infos.BaseInformation.StackSize;
  1095.                             Add(item, Game.Enums.ItemUse.CreateAndAdd);
  1096.                             Database.ConquerItemTable.UpdateStack(item);
  1097.                         }
  1098.                     }
  1099.                     times--;
  1100.                 }
  1101.             }
  1102.             catch (Exception e)
  1103.             {
  1104.                 Program.SaveException(e);
  1105.             }
  1106.             return true;
  1107.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement