Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetSpellBookItemInfo

Last wiki revision 2022-09-21

Returns info for a spellbook item. spellType, id = GetSpellBookItemInfo(spellName) = GetSpellBookItemInfo(index, bookType)

  • spellType: - The type of the spell:
  • id:
  • For SPELL and FUTURESPELL, the SpellID used in
  • For PETACTION, the ActionID used in ; furthermore, the SpellID can be obtained by applying the bitmask 0xFFFFFF.
  • For FLYOUT, the FlyoutID used in

Prints all spells in the spellbook for the player, except the profession tab ones.

Prints all pet spells.

Source

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