API GetPvpTalentInfoByID

From Wowpedia
Jump to: navigation, search

Returns information about a PvP (honor) talent.

talentID, name, icon, selected, available, spellID, unlocked, row, column, known, unknown = GetPvpTalentInfoByID(talentID)

Arguments

talentID 
number

Returns

1. talentID 
number - Talent ID.
2. name 
string - Talent name.
3. texture 
number - Texture FileID
4. selected 
boolean - true if the talent is chosen, false otherwise.
5. available 
boolean - 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 
number - Spell ID that is added to the spellbook.
7. unlocked 
boolean - Whether the talent is unlocked.
8. row 
number - The row the talent is from. This will be the same as the tier argument given.
9. column 
number - The column the talent is from. This will be the same as the column argument given.
10. known 
boolean - true if the talent is known, false otherwise, appears to be the same as selected.
11. unknown 
boolean

Patch changes

See also