#region online points case 121212: { switch (npcRequest.OptionID) { case 0: { dialog.Text("IaM Online Points Master You Are Get 1 Points For online to 1 Mint Rappelz-Conquer +20 01062817160 !"); dialog.Option("Check My Piontes.", 1); dialog.Option("20.000 Online Points = [VIP.7].", 3); dialog.Option("100.000 Online Points = [VIP.8].", 11); dialog.Option("200 Online Points = 100m Cps.", 5); dialog.Option("500 Online Points = Garment-Mount.", 9); dialog.Option("Meh!", 255); dialog.Send(); break; }
dialog.Option("500 Online Points = Garment-Mount.", 9);
dialog.Option("500 Online Points = GoldPrize.", 15);
case 15: { uint cost = 500; if (client.Player.OnlinePoints >= cost) { client.Player.OnlinePoints -= cost; Random R = new Random(); int Nr = R.Next(1, 9); if (Nr == 1) client.Inventory.Add(188755, 0, 1); dialog.Text("Congratulations. You Get GoldPrize 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; } }
if (Nr == 1) client.Inventory.Add(188755, 0, 1);
188755
uint cost = 500;