Skip to content

Commit

Permalink
Merge pull request #9 from keis/double-hunter-fix
Browse files Browse the repository at this point in the history
only add hunter level once
  • Loading branch information
devonjones committed Sep 27, 2015
2 parents b71db6d + 6d86df9 commit 00ec5e2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/psrd/stat_block/spell.py
Expand Up @@ -177,6 +177,8 @@ def parse_level(spell, value):
hunterlevels['level'] = l
else:
finallevels.append({'class': c, 'level': l})
if hunterlevels:
finallevels.append(hunterlevels)

if hunterlevels:
finallevels.append(hunterlevels)

spell['level'] = finallevels

0 comments on commit 00ec5e2

Please sign in to comment.