API GetNextTalentLevel

Returns the next level that you will recieve a talent point. For instance, my 80 recieves 81 as a value, and my level 1 recieves 10 as a value. nextLevel = GetNextTalentLevel([level]);

Parameters

 * level: Number - The level to take into account. (defaults to the character's actual 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)} while true do local n = GetNextTalentLevel(LEVELS[#LEVELS]) if not n then break end LEVELS[#LEVELS + 1] = n end