Malarne / discord_cogs

GNU General Public License v3.0
26 stars 25 forks source link

[Request] Leveler System #44

Closed riparoo closed 4 years ago

riparoo commented 4 years ago

Hello I have recently started using your Leveler System and am loving it. I changed up the design myself but it works great. One thing I've noticed with the XP system though is that instead of the normal once you level your xp goes back to 0 and you climb to the next total you keep your previous XP and continue to the next max XP needed.

Is there any way you could make it at each level the XP reset to 0 and then you climb to the max XP needed for that level?

Malarne commented 4 years ago

You probably can do that pretty easily if you check out how i made the exp system, you'll just have to substract the xp needed for level -1 somewhere around line 176 of leveler.py (there is a function for getting needed xp for a level inside userprofile.py

riparoo commented 4 years ago

Ah okay great thank you very much I will look in to it now =)