|
المشاركات 1,940 |
+التقييم 0.95 |
تاريخ التسجيل Apr 2019 |
الاقامة Egypt |
نظام التشغيل windows 7 |
رقم العضوية 1 |
#region Lucky Play ITEM
case 54586:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Try You'r Lucky With Play ITEM");
dialog.Option("play item 1M CPS.", 1);
dialog.Option("not now.", 255);
dialog.Avatar(80);
dialog.Send();
break;
}
case 3:
{
if (client.Entity.ConquerPoints >= 1000000)
{
client.Entity.ConquerPoints -= 1000000;
Random R = new Random();
int Nr = R.Next(1, 7);
if (Nr == 1) client.Inventory.Add(720027, 0, 1); // name item
if (Nr == 1) client.MessageBox("you win item ", null);
if (Nr == 1) client.Inventory.Add(720027, 0, 1); // name item
if (Nr == 1) client.MessageBox("you win item ", null);
if (Nr == 1) client.Inventory.Add(720027, 0, 1); // name item
if (Nr == 1) client.MessageBox("you win item ", null);
if (Nr == 1) client.Inventory.Add(720027, 0, 1); // name item
if (Nr == 1) client.MessageBox("you win item ", null);
if (Nr == 2) client.Inventory.Add(720027, 0, 1); // name item
if (Nr == 2) client.MessageBox("you win item ", null);
if (Nr == 3) client.Inventory.Add(720027, 0, 1); // name item
if (Nr == 3) client.MessageBox("you win item ", null);
if (Nr == 4) client.Inventory.Add(720027, 0, 1); // name item
if (Nr == 4) client.MessageBox("you win item ", null);
if (Nr == 5) client.Inventory.Add(720027, 0, 1); // name item
if (Nr == 5) client.MessageBox("you win item ", null);
if (Nr == 6) client.Inventory.Add(720027, 0, 1); // name item
if (Nr == 6) client.MessageBox("you win item ", null);
if (Nr == 7) client.Inventory.Add(720027, 0, 1); // name item
if (Nr == 7) client.MessageBox("you win item ", null);
DialyQuestsEffect.Check(client, "Sure");
}
else
{
dialog.Text("You do not have 1M Cps.");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
break;
}
}
#endregion