So, I pretty got a basic formula for leveling.
Int(1+(Lv+10) pow 2)
My question is, how can I make it so that it level up to match the exp need for that one level.
Example.
I'm at Lv1 and I need 10k EXP to reach level 10. If I add 10000 EXP, I want to able to instantly jump to Lv10 instead of going like lv 1, 2, 3, 4, etc. Also, I want the excess EXP to carry over to the next level. So if I 11,000 EXP, I'd level to Lv10 and the excess 1000 EXP will carry over.