Maximum Hit Points
{totalHp}
{/* Hit Point Controls */}
{preferences.hitPointType ===
Constants.PreferenceHitPointTypeEnum.FIXED ? (
Fixed HP
{baseHp}
) : (
setBaseHp(value as number)}
transformValueOnBlur={transformBaseHp}
/>
)}
setBonusHp(value as number)}
transformValueOnBlur={transformBonusHp}
/>
}
label="Override HP"
initialValue={overrideHp}
type="number"
placeholder={"--"}
onBlur={handleOverrideHpUpdate}
transformValueOnBlur={transformOverrideHp}
/>
{/* Hit Point Bonus Sources */}
{hpInfo.hitPointSources.length > 0 && (
Hit Point Bonuses
{hpInfo.hitPointSources.map((hitPointSource, idx) => (
{FormatUtils.renderSignedNumber(hitPointSource.amount)} from{" "}
{hitPointSource.source}
))}
)}
{/* Hit Dice & Potential Values */}
Hit Dice
{hpInfo.classesHitDice.map((classHitDice) => (
{ClassUtils.getName(classHitDice.charClass)}:
{DiceUtils.renderDie(classHitDice.dice)}
))}
Potential Values
Total Fixed Value HP:
{hpInfo.totalFixedValueHp}
Total Average HP:
{hpInfo.totalAverageHp}
Total Possible HP:
{hpInfo.possibleMaxHitPoints}
{/* HP Help */}
Max Hit Points
Your hit point maximum is determined by the number you roll for your
hit dice each level or a fixed value determined by your hit dice and
your Constitution modifier
Bonus Hit Points
Use this field to record any miscellaneous bonus hit points you want
to add to your normal hit point maximum. These hit points are
different from temporary hit points, which you can add on your
character sheet during play.
Override Hit Points
Use this field to override your typical hit point maximum. The
number you enter here will display as your hit point maximum on your
character sheet.