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 (255 means any)

Return value: tuple of spell resresfs


Back to function index, GUIScript introduction.