I'm trying to make a formula that calculates a percentage of the experience required to get from current level to next level.
So let say:
-I have an experience development curve that defines exp required for each level
-Player is level 10 and it will take 100 exp to get to level 11
-Death penalty would subtract 20% the next level exp requirement, but should not go under the total required to reach level 10.
Is it possible to access the values defined in a development curve in a formula so something like this can be done?