GetSpelldata
Prototype: GemRB.GetSpelldata (globalID[, type])
Description: Returns resrefs of the spells in the spellbook’s spellinfo structure.
Parameters:
- globalID - global ID of the actor to use
- type - spell(book) type (2047 means any)
Return value: tuple of uppercase spell resresfs
Back to function index, GUIScript introduction.