Returns the number of available talent tiers.
tiers = GetMaxTalentTier()
Returns
- tiers
- number - number of talent tiers available to the player's character, based on the character's level.
Notes
- 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 history
Patch 5.0.4 (2012-08-28): added