|
المشاركات 1,941 |
+التقييم 0.96 |
تاريخ التسجيل Apr 2019 |
الاقامة Egypt |
نظام التشغيل windows 7 |
رقم العضوية 1 |
#region Proficiency Master by Messi
case 9411:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialogs.Text("Hello my friend. If you believe that, leveling your proficiency is too hard and takes too much time, I can help you. In exchange of a fixed amount of exp balls, I will agree to level up your proficiency.");
dialogs.Text("Now, tell me what proficiency you want to level up.");
dialogs.Option("Upgrade One-handed Proficiency.", 1);
dialogs.Option("Upgrade Two handed Proficiency.", 3);
dialogs.Option("Upgrade Boxing/Shield Proficiency.", 5);
dialogs.Option("Just passing by!", 255);
dialogs.Send();
break;
}
case 1:
{
dialogs.Text("Which one handed proficiency?");
dialogs.Option("Upgrade Blade Proficiency.", 41);
dialogs.Option("Upgrade Sword Proficiency.", 42);
dialogs.Option("Upgrade Hook Proficiency.", 43);
dialogs.Option("Upgrade Whip Proficiency.", 44);
dialogs.Option("Upgrade Axe Proficiency.", 45);
dialogs.Option("Upgrade Dagger Proficiency.", 49);
dialogs.Option("Next page.", 2);
dialogs.Option("Nothing, sorry.", 255);
dialogs.Send();
break;
}
case 2:
{
dialogs.Text("Which one handed proficiency?");
dialogs.Option("Upgrade PrayerBead Proficiency.", 61);
dialogs.Option("Upgrade Hammer Proficiency.", 46);
dialogs.Option("Upgrade Club Proficiency.", 48);
dialogs.Option("Upgrade Scepter Proficiency.", 184);
dialogs.Option("Upgrade Katana Proficiency.", 60);
dialogs.Option("Upgrade Axe Proficiency.", 45);
dialogs.Option("Back.", 1);
dialogs.Option("Nothing, sorry.", 255);
dialogs.Send();
break;
}
case 3:
{
dialogs.Text("Which two handed proficiency?");
dialogs.Option("Upgrade Glaive Proficiency.", 51);
dialogs.Option("Upgrade Poleaxe Proficiency.", 53);
dialogs.Option("Upgrade LongHammer Proficiency.", 54);
dialogs.Option("Upgrade Spear Proficiency.", 56);
dialogs.Option("Next page.", 4);
dialogs.Option("Nothing, sorry.", 255);
dialogs.Send();
break;
}
case 4:
{
dialogs.Text("Which one handed proficiency?");
dialogs.Option("Upgrade Backsword Proficiency.", 124);
dialogs.Option("Upgrade Pickaxe Proficiency.", 142);
dialogs.Option("Upgrade Halberd Proficiency.", 58);
dialogs.Option("Upgrade Wand Proficiency.", 165);
dialogs.Option("Upgrade Bow Proficiency.", 50);
dialogs.Option("Back.", 3);
dialogs.Option("Nothing, sorry.", 255);
dialogs.Send();
break;
}
case 5:
{
dialogs.Text("Which others handed proficiency?");
dialogs.Option("Upgrade Boxing Proficiency.", 254);
dialogs.Option("Upgrade Shield Proficiency.", 90);
dialogs.Option("Nothing, sorry.", 255);
dialogs.Send();
break;
}
case 100:
{
if (client.Proficiencies.ContainsKey(client.UplevelProficiency))
{
var prof = client.Proficiencies[client.UplevelProficiency];
if (prof.Level >= 12)
{
dialogs.Text("This proficiency cannot be leveled up anymore.");
dialogs.Option("Oh sorry.", 255);
dialogs.Send();
break;
}
client.UplevelProficiency = 0;
if (client.Inventory.Contains(723700, prof.Level))
{
client.Inventory.Remove(723700, prof.Level);
prof.Level++;
prof.Experience = 0;
prof.Send(client);
break;
}
dialogs.Text("You don't have the requiered exp balls, I'm sorry I cannot help you.");
dialogs.Option("It's alright.", 255);
dialogs.Send();
break;
}
else
{
dialogs.Text("You don't know this proficiency.");
dialogs.Option("Ahh, sorry.", 255);
dialogs.Send();
break;
}
}
default:
{
if (npcRequest.OptionID == 255)
return;
ushort proficiency = 0;
if (npcRequest.OptionID < 100)
proficiency = (ushort)(npcRequest.OptionID * 10);
else
{
if (npcRequest.OptionID != 254)
{
string off = npcRequest.OptionID.ToString();
string reverse = off[2].ToString() + off[1].ToString() + off[0].ToString();
proficiency = ushort.Parse(reverse);
}
}
if (proficiency == 600) proficiency++;
if (client.Proficiencies.ContainsKey(proficiency))
{
var prof = client.Proficiencies[proficiency];
if (prof.Level >= 12)
{
dialogs.Text("This proficiency cannot be leveled up anymore.");
dialogs.Option("Oh.", 255);
dialogs.Send();
break;
}
client.UplevelProficiency = proficiency;
dialogs.Text("I need " + prof.Level + " exp balls to be able to level up this proficiency.");
dialogs.Option("Let's do it then.", 100);
dialogs.Option("No, sorry.", 255);
dialogs.Send();
break;
}
else
{
dialogs.Text("You don't know this proficiency.");
dialogs.Option("Ahh, sorry.", 255);
dialogs.Send();
break;
}
}
}
break;
}
#endregion
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
صفحة playconquer الاصلية php | ابو حمزه9 | صفحات التسجيل كونكر اونلاين | 121 | اليوم 01:34 AM |
ثغرة في الراجل بتاع الجيدات | ElSaher | مشكلات السيرفيرات كونكر الشخصيه | 5 | 2020-04-29 06:28 AM |
Npc نجوم الاسلحة | Mero | تطوير سيرفرات كونكر | 2 | 2019-07-21 11:28 PM |
حاجه بخصوص الراجل بتاع الجينج الي في المركت | uncelsam | مشكلات السيرفيرات كونكر الشخصيه | 3 | 2019-07-11 02:34 PM |