Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetTalentInfo

Last wiki revision 2023-01-30

Returns info for the specified talent. talentID, name, texture, selected, available, spellID, unknown, row, column, known, grantedByAura = GetTalentInfo(tier, column, specGroupIndex [, isInspect, inspectUnit]) = GetTalentInfoByID(talentID, specGroupIndex [, isInspect, inspectUnit]) = GetTalentInfoBySpecialization(specIndex, tier, column)

  • tier: - Talent tier from 1 to
  • column: - Talent column from 1 to
  • specGroupIndex: - Index of active specialization group
  • isInspect: - If non-nil, returns information based on inspectedUnit/classId.
  • inspectUnit: : UnitId - Inspected unit; if nil, the selected/available return values will always be false.
  • talentID: - Talent ID.
  • specGroupIndex:
  • isInspect:
  • inspectUnit: : UnitId
  • specIndex: - Index of the specialization, ascending from 1 to.
  • tier:
  • column:
  • 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. unknown:
  • 8. row: - The row the talent is from. This will be the same as the tier argument given.
  • 9. column: - The column the talent is from. This will be the same as the column argument given.
  • 10. known: - true if the talent is active, false otherwise.
  • 11. grantedByAura: - true if the talent is granted by an aura (i.e., an effect on an item), false otherwise. Legion's Class Soul rings used this rather than selected.

Source

https://warcraft.wiki.gg/wiki/API_GetTalentInfo · 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.