Wikia

WoWWiki

API GetSpellBookItemInfo

Talk0
101,671pages on
this wiki
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

Around Wikia's network

Random Wiki