API GetTalentPrereqs

Returns the tier and column of a talent's prerequisite, and if the talent is learnable. tier, column, isLearnable = GetTalentPrereqs(tabIndex, talentIndex)

Arguments

 * tabIndex : number - Ranging from 1 to
 * talentIndex : number - Ranging from 1 to (tabIndex)

Returns

 * tier : number - The row/tier that the prerequisite talent sits on.
 * column : number - The column that the prerequisite talent sits on.
 * isLearnable : number - Returns 1 if you have learned the prerequisite talents, nil otherwise.

Details

 * The  is counted as if it where a tree, meaning that the left most talent in the top most row is number 1 followed by the one immediate to the right is number 2, if there are no more talents to the right then it continues from the left most talent on the next row.
 * If you check a talent with no prerequisites, the function returns nil.