Add missing modifier for the MaxHp on the summary hitpoint.

This commit is contained in:
Thomas Andres Gomez 2024-01-07 14:07:58 +01:00
parent e3ceeade10
commit bc7838f8a3

View file

@ -196,7 +196,7 @@ class SummaryFactory @Inject constructor(
else -> "${it.value}+${it.additional}" else -> "${it.value}+${it.additional}"
} }
} ?: "?", } ?: "?",
max = "${sheet.hitPoint}", max = "${sheet.hitPoint + status[Property.HIT_POINT].sum}",
) )
val armorClass = label( val armorClass = label(
label = "${sheet.armorClass + status[Property.ARMOR_CLASS].sum}", label = "${sheet.armorClass + status[Property.ARMOR_CLASS].sum}",