Returns spells learned as part of a specific specialization.
spellID1, level1, spellID2, level2, ... = GetSpecializationSpells(specIndex [, isInspect, isPet])
- number - index of the specialization to query, integer ascending from 1.
- boolean - a truthy value to query information about the inspected unit; player information is returned otherwise.
- boolean - a truthy value to query information about a pet specialization; player information is returned otherwise.
An unsorted list of (spellID, level) pairs:
- number - spell learned as part of the specialization.
- number - level at which the spell is learned by the specialization.