HP
{character.currentHp}/{sheet.hp.max}
{character.tempHp > 0 && +{character.tempHp} temp }
AC
{sheet.armorClass}
Initiative
{fmtMod(sheet.initiative)}
Speed
{sheet.speed}
Prof. Bonus
{fmtMod(sheet.proficiencyBonus)}
Passive Perception
{sheet.passivePerception}
setFormError(extractErrorMessage(err))}
/>
{canEdit && (
setHpDelta(e.target.value)}
style={{ width: 100 }}
/>
applyHpDelta(-1)}>
− Damage
applyHpDelta(1)}>
+ Heal
Temp HP
patchCharacter.mutate({ tempHp: Number(e.target.value) })}
/>
{/* Armor is an equipped item now; this is the DM's own adjustment on top. */}
{isDM && (
Extra AC (DM)
patchCharacter.mutate({ armorBonus: Number(e.target.value) })}
/>
)}
)}
{isDM && (
Level
patchCharacter.mutate({ level: Number(e.target.value) })}
/>
Recompute Max HP
Location
patchCharacter.mutate({ currentLocationId: e.target.value || null })}
>
— none —
{locations?.map((loc) => (
{loc.name}
))}
)}
{!isDM && character.currentLocation && (
📍 Currently at: {character.currentLocation.name}
)}
{(sheet.gear.effects.length > 0 || sheet.gear.notes.length > 0) && (
From Equipped Gear
Already counted in every number on this sheet. Take something off and its line goes.
)}
Ability Scores
{(Object.keys(sheet.abilities) as Ability[]).map((ability) => (
{ABILITY_LABELS[ability]}
{sheet.abilities[ability].final}
{fmtMod(sheet.abilities[ability].modifier)}
))}
Saving Throws
{(Object.keys(sheet.saves) as Ability[]).map((ability) => (
{ABILITY_LABELS[ability]} {sheet.saves[ability].proficient && prof }
{fmtMod(sheet.saves[ability].bonus)}
))}
Skills
{Object.entries(sheet.skills).map(([skill, detail]) => (
{SKILL_LABELS[skill]}{' '}
{detail.expertise ? (
expertise
) : detail.proficient ? (
prof
) : null}
{fmtMod(detail.bonus)}
))}
{sheet.spellcasting && (
Spellcasting ({ABILITY_LABELS[sheet.spellcasting.ability]})
Save DC {sheet.spellcasting.saveDC} · Attack Bonus{' '}
{fmtMod(sheet.spellcasting.attackBonus)}
)}
Weapons
{weaponsPage.pageItems.map((cw) => (
{cw.weapon.name}
Lv {cw.level} · {cw.scaledDamageDice} {cw.weapon.damageType} · x{cw.quantity}
{!cw.usable &&
}
{effectsSummary(cw.weapon.effects, cw.weapon.effectNote) && (
✦ While equipped: {effectsSummary(cw.weapon.effects, cw.weapon.effectNote)}
)}
{canEdit && (
Equipped
patchWeapon.mutate({ weaponId: cw.weaponId, equipped: e.target.checked }, equipResult)}
/>
{isDM && (
<>
patchWeapon.mutate({ weaponId: cw.weaponId, level })}
/>
removeWeapon.mutate(cw.weaponId)}>
✕
>
)}
)}
))}
{character.weapons.length === 0 &&
No weapons. The DM hands these out.
}
{isDM && (
setPickedWeaponId(e.target.value)} style={{ flex: 1, minWidth: 160 }}>
Give a weapon from the campaign pool…
{campaignWeapons
?.filter((w) => !assignedWeaponIds.has(w.id))
.map((w) => (
{w.name}
))}
Give
)}
{campaignSpells && campaignSpells.length > 0 && (
Spells Known
{spellsPage.pageItems.map((cs) => (
{cs.spell.name}
{spellLevelLabel(cs.spell.level)}
{cs.spell.damageDice && ` · ${cs.spell.damageDice} damage`}
{!cs.usable &&
}
{cs.spell.description &&
{cs.spell.description}
}
{canEdit && (
Prepared
patchSpell.mutate({ spellId: cs.spellId, prepared: e.target.checked })}
/>
{isDM && (
removeSpell.mutate(cs.spellId)}>
✕
)}
)}
))}
{character.spells.length === 0 &&
No spells known. The DM grants these.
}
{isDM && (
setPickedSpellId(e.target.value)} style={{ flex: 1, minWidth: 160 }}>
Grant a spell from the campaign list…
{campaignSpells
.filter((s) => !assignedSpellIds.has(s.id))
.map((s) => (
{s.name} ({spellLevelLabel(s.level)})
))}
Grant
)}
)}
{character.restricted && (
This is another player's character. You can see what the party sees across the table; what they carry and how
much gold they have is theirs to share.
)}
{!character.restricted && (
<>
Inventory
{itemsPage.pageItems.map((held) => (
{held.item.name}
Lv {held.level}
{held.scaledDamageDice && ` · ${held.scaledDamageDice}`} · x{held.quantity}
{!held.usable &&
}
{effectsSummary(held.item.effects, held.item.effectNote) && (
✦ While equipped: {effectsSummary(held.item.effects, held.item.effectNote)}
)}
{held.item.description && (
{held.item.description}
)}
{canEdit && (
Equipped
patchItem.mutate({ itemId: held.itemId, equipped: e.target.checked }, equipResult)}
/>
{isDM && (
<>
patchItem.mutate({ itemId: held.itemId, level })}
/>
patchItem.mutate({ itemId: held.itemId, quantity: held.quantity - 1 })}
>
−
patchItem.mutate({ itemId: held.itemId, quantity: held.quantity + 1 })}
>
+
removeItem.mutate(held.itemId)}>
✕
>
)}
)}
))}
{character.inventoryItems.length === 0 &&
Nothing carried. The DM hands out items.
}
{isDM && (
setPickedItemId(e.target.value)} style={{ flex: 1, minWidth: 160 }}>
Give an item from the campaign pool…
{campaignItems?.map((item) => (
{item.name}
))}
Give
)}
{isDM && campaignItems?.length === 0 && (
The item pool is empty — add items on the campaign page first.
)}
Money
{formatPurse(character)}
1 gold = 10 silver = 100 copper. Worth {purseWorthInGold(character)} gold in all. Spending and giving make
change for you: if you are short of a coin, a bigger one is broken. Cash ($) is kept apart: it is never
exchanged for coins.
{canEdit && (
setGoldAmount(e.target.value)}
style={{ width: 100 }}
/>
setGoldCurrency(e.target.value as Currency)}>
{CURRENCIES.map((c) => (
{COIN_LABELS[c]}
))}
setGoldReason(e.target.value)}
style={{ flex: 1, minWidth: 160 }}
/>
handleGold(1)} disabled={!goldAmount || adjustGold.isPending}>
+ Gain
handleGold(-1)} disabled={!goldAmount || adjustGold.isPending}>
− Spend
)}
{canEdit && (
Exchange
setExchangeAmount(e.target.value)}
style={{ width: 100 }}
/>
setExchangeFrom(e.target.value as Coin)}>
{COINS.map((c) => (
{COIN_LABELS[c]}
))}
into
setExchangeTo(e.target.value as Coin)}>
{COINS.map((c) => (
{COIN_LABELS[c]}
))}
Exchange
)}
{goldLedger?.length === 0 &&
No transactions yet.
}
{ledgerPage.pageItems.map((t) => (
{t.amount > 0 ? '+' : '−'}
{formatMoney(Math.abs(t.amount), t.currency ?? 'GOLD')}
{t.reason || (t.amount > 0 ? 'Gained' : 'Spent')}
{t.createdBy ? `${t.createdBy.displayName} · ` : ''}
{new Date(t.createdAt).toLocaleString()}
{formatMoney(t.balanceAfter, t.currency ?? 'GOLD')}
))}
>
)}
{/* Composed by the character builder from the player's picks. Players
read them; only the DM can rewrite them (new abilities on level-up,
a scar earned in play). */}
{(
[
['specialAbilities', 'Special Abilities', 'One per line, e.g. “Reckless Attack — gained at level 2.”', 6],
['background', 'Background', 'Where this character came from, what drives them…', 5],
['appearance', 'Appearance', 'Height, build, notable features, typical outfit…', 5],
] as const
).map(([field, title, placeholder, rows]) => (
{title}
{isDM && DM can edit }
{isDM ? (
))}
{canEdit && setFormError(extractErrorMessage(err))} />}
{canEdit && otherCampaigns.length > 0 && (
Copy to Another Campaign
Makes an independent copy at full HP with the same stats, gear and spells. This character stays here unchanged.
setCopyTargetId(e.target.value)} style={{ flex: 1, minWidth: 160 }}>
Choose a campaign…
{otherCampaigns.map((c) => (
{c.name}
))}
{copyCharacter.isPending ? 'Copying…' : 'Copy Character'}
)}
{isOwner && (
Private Notes
Only you can see this — not even the DM.
)}
Notes
{notesPage.pageItems.map((n) => (
{n.body}
— {n.author?.displayName} · {new Date(n.createdAt).toLocaleString()}
))}