Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #region Cps 4 BoundCPS
- case 3823:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hey there " + client.Entity.Name + " Would you like to Up Level 1 = 215 CPS >> 1-140 << | Made By TheHobbit | Good Luck ?");
- dialog.Option("Lvl 1+ (1-140) 1=215 CPs.", 4);
- dialog.Option("No Thanks", 255);
- dialog.Avatar(116);
- dialog.Send();
- break;
- }
- case 4:
- {
- if (client.Entity.Level >= 1 && client.Entity.Level < 140)
- {
- if (client.Entity.ConquerPoints >= 215)
- {
- client.Entity.ConquerPoints -= 215;
- client.Entity.Level++;
- client.Entity.Experience = 0;
- if (client.Entity.Reborn == 0)
- {
- Database.DataHolder.GetStats(client.Entity.Class, client.Entity.Level, client);
- client.CalculateStatBonus();
- client.CalculateHPBonus();
- client.GemAlgorithm();
- }
- }
- else
- {
- dialog.Text("Please come back to me with 215 Conquer Points.");
- dialog.Option("Ahh sorry.", 255);
- }
- }
- else
- {
- dialog.Text("Please come back When you are past 1 And lower than 140.");
- dialog.Option("Ahh sorry.", 255);
- }
- break;
- }
- }
- break;
- }
- #endregion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement