Fills the tooltip with information about a talent

Signature:

GameTooltip:SetTalent(tabIndex, talentIndex, inspect, pet, talentGroup)

Arguments:

  • tabIndex - Index of a talent tab (between 1 and GetNumTalentTabs()) (number)
  • talentIndex - Index of a talent option (between 1 and GetNumTalents()) (number)
  • inspect - true to return information for the currently inspected unit; false to return information for the player (boolean)
  • pet - true to return information for the player's pet; false to return information for the player (boolean)
  • talentGroup - Which set of talents to edit, if the player has Dual Talent Specialization enabled (number)
    • 1 - Primary Talents
    • 2 - Secondary Talents
    • nil - Currently active talents