|
المشاركات 1,940 |
+التقييم 0.96 |
تاريخ التسجيل Apr 2019 |
الاقامة Egypt |
نظام التشغيل windows 7 |
رقم العضوية 1 |
public bool Add2(uint id, uint seconds, byte plus, byte bless, byte times, bool bound = false)
{
try
{
Database.ConquerItemInformation infos = new Database.ConquerItemInformation(id, plus);
while (times > 0)
{
ConquerItem _ExistingItem;
Database.ConquerItemInformation iteminfo = new Database.ConquerItemInformation(id, 0);
if (Owner.Inventory.Contains(iteminfo.BaseInformation.ID, bound, iteminfo.BaseInformation.StackSize, out _ExistingItem))
{
if (_ExistingItem.StackSize == 0)
_ExistingItem.StackSize = 1;
ushort _StackCount = iteminfo.BaseInformation.StackSize;
_StackCount -= (ushort)_ExistingItem.StackSize;
if (_StackCount >= 1)
_StackCount += 1;
_ExistingItem.StackSize += 1;
Database.ConquerItemTable.UpdateStack(_ExistingItem);
_ExistingItem.Mode = Game.Enums.ItemMode.Update;
_ExistingItem.Send(Owner);
_ExistingItem.Mode = Game.Enums.ItemMode.Default;
}
else
{
if (Count <= 39)
{
ConquerItem item = new Network.GamePackets.ConquerItem(true);
item.ID = id;
item.Plus = plus;
item.Bless = bless;
item.Bound = bound;
item.DayStamp = DateTime.Now;
item.Minutes = (seconds / 60);
item.TimeLeftInMinutes = seconds;
item.Durability = item.MaximDurability = infos.BaseInformation.Durability;
item.StackSize = 1;
item.MaxStackSize = infos.BaseInformation.StackSize;
Add(item, Enums.ItemUse.CreateAndAdd);
}
}
times--;
}
}
catch (Exception e)
{
Program.SaveException(e);
}
return true;
}
public bool AddBound99(uint id, uint seconds, byte plus, byte bless, byte times)
{
return Add2(id, seconds, plus, bless, times, true);
}
static void UseItem(
switch (item.ID)
#region LuckyFashionPack
case 3007385:
{
if (client.Inventory.Count != 38)
{
switch (((byte)Kernel.Random.Next(1, 47)))
{
#region MrAli(Champion Garment.)Full
case 1:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(193235, 86400, 0, 1, 1);//KungFuSuit
client.Inventory.Add(3007104, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Garment~Fragment~and~1-day~1%~Blessed~Kung~Fu~Suit~(B)!", Color.Red, Message.System));
break;
case 2:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(193295, 86400, 0, 1, 1);//SongofDespair
client.Inventory.Add(3007104, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Garment~Fragment~and~1-day~1%~Blessed~Songof~Despair~(B)!", Color.Red, Message.System));
break;
case 3:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(191405, 86400, 0, 1, 1);//DivineRobe
client.Inventory.Add(3007104, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Garment~Fragment~and~1-day~1%~Blessed~Divine~Robe~(B)!", Color.Red, Message.System));
break;
case 4:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(191305, 86400, 0, 1, 1);//GoodLuck
client.Inventory.Add(3007104, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Garment~Fragment~and~1-day~1%~Blessed~Good~Luck~(B)!", Color.Red, Message.System));
break;
case 5:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(189085, 86400, 0, 1, 1);//FairyTale
client.Inventory.Add(3007104, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Garment~Fragment~and~1-day~1%~Blessed~Fairy~Tale~(B)!", Color.Red, Message.System));
break;
case 6:
client.Inventory.AddBound99(189075, 86400, 0, 1, 1);//FlyingFishSuit
client.Inventory.Add(3007104, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Garment~Fragment~and~1-day~1%~Blessed~Flying~Fish~Suit~(B)!", Color.Red, Message.System));
break;
case 7:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(189095, 86400, 0, 1, 1);//CloudRobe
client.Inventory.Add(3007104, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Garment~Fragment~and~1-day~1%~Blessed~Cloud~Robe~(B)!", Color.Red, Message.System));
break;
case 8:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(189105, 86400, 0, 1, 1);//GoldenDream
client.Inventory.Add(3007104, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Garment~Fragment~and~1-day~1%~Blessed~Golden~Dream~(B)!", Color.Red, Message.System));
break;
case 9:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(189225, 86400, 0, 1, 1);//IvoryRobe
client.Inventory.Add(3007104, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Garment~Fragment~and~1-day~1%~Blessed~Ivory~Robe~(B)!", Color.Red, Message.System));
break;
case 10:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(189235, 86400, 0, 1, 1);//DancingDress
client.Inventory.Add(3007104, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Garment~Fragment~and~1-day~1%~Blessed~Dancing~Dress~(B)!", Color.Red, Message.System));
break;
case 11:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(189245, 86400, 0, 1, 1);//EndlessDance
client.Inventory.Add(3007104, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Garment~Fragment~and~1-day~1%~Blessed~Endless~Dance~(B)!", Color.Red, Message.System));
break;
case 12:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(184355, 86400, 0, 1, 1);//EveningWear
client.Inventory.Add(3007104, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Garment~Fragment~and~1-day~1%~Blessed~Evening~Wear~(B)!", Color.Red, Message.System));
break;
case 13:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(184345, 86400, 0, 1, 1);//BeachSuit
client.Inventory.Add(3007104, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Garment~Fragment~and~1-day~1%~Blessed~Beach~Suit~(B)!", Color.Red, Message.System));
break;
case 14:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(184335, 86400, 0, 1, 1);//PunkRocker
client.Inventory.Add(3007104, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Garment~Fragment~and~1-day~1%~Blessed~Punk~Rocker~(B)!", Color.Red, Message.System));
break;
case 15:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(184365, 86400, 0, 1, 1);//WhiteCollarSuit
client.Inventory.Add(3007104, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Garment~Fragment~and~1-day~1%~Blessed~White~Collar~Suit~(B)!", Color.Red, Message.System));
break;
case 16:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(184385, 86400, 0, 1, 1);//ShanghaiBloodOath
client.Inventory.Add(3007104, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Garment~Fragment~and~1-day~1%~Blessed~Shanghai~Blood~Oath~(B)!", Color.Red, Message.System));
break;
case 17:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(183385, 86400, 0, 1, 1);//Doctor`sJacket
client.Inventory.Add(3007104, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Garment~Fragment~and~1-day~1%~Blessed~Doctor`sJacket~(B)!", Color.Red, Message.System));
break;
case 18:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(183395, 86400, 0, 1, 1);//Delight~of~Speed
client.Inventory.Add(3007104, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Garment~Fragment~and~1-day~1%~Blessed~Delight~of~Speed~(B)!", Color.Red, Message.System));
break;
case 19:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(183425, 86400, 0, 1, 1);//FancyAzure
client.Inventory.Add(3007104, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Garment~Fragment~and~1-day~1%~Blessed~Fancy~Azure~(B)!", Color.Red, Message.System));
break;
case 20:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(183345, 86400, 0, 1, 1);//TaekwondoUniform
client.Inventory.Add(3007104, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Garment~Fragment~and~1-day~1%~Blessed~TaekwondoUniform~(B)!", Color.Red, Message.System));
break;
//MrAli(Champion Garment.)Full
#endregion
#region MrAli(Champion MountArmor.)Full
case 21:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(200540, 86400, 0, 1, 1);//SavageBeast
client.Inventory.Add(3007105, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~MountArmor~Fragment~and~1-day~1%~Blessed~Savage~Beast~(B)!", Color.Red, Message.System));
break;
case 22:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(200539, 86400, 0, 1, 1);//DivineFox
client.Inventory.Add(3007105, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~MountArmor~Fragment~and~1-day~1%~Blessed~Divine~Fox~(B)!", Color.Red, Message.System));
break;
case 23:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(200538, 86400, 0, 1, 1);//BronzeRhinoceros
client.Inventory.Add(3007105, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~MountArmor~Fragment~and~1-day~1%~Blessed~Bronze~Rhinoceros~(B)!", Color.Red, Message.System));
break;
case 24:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(200549, 86400, 0, 1, 1);//SoulKylin
client.Inventory.Add(3007105, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~MountArmor~Fragment~and~1-day~1%~Blessed~Soul~Kylin~(B)!", Color.Red, Message.System));
break;
case 25:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(200454, 86400, 0, 1, 1);//LionKing
client.Inventory.Add(3007105, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~MountArmor~Fragment~and~1-day~1%~Blessed~Savage~Beast~(B)!", Color.Red, Message.System));
break;
case 26:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(200441, 86400, 0, 1, 1);//IcePhoenix
client.Inventory.Add(3007105, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~MountArmor~Fragment~and~1-day~1%~Blessed~Ice~Phoenix~(B)!", Color.Red, Message.System));
break;
case 27:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(200481, 86400, 0, 1, 1);//SpiritLion
client.Inventory.Add(3007105, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~MountArmor~Fragment~and~1-day~1%~Blessed~Spirit~Lion~(B)!", Color.Red, Message.System));
break;
case 28:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(200418, 86400, 0, 1, 1);//AncientElephant
client.Inventory.Add(3007105, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~MountArmor~Fragment~and~1-day~1%~Blessed~Ancient~Elephant~(B)!", Color.Red, Message.System));
break;
case 29:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(200465, 86400, 0, 1, 1);//PolarBear
client.Inventory.Add(3007105, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~MountArmor~Fragment~and~1-day~1%~Blessed~Polar~Bear~(B)!", Color.Red, Message.System));
break;
case 30:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(200414, 86400, 0, 1, 1);//RoyalApe
client.Inventory.Add(3007105, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~MountArmor~Fragment~and~1-day~1%~Blessed~Royal~Ape~(B)!", Color.Red, Message.System));
break;
case 31:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(200427, 86400, 0, 1, 1);//WinebibberPanda
client.Inventory.Add(3007105, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~MountArmor~Fragment~and~1-day~1%~Blessed~Winebibber~Panda~(B)!", Color.Red, Message.System));
break;
case 32:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(200438, 86400, 0, 1, 1);//Pegasus
client.Inventory.Add(3007105, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~MountArmor~Fragment~and~1-day~1%~Blessed~Pegasus~(B)!", Color.Red, Message.System));
break;
case 33:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(200411, 86400, 0, 1, 1);//ChaosBull
client.Inventory.Add(3007105, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~MountArmor~Fragment~and~1-day~1%~Blessed~Savage~Beast~(B)!", Color.Red, Message.System));
break;
case 34:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(200488, 86400, 0, 1, 1);//ScaleDragon
client.Inventory.Add(3007105, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~MountArmor~Fragment~and~1-day~1%~Blessed~Scale~Dragon~(B)!", Color.Red, Message.System));
break;
case 35:
client.Inventory.Remove(3007385, 1);
client.Inventory.AddBound99(200503, 86400, 0, 1, 1);//WineGourd
client.Inventory.Add(3007105, 0, 1);
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~MountArmor~Fragment~and~1-day~1%~Blessed~Wine~Gourd~(B)!", Color.Red, Message.System));
break;
//MrAli(Champion MountArmor.)Full
#endregion
#region MrAli(Champion Accessory.)Full
case 36:
client.Inventory.Remove(3007385, 1);
client.Inventory.Add(3007106, 0, 1);
client.Inventory.AddBound99(360174, 86400, 0, 1, 1);//SpringRabbit
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Accessory~Fragment~and~1-day~1%~Blessed~Spring~Rabbit~(B)!", Color.Red, Message.System));
break;
case 37:
client.Inventory.Remove(3007385, 1);
client.Inventory.Add(3007106, 0, 1);
client.Inventory.AddBound99(360173, 86400, 0, 1, 1);//ThunderboltTiger
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Accessory~Fragment~and~1-day~1%~Blessed~Thunder~bolt~Tiger~(B)!", Color.Red, Message.System));
break;
case 38:
client.Inventory.Remove(3007385, 1);
client.Inventory.Add(3007106, 0, 1);
client.Inventory.AddBound99(360172, 86400, 0, 1, 1);//FancyPinwheel
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Accessory~Fragment~and~1-day~1%~Blessed~Fancy~Pinwheel~(B)!", Color.Red, Message.System));
break;
case 39:
client.Inventory.Remove(3007385, 1);
client.Inventory.Add(3007106, 0, 1);
client.Inventory.AddBound99(360171, 86400, 0, 1, 1);//RattleDrum
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Accessory~Fragment~and~1-day~1%~Blessed~Spring~Rabbit~(B)!", Color.Red, Message.System));
break;
case 40:
client.Inventory.Remove(3007385, 1);
client.Inventory.Add(3007106, 0, 1);
client.Inventory.AddBound99(350010, 86400, 0, 1, 1);//IceStick
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Accessory~Fragment~and~1-day~1%~Blessed~Ice~Stick~(B)!", Color.Red, Message.System));
break;
case 41:
client.Inventory.Remove(3007385, 1);
client.Inventory.Add(3007106, 0, 1);
client.Inventory.AddBound99(380004, 86400, 0, 1, 1);//SunFlower
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Accessory~Fragment~and~1-day~1%~Blessed~Sun~Flower~(B)!", Color.Red, Message.System));
break;
case 42:
client.Inventory.Remove(3007385, 1);
client.Inventory.Add(3007106, 0, 1);
client.Inventory.AddBound99(370003, 86400, 0, 1, 1);//SeaHorse
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Accessory~Fragment~and~1-day~1%~Blessed~Sea~Horse~(B)!", Color.Red, Message.System));
break;
case 43:
client.Inventory.Remove(3007385, 1);
client.Inventory.Add(3007106, 0, 1);
client.Inventory.AddBound99(360008, 86400, 0, 1, 1);//FishPole
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Accessory~Fragment~and~1-day~1%~Blessed~Fish~Pole~(B)!", Color.Red, Message.System));
break;
case 44:
client.Inventory.Remove(3007385, 1);
client.Inventory.Add(3007106, 0, 1);
client.Inventory.AddBound99(360007, 86400, 0, 1, 1);//InvincibleFist
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Accessory~Fragment~and~1-day~1%~Blessed~Invincible~Fist~(B)!", Color.Red, Message.System));
break;
case 45:
client.Inventory.Remove(3007385, 1);
client.Inventory.Add(3007106, 0, 1);
client.Inventory.AddBound99(350082, 86400, 0, 1, 1);//SpecialOar
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Accessory~Fragment~and~1-day~1%~Blessed~Specia~lOar~(B)!", Color.Red, Message.System));
break;
case 46:
client.Inventory.Remove(3007385, 1);
client.Inventory.Add(3007106, 0, 1);
client.Inventory.AddBound99(360018, 86400, 0, 1, 1);//LightSaber
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Accessory~Fragment~and~1-day~1%~Blessed~Light~Saber~(B)!", Color.Red, Message.System));
break;
case 47:
client.Inventory.Remove(3007385, 1);
client.Inventory.Add(3007106, 0, 1);
client.Inventory.AddBound99(360014, 86400, 0, 1, 1);//GoodEveningBear
client.Send(new Message("You`ve~used~an~item.", Color.Red, Message.System));
client.Send(new Message("You~received~a~Weapon~Accessory~Fragment~and~1-day~1%~Blessed~Good~Evening~Bear~(B)!", Color.Red, Message.System));
break;
//MrAli(Champion Accessory.)Full
#endregion
}
}
else
client.Send(Constants.FullInventory);
break;
}
#endregion
#region GarmentFragment
case 3007104:
{
if (client.Inventory.Count < 38)
{
if (client.Inventory.Contains(3007104, 15))
{
Random R = new Random();
int G = R.Next(0, 20);
if (G == 1) client.Inventory.AddBound99(193235, 0, 0, 1, 1);//KungFuSuit
if (G == 2) client.Inventory.AddBound99(193295, 0, 0, 1, 1);//SongofDespair
if (G == 3) client.Inventory.AddBound99(191405, 0, 0, 1, 1);//DivineRobe
if (G == 4) client.Inventory.AddBound99(191305, 0, 0, 1, 1);//GoodLuck
if (G == 5) client.Inventory.AddBound99(189085, 0, 0, 1, 1);//FairyTale
if (G == 6) client.Inventory.AddBound99(189075, 0, 0, 1, 1);//FlyingFishSuit
if (G == 7) client.Inventory.AddBound99(189095, 0, 0, 1, 1);//CloudRobe
if (G == 8) client.Inventory.AddBound99(189105, 0, 0, 1, 1);//GoldenDream
if (G == 9) client.Inventory.AddBound99(189225, 0, 0, 1, 1);//IvoryRobe
if (G == 10) client.Inventory.AddBound99(189235, 0, 0, 1, 1);//DancingDress
if (G == 11) client.Inventory.AddBound99(189245, 0, 0, 1, 1);//EndlessDance
if (G == 12) client.Inventory.AddBound99(184355, 0, 0, 1, 1);//EveningWear
if (G == 13) client.Inventory.AddBound99(184345, 0, 0, 1, 1);//BeachSuit
if (G == 14) client.Inventory.AddBound99(184335, 0, 0, 1, 1);//PunkRocker
if (G == 15) client.Inventory.AddBound99(184365, 0, 0, 1, 1);//WhiteCollarSuit
if (G == 16) client.Inventory.AddBound99(184385, 0, 0, 1, 1);//ShanghaiBloodOath
if (G == 17) client.Inventory.AddBound99(183385, 0, 0, 1, 1);//Doctor`sJacket
if (G == 18) client.Inventory.AddBound99(183395, 0, 0, 1, 1);//Delight~of~Speed
if (G == 19) client.Inventory.AddBound99(183425, 0, 0, 1, 1);//FancyAzure
if (G == 20) client.Inventory.AddBound99(183345, 0, 0, 1, 1);
client.Inventory.Remove(3007104, 15);
client.MessageBox("Congratulations, You received Champion Garment.");
}
client.Send(new Message("Your GarmentFragment item 15 .", System.Drawing.Color.Red,
Message.TopLeft));
}
else
{
client.Send(new Message("You need to make atleast 2 free spots in your inventory.", System.Drawing.Color.Red, Message.System));
}
break;
}
#endregion
#region MountArmorFragment
case 3007105:
{
if (client.Inventory.Count < 38)
{
if (client.Inventory.Contains(3007105, 30))
{
Random R = new Random();
int G = R.Next(0, 12);
if (G == 1) client.Inventory.AddBound99(200540, 0, 0, 1, 1);//SavageBeast
if (G == 2) client.Inventory.AddBound99(200539, 0, 0, 1, 1);//DivineFox
if (G == 3) client.Inventory.AddBound99(200538, 0, 0, 1, 1);//BronzeRhinoceros
if (G == 4) client.Inventory.AddBound99(200549, 0, 0, 1, 1);//SoulKylin
if (G == 5) client.Inventory.AddBound99(200454, 0, 0, 1, 1);//LionKing
if (G == 6) client.Inventory.AddBound99(200441, 0, 0, 1, 1);//IcePhoenix
if (G == 7) client.Inventory.AddBound99(200481, 0, 0, 1, 1);//SpiritLion
if (G == 8) client.Inventory.AddBound99(200418, 0, 0, 1, 1);//AncientElephant
if (G == 9) client.Inventory.AddBound99(200465, 0, 0, 1, 1);//PolarBear
if (G == 10) client.Inventory.AddBound99(200414, 0, 0, 1, 1);//RoyalApe
if (G == 11) client.Inventory.AddBound99(200427, 0, 0, 1, 1);//WinebibberPanda
if (G == 12) client.Inventory.AddBound99(200438, 0, 0, 1, 1);//Pegasus
if (G == 13) client.Inventory.AddBound99(200411, 0, 0, 1, 1);//ChaosBull
if (G == 14) client.Inventory.AddBound99(200488, 0, 0, 1, 1);//ScaleDragon
if (G == 15) client.Inventory.AddBound99(200503, 0, 0, 1, 1);//WineGourd
client.Inventory.Remove(3007105, 30);
client.MessageBox("Congratulations, You received Champion MountArmor.");
}
client.Send(new Message("Your MountArmorFragment item 30 .", System.Drawing.Color.Red,
Message.TopLeft));
}
else
{
client.Send(new Message("You need to make atleast 2 free spots in your inventory.", System.Drawing.Color.Red, Message.System));
}
break;
}
#endregion
#region WeaponAccessoryFragment
case 3007106:
{
if (client.Inventory.Count < 38)
{
// uint Hour24 = 0 * 24 * 60 * 60;
// uint days7 = 7 * 24 * 60 * 60;
Random R = new Random();
int G = R.Next(0, 12);
if (G == 1) client.Inventory.AddBound99(360174, 604800, 0, 1, 1);//SpringRabbit
if (G == 2) client.Inventory.AddBound99(360173, 604800, 0, 1, 1);//ThunderboltTiger
if (G == 3) client.Inventory.AddBound99(360172, 604800, 0, 1, 1);//FancyPinwheel
if (G == 4) client.Inventory.AddBound99(360171, 604800, 0, 1, 1);//RattleDrum
if (G == 5) client.Inventory.AddBound99(350010, 604800, 0, 1, 1);//IceStick
if (G == 6) client.Inventory.AddBound99(380004, 604800, 0, 1, 1);//SunFlower
if (G == 7) client.Inventory.AddBound99(370003, 604800, 0, 1, 1);//SeaHorse
if (G == 8) client.Inventory.AddBound99(360008, 604800, 0, 1, 1);//FishPole
if (G == 9) client.Inventory.AddBound99(360007, 604800, 0, 1, 1);//InvincibleFist
if (G == 10) client.Inventory.AddBound99(350082, 604800, 0, 1, 1);//SpecialOar
if (G == 11) client.Inventory.AddBound99(360018, 604800, 0, 1, 1);//LightSaber
if (G == 12) client.Inventory.AddBound99(360014, 604800, 0, 1, 1);//GoodEveningBear
client.Inventory.Remove(3007106, 1);
client.MessageBox("Congratulations, You received Champion Accessory.");
}
else
{
client.Send(new Message("You need to make atleast 2 free spots in your inventory.", System.Drawing.Color.Red, Message.System));
}
break;
}
#endregion