Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API IsTrainerServiceLearnSpell

Last wiki revision 2022-08-01

Returns the type of trainer spell in the trainer window. isLearnSpell, isPetLearnSpell = IsTrainerServiceLearnSpell(index)

  • index: - The index of the spell in the trainer window.
  • isLearnSpell: - Returns 1 if the spell is a class spell or a learnable profession spell, nil otherwise.
  • isPetLearnSpell: - Returns 1 if a pet spell, nil otherwise.

Source

https://warcraft.wiki.gg/wiki/API_IsTrainerServiceLearnSpell · 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.