Returns the number of available talent tiers.
tiers = GetMaxTalentTier()
- number - number of talent tiers available to the player's character, based on the character's level.
- Information concerning levels at which talent tiers become available is stored in the
CLASS_TALENT_LEVELSglobal 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);
Patch 5.0.4 (2012-08-28): added