Lore archive · Warcraft Wiki, 2023 dump
API GetPvpTalentInfoByID
Last wiki revision 2022-11-16
Returns information about a PvP (honor) talent. talentID, name, icon, selected, available, spellID, unlocked, row, column, known, grantedByAura = GetPvpTalentInfoByID(talentID[, specGroupIndex, isInspect, inspectUnit])
- talentID: - Talent ID.
- specGroupIndex: - Index of active specialization group ; if nil, the selected/available return values will always be false.
- isInspect: - If non-nil, returns information based on inspectedUnit.
- inspectedUnit: - Inspected unitId.
- 1. talentID: - Talent ID.
- 2. name: - Talent name.
- 3. texture: - FileID
- 4. selected: - true if the talent is chosen, false otherwise.
- 5. available: - true if the talent tier is chosen, or if it is level-appropriate for the player and the player has no talents selected in that tier, false otherwise.
- 6. spellID: - Spell ID that is added to the spellbook.
- 7. unlocked: - Whether the talent is unlocked.
- 8. row: - The row the talent is from.
- 9. column: - The column the talent is from.
- 10. known: - true if the talent is known, false otherwise.
- 11. grantedByAura: - true if the talent is granted by an aura (i.e., an effect on an item), false otherwise. The Conflict and Strife Azerite Essence uses this instead of selected.
Source
https://warcraft.wiki.gg/wiki/API_GetPvpTalentInfoByID · 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.