Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Wowpedia
Advertisement

Returns information about a talent.

name, iconTexture, tier, column, rank, maxRank, isExceptional, available = GetTalentInfo(tabIndex, talentIndex [, isInspect])

Arguments[]

tabIndex
number - Ranging from 1 to GetNumTalentTabs()
talentIndex
number - Ranging from 1 to GetNumTalents(tabIndex).
isInspect
boolean? - If true, returns info for the current inspect target (see NotifyInspect).

Returns[]

name
string
iconTexture
number : FileID
tier
number - The row/tier that the talent sits on.
column
number - The column that the talent sits on.
rank
number - The current amount of talent points for a talent.
maxRank
number - The maximum amount of talent points for a talent.
isExceptional
number - Returns 1 if the talent is the ultimate talent, e.g. Spell holy summonlightwell [Lightwell], otherwise returns nil.
available
number

Details[]

  • The talent index supplied to this function should not be expected to map to the placement of a talent within its tree. Callers must use the tier and column return values to determine where a queried talent is located.

Example[]

Prints all existing talents of your class.

for i = 1, GetNumTalentTabs() do
	for j = 1, GetNumTalents(i) do
		print(i, j, GetTalentInfo(i, j))
	end
end

Patch changes[]

WoW Icon update Patch 1.13.2 (2019-08-26): Added.

Advertisement