|
|
المشاركات 3,131 |
+التقييم 1.17 |
تاريخ التسجيل Jun 2019 |
الاقامة الزقازيق |
نظام التشغيل ويندوز 0 |
رقم العضوية 279 |
#region Remove Bound
case 126678:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hellow, you wana remove free for you items for " + ServerRates.RemoveBound + " cps? ");
dialog.Option("Headgear. ", 1);
dialog.Option("Necklace/Bag. ", 2);
dialog.Option("Armor. ", 3);
dialog.Option("Weapon. ", 4);
dialog.Option("Shield. ", 5);
dialog.Option("Ring. ", 6);
dialog.Option("Boots. ", 8);
dialog.Option("StarTower. ", 11);
dialog.Option("HeavenFan. ", 10);
dialog.Option("TempestWing. ", 19);
dialog.Option("Crop", (byte)ConquerItem.SteedCrop);
dialog.Option("Steed", (byte)ConquerItem.Steed);
dialog.Option("Just passing by.", 255);
dialog.Avatar(114);
dialog.Send();
break;
}
case 1:
case 2:
case 3:
case 4:
case 5:
case 6:
case 8:
case 9:
case 10:
case 11:
case (byte)ConquerItem.SteedCrop:
case (byte)ConquerItem.Steed:
case 19:
{
if (!client.Equipment.Free(npcRequest.OptionID))
{
if (client.Equipment.TryGetItem(npcRequest.OptionID).Bound)
{
if (client.Entity.ConquerPoints >= ServerRates.RemoveBound)
{
client.Entity.ConquerPoints -= ServerRates.RemoveBound;
client.Equipment.TryGetItem(npcRequest.OptionID).Bound = false;
client.Equipment.TryGetItem(npcRequest.OptionID).Send(client);
Database.ConquerItemTable.UpdateBound(client.Equipment.TryGetItem(npcRequest.OptionID));
dialog.Text("Here you are. It's done.");
dialog.Option("Thanks", 255);
dialog.Avatar(114);
dialog.Send();
}
else
{
dialog.Text("Sorry, you need " + ServerRates.RemoveBound + " ConquerPoints");
dialog.Option("Ah ok", 255);
dialog.Avatar(114);
dialog.Send();
}
}
else
{
dialog.Text("Sorry, you item no is Bound");
dialog.Option("Ah yes", 255);
dialog.Avatar(114);
dialog.Send();
}
}
else
{
dialog.Text("Sorry, you don't have this item");
dialog.Option("Ah yes", 255);
dialog.Avatar(114);
dialog.Send();
}
break;
}
}
break;
}
#endregion
| الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
| الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
| Add or Remove in BlackList for Source Proto | Uchiha T3Alo | تطوير سيرفرات كونكر | 23 | 2020-10-22 12:51 AM |
| NPC اسطف Bound +12 | Ahmeed Sheeko | تطوير سيرفرات كونكر | 9 | 2020-05-04 10:03 PM |
| New Items Skills For Any Charcter | Hazem | تطوير سيرفرات كونكر | 0 | 2019-04-24 09:20 AM |
| New Items SoulsPh7 Lucky Box | Hazem | تطوير سيرفرات كونكر | 0 | 2019-04-24 09:00 AM |