Lore archive · Warcraft Wiki, 2023 dump
API GetTalentPrereqs
Last wiki revision 2023-09-28
Returns the tier and column of a talent's prerequisite, and if the talent is learnable. tier, column, isLearnable = GetTalentPrereqs(tabIndex, talentIndex [, isInspect, isPet, talentGroup)
- tabIndex: - Ranging from 1 to
- talentIndex: - Ranging from 1 to (tabIndex)
- isInspect: - Whether the talent is for the currently inspected player.
- isPet:
- talentGroup: - Probably the dual spec group index.
- tier: - The row/tier that the prerequisite talent sits on.
- column: - The column that the prerequisite talent sits on.
- isLearnable: - Returns 1 if you have learned the prerequisite talents, nil otherwise.
- 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.
Source
https://warcraft.wiki.gg/wiki/API_GetTalentPrereqs · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.