HighTech Posted October 28, 2018 Report Posted October 28, 2018 (edited) Hello guys,My bot has !check [n] command which tells how much sets you get for a certain key. I want it as well to calculate the level the buyer would get if he bought that amount of sets. For example !check 5. For 5 keys you get let's say 50 sets. That is 5000 experience. I thought about adding that to current experience of buyer and then somehow calculating which level would that be. I will appreciate any ideas and suggestions.Thanks in advance. Edited October 28, 2018 by HighTech Quote
Dr. McKay Posted October 30, 2018 Report Posted October 30, 2018 If it helps any, the amount of XP needed to reach the next level goes up by 100 every 10 levels. So the amount of XP you need to reach level X is 100 + (floor(X / 10) * 100). Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.