C_ClassTalents.GetHeroTalentSpecsForClassSpec

From Warcraft Wiki
Jump to navigation Jump to search

Returns the SubTreeIDs of the Hero Talent Specializations available to a Class Specialization and config; Returns nothing if none available

subTreeIDs, requiredPlayerLevel = C_ClassTalents.GetHeroTalentSpecsForClassSpec([configID, classSpecID])

Arguments

configID
number? - If not supplied, defaults to the player's active config
classSpecID
number? - If not supplied, defaults to the player's active spec

Returns

subTreeIDs
number[]? - SubTreeIDs of each Hero Talent Specialization
requiredPlayerLevel
number? - The player level at which one of the Hero Talent Specializations can be activated