Trefferpunkte aus Einzelwuerfen berechnen (1W4 + 1W je Stufe + KON)

This commit is contained in:
torsten 2026-11-22 19:00:31 +01:00
parent 216a62191e
commit 6a6ce7b197
11 changed files with 277 additions and 11 deletions

View file

@ -62,7 +62,8 @@ $equipped = array_values(array_filter($items, static fn ($item) => (int) $item['
<div class="stat-row">
<div class="stat">
<span class="k">Trefferpunkte</span>
<span class="v"><?= (int) $character['hp_current'] ?> / <?= (int) $character['hp_max'] ?></span>
<span class="v"><?= (int) $character['hp_current'] ?> / <?= hp_max_for($character) ?></span>
<span class="b" style="color:var(--parchment-dim)"><?= e(hp_rolls_label($character)) ?></span>
</div>
<div class="stat">
<span class="k">Rüstungsklasse</span>