AcHp

5eTools armor class and hit points attributes

This data object provides a default mechanism for creating a marked up string based on the attributes that are present. To use it, reference it directly.

Attributes

ac, acText, hitDice, hp, hpDiceRoller, hpText

ac

Armor class (number)

acText

Additional armor class text. May link to related items

hitDice

Hit dice formula string: 7d10 + 14 (for creatures)

hp

Hit points (number or —)

hpDiceRoller

Hit points as a dice roller formula: `dice: 1d20+7|text(37)` (`1d20+7`)

hpText

Additional hit point text. In the case of summoned creatures, this will contain notes for how hit points should be calculated relative to the player's modifiers.