Okay, I was wrong, something is still messed up. It's accepting the codes now, but the mathematical output is coming like I didn't change the code at all. The result for:
(xneeded * Math.ceil(Math.pow(1.15, plevel))-EXP)
Is coming out as the result would be for this:
I just...I don't even. It's doing the same for the other equation with this:
(EXP-(xpup - (xneeded * Math.ceil(Math.pow(1.15, plevel-1)))))
Outputting like it's this:
...how does that even happen?