Lore archive · Warcraft Wiki, 2023 dump
API PickupSpellBookItem
Last wiki revision 2023-08-24
Picks up a skill from spellbook so that it can subsequently be placed on an action bar. PickupSpellBookItem(spellName or index, bookType)
or
- spellName: - The name of the spell you want to query
- index: - Spellbook slot index to pick up the spell from.
- bookType: - Spell book type; one of the following global constants:
- BOOKTYPE_SPELL ("spell")
- BOOKTYPE_PROFESSION ("professions")
- BOOKTYPE_PET ("pet")
The following sequence of macro commands places the Cat Form ability into the current action bar's first slot. /run PickupSpellBookItem("Cat Form") /click ActionButton1 /run ClearCursor
Source
https://warcraft.wiki.gg/wiki/API_PickupSpellBookItem · 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.