SetMemorizableSpellsCount

Prototype: GemRB.SetMemorizableSpellsCount (PartyID, Value, SpellType, Level)

Description: Sets number of memorizable spells of given type and level in a player character’s spellbook.

Parameters:

  • PartyID - the PC’s position in the party
  • Value - number of memorizable spells
  • SpellType - 0 - priest, 1 - wizard, 2 - innate
  • Level - the memorized spell’s level

Return value: N/A

See also: GetMemorizableSpellsCount


Back to function index, GUIScript introduction.