|
المشاركات 1,372 |
+التقييم 0.68 |
تاريخ التسجيل Apr 2019 |
الاقامة شرقيه/زقازيق |
نظام التشغيل |
رقم العضوية 30 |
#region P7Sacred
case 9438:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("There`s a mysterious treasure sealed since the ancient times. With a Savage Bone, you can explore and have a chance to get Sacred refinery materials, rare");
dialog.Text("~weapon accessories, and even the legendary P7 Dragon Soul.");
dialog.Option("I~wanna~explore.", 1);
dialog.Option("Special~exploration.", 2);
dialog.Option("I~see.", 255);
dialog.Avatar(0);
dialog.Send();
break;
}
case 1:
{
dialog.Text("The Nemesis Tyrant in the DragonIsland Sea has the Savage Bones. You can use one to explore each time.");
dialog.Option("Use~a~Savage~Bone.", 3);
if (client.Entity.Level >= 110)
{
dialog.Option("Send~me~there.", 4);
}
dialog.Option("I~see.", 255);
dialog.Avatar(0);
dialog.Send();
break;
}
case 2:
{
dialog.Text("If you don`t have a Savage Bone, you can also pay 10000 CPs to explore. Of course, the more you pay, the better you get.~How much would you like to pay?");
dialog.Option("10000~CPS.", 5);
dialog.Option("10000~CPS.", 6);
dialog.Option("I~see.", 255);
dialog.Avatar(0);
dialog.Send();
break;
}
case 3:
{
if (client.Inventory.Contains(3004181, 1))
{
client.Inventory.Remove(3004181, 1);
Random randoms = new Random();
int r = randoms.Next(1, 10);
if (r == 1)
{
client.Inventory.Add(3004251, 0, 1);
client.MessageBox("You received a CarpFishPoleScrap.", null, null, 0);
}
else if (r == 2)
{
client.Inventory.Add(3004252, 0, 1);
client.MessageBox("You received a SpecialOarScrap.", null, null, 0);
}
else if (r == 3)
{
client.Inventory.Add(3004253, 0, 1);
client.MessageBox("You received a CucumberHammerScrap.", null, null, 0);
}
else if (r == 4)
{
client.Inventory.Add(3004254, 0, 1);
client.MessageBox("You received a CatHammerScrap.", null, null, 0);
}
else if (r == 5)
{
client.Inventory.Add(3004255, 0, 1);
client.MessageBox("You received a RacoonRacketScrap.", null, null, 0);
}
else if (r == 6)
{
client.Inventory.Add(3004256, 0, 1);
client.MessageBox("You received a UltraRacketScrap.", null, null, 0);
}
else if (r == 7)
{
client.Inventory.Add(3004257, 0, 1);
client.MessageBox("You received a AccessoryScrapPack.", null, null, 0);
}
else if (r == 8)
{
client.Inventory.Add(3004248, 0, 1);
client.MessageBox("You received a P7 Equipment Soul Pack.", null, null, 0);
}
else if (r == 9)
{
client.Inventory.Add(3004247, 0, 1);
client.MessageBox("You received a P7 Weapon Pack.", null, null, 0);
}
else if (r == 10)
{
client.Inventory.Add(3004249, 0, 1);
client.MessageBox("You received a P6 SacredRefinery Pack.", null, null, 0);
}
//client.Inventory.Add(723718, 0, 1);
//client.Player.BoundCps += 250;
break;
}
else
dialog.Text("Sorry, You don`t have 1 Savage Bone.");
dialog.Option("My~bad.", 255);
dialog.Avatar(0);
break;
}
case 4:
{
client.Entity.Teleport(10137, 92, 410);
break;
}
case 5:
{
dialog.Option("Yes.", 7);
dialog.Option("No.", 255);
dialog.Avatar(0);
dialog.Send();
break;
}
case 6:
{
dialog.Text("Are you sure you want to use 10000 CPs to explored the P7 Sacred Treasures?");
dialog.Option("Yes.", 8);
dialog.Option("No.", 255);
dialog.Avatar(0);
dialog.Send();
break;
}
case 7:
{
if (client.Entity.ConquerPoints > 10000)
{
client.Entity.ConquerPoints -= 10000;
client.Inventory.Add(3004249, 0, 1);
client.MessageBox("You received a SacredRefineryPack.", null, null, 0);
break;
}
else
dialog.Text("Sorry, you don`t have enough CPs.");
dialog.Option("I see.", 255);
break;
}
case 8:
{
if (client.Entity.ConquerPoints > 10000)
{
client.Entity.ConquerPoints -= 10000;
Random randoms = new Random();
int r = randoms.Next(1, 4);
if (r == 1)
{
client.Inventory.Add(3004247, 0, 1);
client.MessageBox("You received a P7 Weapon Soul Pack.", null, null, 0);
}
else if (r == 2)
{
client.Inventory.Add(3004248, 0, 1);
client.MessageBox("You received a P7 Equipment Soul Pack.", null, null, 0);
}
else if (r == 3)
{
client.Inventory.Add(3004248, 0, 1);
client.MessageBox("You received a P7 Equipment Soul Pack.", null, null, 0);
}
else if (r == 4)
{
client.Inventory.Add(3004248, 0, 1);
client.MessageBox("You received a P7 Equipment Soul Pack.", null, null, 0);
}
break;
}
else
dialog.Text("Sorry, you don`t have enough CPs.");
dialog.Option("I see.", 255);
break;
}
}
break;
}
#endregion
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
مساعده كود انبى سى | body2020 | مشكلات السيرفيرات كونكر الشخصيه | 2 | 2020-05-01 03:46 PM |
انبي سي | mohamedomar | مشكلات السيرفيرات كونكر الشخصيه | 3 | 2020-01-24 10:20 PM |
انبي سي تبديل السبس بي سبس بوند | Hassan Emprator | تطوير سيرفرات كونكر | 2 | 2019-07-22 11:19 PM |
انبي سي innerPower | Hassan Emprator | تطوير سيرفرات كونكر | 3 | 2019-07-21 08:07 AM |
انبي سي الابك | Hassan Emprator | تطوير سيرفرات كونكر | 1 | 2019-07-08 04:14 PM |