تيم تهيس
بص يا سيدي الانبي سي ده ينفع لسيرفيرات الصعبه
والسهله انا مش بنصح بيه
الانبي سي ده بيديك بدل السي بي نقاط تشتريه صناديق للانر بور
#region online points/mohamed yasser case 16970: { switch (npcRequest.OptionID) { case 0: { dialog.Text("IaM Online Points Master You Are Get 1 Points For online to 1 Mint !"); dialog.Option("Check My Piontes.", 1); dialog.Option("Get 2K Cps For 800 Online Points .", 2); dialog.Option("Get 8K Cps For 2500 Online Points.", 3); dialog.Option("Get 12K Cps For 3500 Online Points.", 4); dialog.Option("Meh!", 255); dialog.Send(); break; } case 1: { dialog.Text(" I see you have " + client.Entity.TreasuerPoints + " Online Points"); dialog.Option("Oh I See!.", 255); dialog.Send(); break; } case 2: { uint cost = 800; if (client.Entity.TreasuerPoints >= 800) { client.Entity.TreasuerPoints -= 800; client.Entity.ConquerPoints += 2000; dialog.Text("Congratulations. You Get " + 2000 + " Cps for " + cost + " Points."); dialog.Option("Thank you.", 255); } else { dialog.Text("You Don't Have " + cost + "Points Come When You Have it "); dialog.Option("Sorry ", 255); dialog.Send(); } break; } case 3: { uint cost = 2500; if (client.Entity.TreasuerPoints >= 2500) { client.Entity.TreasuerPoints -= 2500; client.Entity.ConquerPoints += 8000; dialog.Text("Congratulations. You Get " + 8000 + " Cps for " + cost + " Points."); dialog.Option("Thank you.", 255); } else { dialog.Text("You Don't Have " + cost + "Points Come When You Have it "); dialog.Option("Sorry ", 255); dialog.Send(); } break; } case 4: { uint cost = 3500; if (client.Entity.TreasuerPoints >= cost) { client.Entity.TreasuerPoints -= cost; client.Entity.ConquerPoints += 12000; dialog.Text("Congratulations. You Get " + 12000 + " Cps for " + cost + " points."); dialog.Option("Thank you.", 255); } else { dialog.Text("You Don't Have " + cost + "Points Come When You Have it "); dialog.Option("Sorry ", 255); dialog.Send(); } break; } } break; } #endregion