Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API GetNumSpecGroups

From Wowpedia
Jump to: navigation, search

Returns the number of specialization group (dual specs) the player has.

numSpecGroups = GetNumSpecGroups([b])

Arguments

Boolean - In theory this returns information for the inspected target instead of the player. In practice, this seems to return 0 if true. Defaults to false.

Returns

numSpecGroups 
Number - number of available specialization groups; 1 for characters that have not learned dual-specializations, 2 for those that have.

Patch history

Mists of Pandaria Patch 5.0.4 (2012-08-28): Replaced GetNumTalentGroups.

See also