#region System Online Points By-Captin-Rider case 14224: { #region -- CPs -- //////////////////////////////////////// uint CPsTB1 = 150; uint CPs1 = 250000000; //////////////////////////////////////// #endregion #region -- CPsTB2 -- uint CPsTB2 = 2000; uint CPs2 = 2000; #endregion #region -- GoldPrize -- uint GoldPrize = 2000; #endregion switch (npcRequest.OptionID) { case 0: { dialog.Text("All (Heroes) can talk to me to learn about my offers, this offers for OnlinePoints only."); dialog.Text("Your OnlinePoints Count is : " + client.Player.OnlinePoints + " ."); dialog.Option("VIP7 [5000]", 10); dialog.Option("GoldPrize [3000Points]", 20); dialog.Option("500m Cps [500point]", 11); dialog.Option("250m Cps [250point]", 12); dialog.Option("1b Cps [1000point]", 13); dialog.Option("Just passing by.", 255); dialog.Send(); break; } #region Vip7 case 10: { if (client.Player.OnlinePoints >= 5000 && client.Player.VIPLevel != 7) { client.Player.OnlinePoints -= 5000; client.Player.VIPLevel = 7; dialog.Text("Congratulations. You Get Vip7 for " + 5000 + " Points."); client.Send(new NpcReply(NpcReply.MessageBox, "Congratulations. You Get Vip7 for " + 5000 + " Points.")); dialog.Option("Thank you.", 255); } else { dialog.Text("You Don't Have " + 5000 + "Points Come When You Have it "); dialog.Option("Sorry ", 255); dialog.Send(); } break; } #endregion #region cps case 13: { if (client.Player.OnlinePoints >= 1000) { client.Player.OnlinePoints -= 1000; client.Player.ConquerPoints += 1000000000; dialog.Text("Congratulations. You Get 1000000000 cps for " + 1000 + " Points."); client.Send(new NpcReply(NpcReply.MessageBox, "Congratulations. You Get 1000000000 cps for " + 1000 + " Points.")); dialog.Option("Thank you.", 255); } else { dialog.Text("You Don't Have " + 1000 + "Points Come When You Have it "); dialog.Option("Sorry ", 255); dialog.Send(); } break; } case 12: { if (client.Player.OnlinePoints >= 250) { client.Player.OnlinePoints -= 250; client.Player.ConquerPoints += 250000000; dialog.Text("Congratulations. You Get 250000000 cps for " + 250 + " Points."); client.Send(new NpcReply(NpcReply.MessageBox, "Congratulations. You Get 250000000 cps for " + 250 + " Points.")); dialog.Option("Thank you.", 255); } else { dialog.Text("You Don't Have " + 250 + "Points Come When You Have it "); dialog.Option("Sorry ", 255); dialog.Send(); } break; } case 11: { if (client.Player.OnlinePoints >= 500) { client.Player.OnlinePoints -= 500; client.Player.ConquerPoints += 500000000; dialog.Text("Congratulations. You Get 500000000 cps for " + 500 + " Points."); client.Send(new NpcReply(NpcReply.MessageBox, "Congratulations. You Get 500000000 cps for " + 500 + " Points.")); dialog.Option("Thank you.", 255); } else { dialog.Text("You Don't Have " + 500 + "Points Come When You Have it "); dialog.Option("Sorry ", 255); dialog.Send(); } break; } #endregion #region GoldPrize case 20: { if (client.Player.OnlinePoints >= 3000) { client.Player.OnlinePoints -= 3000; client.Inventory.Add(2100075, 0, 1); dialog.Text("Congratulations. You Get GoldPrize for " + 3000 + " Points."); client.Send(new NpcReply(NpcReply.MessageBox, "Congratulations. You Get GoldPrize for " + GoldPrize + " Points.")); dialog.Option("Thank you.", 255); } else { dialog.Text("You Don't Have " + GoldPrize + "Points Come When You Have it "); dialog.Option("Sorry ", 255); dialog.Send(); } break; } #endregion } break; } #endregion