Permalink
Browse files

GetUsableMemorizedSpells: look at 10th level spells too

fixes how's ranger tracking being skipped
  • Loading branch information...
1 parent 6356307 commit e020bc52ccbcd2cef0cbb31d40d7c36d9382b328 @lynxlynxlynx lynxlynxlynx committed Mar 29, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 gemrb/GUIScripts/Spellbook.py
@@ -45,7 +45,7 @@ def g(obj):
def GetUsableMemorizedSpells(actor, BookType):
memorizedSpells = []
spellResRefs = []
- for level in range (9):
+ for level in range (10):
spellCount = GemRB.GetMemorizedSpellsCount (actor, BookType, level, False)
for i in range (spellCount):
Spell0 = GemRB.GetMemorizedSpell (actor, BookType, level, i)

0 comments on commit e020bc5

Please sign in to comment.