#region Change Silver case 55748: { switch (npcRequest.OptionID) { case 0: { dialog.Text("Hello " + client.Entity.Name + " There I can give you some silver For some cps but choses you need what from list"); dialog.Option("Give [100] M Silver For [100.000] Cps", 1); dialog.Option("Give [200] M Silver For [200.000] Cps", 2); dialog.Option("Give [400] M Silver For [400.000] Cps", 3); dialog.Option("Give [500] M Sivler For [500.000] Cps", 4); dialog.Option("Wait a minute.", 255); dialog.Send(); break; } case 1: { if (client.Entity.ConquerPoints >= 100000) { client.Entity.ConquerPoints -= 100000; client.Entity.Money += 100000000; } else { Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "Sorry You Dont Have 100.000 Cps!"); npc.OptionID = 255; client.Send(npc.ToArray()); } break; } case 2: { if (client.Entity.ConquerPoints >= 200000) { client.Entity.ConquerPoints -= 200000; client.Entity.Money += 200000000; } else { Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "Sorry You Dont Have 200.000 Cps!"); npc.OptionID = 255; client.Send(npc.ToArray()); } break; } case 3: { if (client.Entity.ConquerPoints >= 400000) { client.Entity.ConquerPoints -= 400000; client.Entity.Money += 400000000; } else { Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "Sorry You Dont Have 400.000 Cps!"); npc.OptionID = 255; client.Send(npc.ToArray()); } break; } case 4: { if (client.Entity.ConquerPoints >= 500000) { client.Entity.ConquerPoints -= 500000; client.Entity.Money += 500000000; } else { Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "Sorry You Dont Have 500.000 Cps!"); npc.OptionID = 255; client.Send(npc.ToArray()); } break; } } break; } #endregion
55748 Change [Silver] 2 39350 4505 55 41