Wowpedia
Advertisement
Wowpedia
240,481
pages
Game Flavors
Links
Patch
Added in 5.0.4

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 / API (2012-08-28): Replaced GetNumTalentGroups.

See also

Advertisement