mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8235] [MERGED] feat(rulesets): fight health on a plain track that fills up (Capability API 1.383) #8199
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#8199
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/8235
Author: @kolacheee
Created: 10/24/2026
Status: ✅ Merged
Merged: 10/24/2026
Merged by: @kolacheee
Base:
staging← Head:claude/project-thread-o9hpq2📝 Commits (2)
ae6f205feat(rulesets): fight health on a plain track that fills up (Capability API 1.383)5e553c2fix(rulesets): a health track starts at its default, never a start read off the sheet📊 Changes
13 files changed (+545 additions, -50 deletions)
View changed files
📝
docs/extending/writing-rulesets.md(+8 -2)📝
packages/server/src/services/capability-packages/package-manager.service.ts(+18 -0)📝
packages/shared/src/features/ruleset-combat/encounter.ts(+7 -6)📝
packages/shared/src/features/ruleset-combat/resolve.ts(+15 -3)📝
packages/shared/src/features/rulesets/combat-bridge.ts(+10 -11)📝
packages/shared/src/features/rulesets/item-use.ts(+9 -2)📝
packages/shared/src/features/rulesets/live-state.ts(+28 -0)📝
packages/shared/src/schemas/capability-package.schema.ts(+4 -1)📝
packages/shared/src/schemas/ruleset.schema.ts(+39 -17)📝
scripts/regressions/capability-package-lifecycle.regression.ts(+6 -5)➕
scripts/regressions/game-ruleset-combat-health-track.regression.ts(+398 -0)📝
scripts/regressions/game-ruleset-combat-wounds.regression.ts(+2 -2)📝
scripts/regressions/game-ruleset-item-use.regression.ts(+1 -1)📄 Description
Linked issue
Closes #8234
Why this change
combat.healthtook only a pool that counts down or a wound track with levels, so{ "track": "wounds" }on such a track was refused, and a ruleset had to fake a "wounds left" pool.What changed
combat.healthandbattle.healthmay name a plain live track (nolevelsorboxes) that fills from itsminto itsmax(Capability API 1.383).max. A heal takes its points off, in a fight and when an item is used outside one.battlebridge carries a share of the track and writes points back.maxmay be a value the sheet works out, such as the Wound Threshold.damageKinds(a plain track keeps no kinds).writing-rulesets.mdcovers it underhealthand item heals.game-ruleset-combat-health-track. Existing wound-track and item-use expectations were updated for the refusal wording ("Health is the track …").Validation
node scripts/run-regressions.mjs --filter ruleset283/283--filter combat189/189--filter capability-package5/5pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Docs and release impact
docs/extending/writing-rulesets.mddocs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened: noted on #7512UI evidence (if applicable)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.