|
المشاركات 1,940 |
+التقييم 0.95 |
تاريخ التسجيل Apr 2019 |
الاقامة Egypt |
نظام التشغيل windows 7 |
رقم العضوية 1 |
#region PK less than
case 59527:
{
switch (npcRequest.OptionID)
{
case 0:
{
if (client.Entity.PKPoints < 30)
{
dialog.Text("i cant less your pk any more you are safe Now");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
break;
}
dialog.Text("Hay I am Pkpoints lesser i can less your pk from 30 or higher");
dialog.Option("- [30] PKponits 100 cps.", 1);
dialog.Option("- [60] PKponits 200 cps", 2);
dialog.Option("- [90] PKponits 300 cps", 3);
dialog.Option("- [120] PKponits 400 cps", 4);
dialog.Option("- [150] PKponits 500 cps", 5);
dialog.Option("- [200] PKponits 600 cps", 6);
dialog.Option("- [250] PKponits 700 cps", 7);
dialog.Option("Just passing by.", 255);
dialog.Avatar(116);
dialog.Send();
break;
}
case 1:
{
if (client.Entity.PKPoints >= 30)
{
if (client.Entity.ConquerPoints >= 100)
{
client.Entity.ConquerPoints -= 100;
client.Entity.PKPoints -= 30;
}
else
{
dialog.Text("Please take 100 cps.");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
}
else
{
dialog.Text("your pk points is low must higher than." + client.Entity.PKPoints);
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 2:
{
if (client.Entity.PKPoints >= 60)
{
if (client.Entity.ConquerPoints >= 200)
{
client.Entity.ConquerPoints -= 200;
client.Entity.PKPoints -= 60;
}
else
{
dialog.Text("Please take 200 cps.");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
}
else
{
dialog.Text("your pk points is low must higher than." + client.Entity.PKPoints);
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 3:
{
if (client.Entity.PKPoints >= 90)
{
if (client.Entity.ConquerPoints >= 300)
{
client.Entity.ConquerPoints -= 300;
client.Entity.PKPoints -= 90;
}
else
{
dialog.Text("Please take 300 cps.");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
}
else
{
dialog.Text("your pk points is low must higher than." + client.Entity.PKPoints);
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
}
break;
}
#endregion
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
أدوات الموضوع | |
|