API GetNextTalentLevel

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