Fandom

WoWWiki

API GetSpellBookItemInfo

104,634pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < GetSpellBookItemInfo

Synopsis Edit

Retrieves information about a specific SpellBook item

skillType, spellId = GetSpellBookItemInfo(spellName)

or

skillType, spellId = GetSpellBookItemInfo(index, target)

Arguments Edit

spellName
String - The name of the spell you want to query
index
Number - The index into the spellbook
target
String - keyword e.g. "player" or "pet"

Returns Edit

skillType
String - The type of the spell (known values: "SPELL", "PETACTION", "FUTURESPELL", "FLYOUT")
spellId
Number - The global spell id

If nothing is found or invalid parameters were supplied, nil is returned

Also on Fandom

Random Wiki