mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-05-18 20:23:27 +02:00
Foundry reader now properly read max HP (formerly read current HP).
This commit is contained in:
@@ -529,7 +529,7 @@ class FoundryCharacterReader(JSONCharacterReader):
|
||||
char_props["_proficiencies_text"] = tool_profs
|
||||
# Combat stats
|
||||
char_props["hp_max"] = self.as_int(
|
||||
json_data["data"]["attributes"]["hp"]["value"]
|
||||
json_data["data"]["attributes"]["hp"]["max"]
|
||||
)
|
||||
# Equipment
|
||||
currency = json_data["data"]["currency"]
|
||||
|
||||
Reference in New Issue
Block a user