GetNumSpecGroups

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 5.0.4

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

numSpecGroups = GetNumSpecGroups([b])

Arguments

b
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 changes

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

See also