There is no such API. You'd have to either hardcode the specific value(s) for each level in a table, or reverse-engineer the forumula and calculate the value(s) for each level on the fly.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
|