Added spell list to the epub, and cleaned up dict-list style sheet.

This commit is contained in:
Mark Wolfman
2021-07-11 12:35:22 -05:00
parent 8be06d2ffe
commit 88bdd59fdd
18 changed files with 304 additions and 120 deletions
+5
View File
@@ -39,6 +39,11 @@ def ability_mod_str(character, ability):
return mod_str(getattr(character, ability).modifier)
def stat_abbreviation(stat_name):
"""Abbreviate the name of an ability."""
return stat_name.upper()[:3]
AbilityScore = namedtuple("AbilityScore", ("value", "modifier", "saving_throw", "name"))