GetActiveSpecGroup

From Warcraft Wiki
Jump to navigation Jump to search

Returns the index of the current active specialization/talent/glyph group.

activeSpec = GetActiveSpecGroup([isInspect])

Arguments

isInspect
boolean? (Defaults to false) - If true returns the information for the inspected unit instead of the player.

Returns

activeSpec
number - The index of the player's active specialization/talent/glyph group (1 for primary / 2 for secondary).

Patch changes

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