API GetMaxTalentTier

Returns the number of available talent tiers.
 tiers = GetMaxTalentTier()
==Returns==
:;tiers: - number of talent tiers available to the player's character, based on the character's level.
==Details==
* Information concerning levels at which talent tiers become available is stored in the CLASS_TALENT_LEVELS global variable, and can be queried like this:
 local _, class = UnitClass("player")
 local tierLevels = CLASS_TALENT_LEVELS[class] or CLASS_TALENT_LEVELS.DEFAULT
 print("Your first talent point is available at level", tierLevels[1]);
==Patch changes==