WoW API: GetNumSpecGroups

From AddOn Studio
Jump to navigation Jump to search

WoW API < GetNumSpecGroups

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

local numSpecGroups = GetNumSpecGroups()

Returns[edit]

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

Patch history[edit]

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

See also[edit]