WoW API < GetNumSpecializations

Returns the number of available specializations.

local numSpecializations = GetNumSpecializations(isInspect, isPet)

Arguments Edit

Boolean - if true, return information for the inspected unit; false by default
Boolean - if true, return information for the player's pet; false by default

If both arguments are false, the function returns information concerning the player.

Returns Edit

Number - number of available specializations.

Patch history Edit

Mists-Logo-Small Patch 5.0.4 (28-August-2012): Replaced GetNumTalentTabs.

See also Edit

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.