mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6454] [MERGED] docs(rulesets): say why a health pool cannot carry kinds of harm #7182
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#7182
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/6454
Author: @kolacheee
Created: 9/20/2026
Status: ✅ Merged
Merged: 9/20/2026
Merged by: @kolacheee
Base:
staging← Head:docs/ruleset-damage-kinds-guidance📝 Commits (7)
51d22f4docs(rulesets): say why a pool cannot carry kinds of harm, and drop the em dashes from this arc's pages1ce0ccbfeat(rulesets): a weapon can be a single strike a turn however many attacks its wielder hasa6299f1Merge remote-tracking branch 'origin/staging' into docs/ruleset-damage-kinds-guidancebd91c72feat(game): a condition that outlives a fight is the Game Master's to end5fda712test(rulesets): the health-refusal case asserts the refusal before reading it2643facMerge remote-tracking branch 'origin/staging' into docs/ruleset-damage-kinds-guidance3264925Merge remote-tracking branch 'origin/staging' into docs/ruleset-damage-kinds-guidance📊 Changes
17 files changed (+247 additions, -27 deletions)
View changed files
📝
CHANGELOG.md(+6 -0)📝
docs/development/game-rulesets-and-sheets-implementation.md(+3 -3)📝
docs/development/optional-agent-packages.md(+22 -0)📝
docs/development/ruleset-5e-2014.example.json(+10 -1)📝
docs/extending/ruleset.schema.json(+15 -0)📝
docs/extending/writing-rulesets.md(+10 -3)📝
docs/game/dice-and-skill-checks.md(+1 -1)📝
packages/client/src/lib/ruleset-combat-bridge.ts(+23 -0)📝
packages/server/src/services/capability-packages/package-manager.service.ts(+13 -0)📝
packages/shared/src/features/ruleset-combat/encounter.ts(+3 -1)📝
packages/shared/src/schemas/capability-package.schema.ts(+7 -1)📝
packages/shared/src/schemas/ruleset.schema.ts(+33 -8)📝
scripts/regressions/capability-package-lifecycle.regression.ts(+4 -4)📝
scripts/regressions/game-ruleset-combat-core.regression.ts(+45 -4)📝
scripts/regressions/game-ruleset-combat-creatures.regression.ts(+4 -1)📝
scripts/regressions/game-ruleset-combat-wounds.regression.ts(+29 -0)📝
scripts/regressions/ruleset-combat-screen-client.regression.ts(+19 -0)📄 Description
Linked issue
No issue: this is a documentation gap found while writing the 5e package's 1.29 release (https://github.com/Pasta-Devs/Marinara-Agents/pull/994), where an author would have hit the refusal this explains. Related to #6314.
Why this change
combat.damageKindsis required with a wound track and refused with a pool, in three places: the schema refusal, the authoring guide's key reference, and the Capability API 1.30 row. None of them said WHY, or what to do instead.What changed
docs/extending/writing-rulesets.mdgains a short paragraph at the head of Wound tracks, where an author picks between the two shapes: a pool records how MUCH harm landed, a track records how much and what KIND each piece of it was, so a kind that still matters after the blow needs a mark to live on. It also says what a pool CAN still do, sincedamageTypesand an opponent's resistances are a different question, and that is worth not overstating.damageKindskey reference points at that explanation instead of only stating the rule.docs/extending/writing-rulesets.md,docs/game/dice-and-skill-checks.mdand the sheets plan, where a comma, a parenthesis or the wordsn/asay the same thing. Two of the three were in a paragraph added earlier the same day, so this is tidying up after myself rather than rewriting anybody else's prose.docs/development/optional-agent-packages.mdhas 57 more, all of them in other features' sections, and they are deliberately left alone.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm checkexit 0, and the 22game-ruleset*regressions pass, including the one that pins the refusal message by pattern. One local CodeRabbit sweep againststaging, zero findings.The wording was checked against the code rather than written from memory: a pool ruleset really is refused
damageKinds(game-ruleset-combat-wounds.regression.tsasserts it), a wound track's marks really do carry a kind that healing reads, and a pool ruleset really can still declaredamageTypesand have creatures resist them, which is why the paragraph says so rather than implying a pool is blind to type.Nothing to verify by hand beyond reading it: no behaviour changes, and the only code change is the text of one refusal message.
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)Docs touched:
docs/extending/writing-rulesets.md,docs/game/dice-and-skill-checks.md,docs/development/game-rulesets-and-sheets-implementation.md(an internal plan, not translated) andCHANGELOG.md. The first two are on thedocs-i18nlist and are already inside the translation pass being coordinated in #6429, which coverswriting-rulesets.mdand the ruleset game pages; this PR adds one paragraph and one clause to files that pass already includes, so it needs no new follow-up issue. Say if you would rather have one.UI evidence (if applicable)
None: documentation and one refusal string.
Summary by CodeRabbit
New Features
Documentation
Validation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.