mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-06-13 08:03:31 +02:00
Added spell list to the epub, and cleaned up dict-list style sheet.
This commit is contained in:
@@ -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"))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user