A 5e sheet says each figure once; conditions from the game's list; +5 and Full HP (#1121) #1125
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/1121-sheet-5e-terms-and-card-hp"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Items 1 and 7 of the owner's lane 11 review (#1121). Decision D292.
What changes
label value; the dnd5e definitions had baked the value into the label ("Chain mail 16"), so AC read "Chain mail 16 16 + Shield 2 2", and the same on saves, skills, initiative, attacks, spell attack and DC. The labels indnd5e/character.jsonandcreature.jsonare now bare names, as pf2e's are, and formula working moves to the term's note ("Con 6 (2 × 3)"). The fixtures had pinned the baked labels as correct and are re-pinned; a new page test asserts "Chain mail 16 + Shield 2". No renderer change. A built-in definition is updated in place when its file changes (ensure_builtin), so existing sheets pick this up with no version bump or migration.tables.conditions(15 for 5e, 32 for Pathfinder) in the kit's Picker, with the typed field kept below for anything else. Before, it was a text field with a datalist fed by about seven conditions found in modifiers. Shared by the sheet page and the table card, rules cards included.stepsFor;Resourcegains an optionalonFull, shown only below max, sending{path:"hp", op:"set", value:max}(notreset, which would drop temporary HP). No backend change.Checks
vitest run: 3,913 passed. eslint: 0 errors.tests/sheetsandtests/test_demo_seed.pyon the dev server: 759 passed. Ruff: clean.scripts/changelog.py check: OK.sources/intro.mdandCATALOGUE.mdwere edited by hand (nopwshto runbuild.ps1); they will conflict with #1124's D291 row and need both rows kept.🤖 Generated with Claude Code