- Joined
- Feb 3, 2009
- Messages
- 3,292
Hello,how would I go about making all heroes need 500 exp to level up in all levels?
I would trigger it, if I were you, because you can't link the formula of the maximum XP with the formula of the hero's kill in Gameplay Constants.
from http://world-editor-tutorials.thehelper.net/cat_usersubmit.php?view=68382Experience needed to get a new level
Hero XP Required, Constant factor: 0
Hero XP Required, Level factor: 100
Hero XP Required, Previous value factor: 1
Hero XP Required, Table: 200
This set of values determines when your Heroes gain new levels.
As usual, it all starts with the table.
Your Hero gains a level at 200 experience.
After that, the usual formula applies:
Experience required = "Previous value" * "Previous value factor" + "Level" * "Level factor" + "Constant factor"
So, to reach level 3:
200 (previous value) * 1 (previous value factor) + 3 (level) * 100 (level factor) + 0 (constant)
= 200 * 1 + 3 * 100 + 0
= 200 + 300 + 0
= 500
To reach level 4, your Hero needs:
500 * 1 + 4 * 100 + 0
= 500 + 400 + 0
= 900
Level 5: 900 * 1 + 5 * 100 + 0 = 1400
And so on.
Experience required = "Previous value" * "Previous value factor" + "Level" * "Level factor" + "Constant factor"