Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetSpecializationSpells

Last wiki revision 2022-08-01

Returns the spells learned as part of the specified specialization. spellID1, level1, spellID2, level2, ... = GetSpecializationSpells(specIndex [, isInspect, isPet])

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

An unsorted list of (spellID, level) pairs:

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

Source

https://warcraft.wiki.gg/wiki/API_GetSpecializationSpells · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.