Wowpedia
Advertisement
Wowpedia
240,449
pages
Game Flavors
Links
Patch
Added in 7.0.3

Returns the column of the selected talent for a given tier.

tierAvailable, selectedTalent, tierUnlockLevel = GetTalentTierInfo(tier, specGroupIndex[, isInspect[, inspectedUnit]])

Arguments

tier 
number - Talent tier from 1 to MAX_TALENT_TIERS
specGroupIndex
number - Index of active specialization group (GetActiveSpecGroup)
isInspect 
boolean? - If non-nil, returns information based on inspectedUnit.
inspectedUnit 
string? - Inspected unitId.

Returns

1. tierAvailable 
boolean - true if the player can select a talent for the tier.
2. selectedTalent 
number - The column number of the selected talent.
3. tierUnlockLevel 
number - The level the tier becomes available to the player.

Details

  • selectedTalent is always 0 for inspected units.

Patch changes

  • Shadowlands Patch 9.0.1 / API (2020-10-13): Added tierUnlockLevel return, which replaced CLASS_TALENT_LEVELS usage.
Advertisement