API GetTalentTierInfo

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
 * specGroupIndex: number - Index of active specialization group
 * 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

 * is always 0 for inspected units.