WoW API: GetNumSpecGroups

WoW API < GetNumSpecGroups

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

local numSpecGroups = GetNumSpecGroups()

Returns

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

Patch history

Template:Mists-inline <span style="" title="Patch 5.0.4">Patch 5.0.4</span> (patch date::28-August-2012): Replaced GetNumTalentGroups.

See also