Wowpedia
Advertisement
Wowpedia
240,497
pages
Game Flavors
Links
Patch
Added in 5.0.4

Returns spells learned as part of a specific specialization.

spellID1, level1,  spellID2, level2, ... = GetSpecializationSpells(specIndex [, isInspect, isPet])

Arguments

specIndex 
number - index of the specialization to query, integer ascending from 1.
isInspect 
boolean - a truthy value to query information about the inspected unit; player information is returned otherwise.
isPet 
boolean - a truthy value to query information about a pet specialization; player information is returned otherwise.

Returns

An unsorted list of (spellID, level) pairs:

spellID 
number - spell learned as part of the specialization.
level 
number - level at which the spell is learned by the specialization.

Patch history

Mists of Pandaria Patch 5.0.4 / API (2012-08-28): Added.

See also

  • GetSpecsForSpell
Advertisement