Skip to content

Commit

Permalink
Merge pull request #786 from nwalshgit/patch-1
Browse files Browse the repository at this point in the history
Update char_class_utils.py fixed a "elif" when it should be "if"
  • Loading branch information
doug1234 authored Sep 7, 2024
2 parents 23d38db + db2835d commit ec378eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tpdatasrc/tpgamefiles/rules/char_class/char_class_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def GetSpellsKnownAddedCount( spells_known, spellListLvl, spellLvl):
prevNumKnown = q[spellLvl]
else:
prevNumKnown = 0
elif (p > highestEntry and p < spellListLvl):
if (p > highestEntry and p < spellListLvl):
highestEntry = p
# print "newNumKnown is " + str(newNumKnown) + "prevNumKnown is: " + str(prevNumKnown)
if (newNumKnown == -999):
Expand Down

0 comments on commit ec378eb

Please sign in to comment.