mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-05-18 20:23:27 +02:00
Added hp current and temporary to character
This commit is contained in:
@@ -159,6 +159,8 @@ class Character:
|
||||
xp = 0
|
||||
# Hit points
|
||||
hp_max = None
|
||||
hp_current = None
|
||||
hp_temp = None
|
||||
# Base stats (ability scores)
|
||||
strength = Ability()
|
||||
dexterity = Ability()
|
||||
|
||||
@@ -87,6 +87,8 @@ def create_character_pdf_template(character, basename, flatten=False):
|
||||
# Hit points
|
||||
"HDTotal": character.hit_dice,
|
||||
"HPMax": str(character.hp_max),
|
||||
"HPCurrent": str(character.hp_current),
|
||||
"HPTemp": str(character.hp_temp),
|
||||
# Personality traits and other features
|
||||
"PersonalityTraits ": text_box(character.personality_traits),
|
||||
"Ideals": text_box(character.ideals),
|
||||
|
||||
Reference in New Issue
Block a user