|
المشاركات 1,941 |
+التقييم 0.99 |
تاريخ التسجيل Apr 2019 |
الاقامة Egypt |
نظام التشغيل windows 7 |
رقم العضوية 1 |
By Diego Soares
case 80080035:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hello " + client.Entity.Name + " I can put your garment -1 if you want");
dialog.Option("Mount -1", (byte)ConquerItem.SteedArmor);
dialog.Option("Garment -1", (byte)ConquerItem.Garment);
dialog.Option("Prize -1", (byte)ConquerItem.Bottle);
dialog.Option("tower -1", (byte)ConquerItem.Tower);
dialog.Option("fan -1", (byte)ConquerItem.Fan);
dialog.Option("crop -1", (byte)ConquerItem.SteedCrop);
dialog.Option("right accessory -1", (byte)ConquerItem.RightWeaponAccessory);
dialog.Option("left accessory -1", (byte)ConquerItem.LeftWeaponAccessory);
dialog.Send();
break;
}
case (byte)ConquerItem.SteedArmor:
case (byte)ConquerItem.Garment:
case (byte)ConquerItem.Bottle:
case (byte)ConquerItem.Tower:
case (byte)ConquerItem.Fan:
case (byte)ConquerItem.SteedCrop:
case (byte)ConquerItem.LeftWeaponAccessory:
case (byte)ConquerItem.RightWeaponAccessory:
{
ConquerItem item;
if ((item = client.Equipment.TryGetItem(npcRequest.OptionID)) != null)
{
if (item.Bless == 0 && client.Entity.ConquerPoints >= 1000000)
{
client.Entity.ConquerPoints -= 1000000;
item.Bless = 1;
item.Mode = Game.Enums.ItemMode.Update;
item.Send(client);
Database.ConquerItemTable.UpdateBless(item);
}
}
break;
}
}
break;
}
#endregion
80080035 Damge1 2 7070 1002 290 288