Wikia

WoWWiki

API GetSpellBookItemInfo

Talk0
98,458pages on
this wiki

Synopsis

Retrieves information about a specific SpellBook item

skillType, spellId = GetSpellBookItemInfo(spellName)

or

skillType, spellId = GetSpellBookItemInfo(index, target)

Arguments

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

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

Advertisement | Your ad here

Photos

Add a Photo
61,969photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki