GetNextTalentLevel
Jump to navigation
Jump to search
Flavors |
---|
Links |
Info |
Added in 4.0.1 |
This is no longer a part of the World of Warcraft API.
|
Returns the next level that you will receive a talent point. For instance, my 80 receives 81 as a value, and my level 1 receives 10 as a value.
nextLevel = GetNextTalentLevel([level]);
Parameters
- level
- Number - The level to take into account. (defaults to the character's current level).
Returns
- nextLevel
- Number - The level at which your character will gain its next talent point.
Example
The following sample code creates a list of all the level at which a talent point is gained:
LEVELS = {GetNextTalentLevel(1)} repeat local n = GetNextTalentLevel(LEVELS[#LEVELS]) LEVELS[#LEVELS + 1] = n until not n
Patch changes
- Patch 5.0.4 (2012-08-28): Removed.