mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7588] [MERGED] Rulesets: Game Master combat rules for 5e fights, part 2b #7817
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#7817
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/7588
Author: @kolacheee
Created: 10/14/2026
Status: ✅ Merged
Merged: 10/14/2026
Merged by: @kolacheee
Base:
staging← Head:feat/ruleset-gm-rules-3📝 Commits (9)
7941168Bump the PR 10 lines the PR 11 merge kept at their old Capability API numbers8b714dcBump the moved PR 10 lines still at their old Capability API numberse7a34adGate each GM rules feature at its own Capability API number again1f3b82bRecord PR 11a's take-out of the 1.271-1.314 half as merged; PR 11b keeps ita21ff53Record PR 11a's gate fixes as merged; PR 11b has its own for the full range5fdfc2aMerge staging (PR 10 merged) into PR 11b5a18b50Merge PR 11a's CodeRabbit fixes into PR 11bd13b6a9Merge staging (PR 11a merged) into PR 11bc3b1e68Answer CodeRabbit on PR 11b: install scans skip a ruleset's own id-keyed maps, a turned item's stack, curses, repeats, tests and copy📊 Changes
91 files changed (+45906 additions, -12618 deletions)
View changed files
📝
docs/extending/ruleset.schema.json(+21472 -12186)📝
docs/extending/writing-rulesets.md(+97 -8)📝
packages/client/src/components/game/DirectedCombatUI.tsx(+1 -0)📝
packages/client/src/components/game/GameSurface.tsx(+2 -0)📝
packages/client/src/components/game/RulesetCombatBoard.tsx(+12 -1)📝
packages/client/src/components/game/RulesetCombatMenu.tsx(+84 -13)📝
packages/client/src/components/game/RulesetCombatStatus.tsx(+15 -13)📝
packages/client/src/components/game/RulesetItemPicker.tsx(+5 -0)📝
packages/client/src/lib/ruleset-combat-board.ts(+21 -9)📝
packages/client/src/lib/ruleset-combat-bridge.ts(+6 -0)📝
packages/client/src/lib/ruleset-combat-log.ts(+153 -13)📝
packages/client/src/lib/ruleset-combat-menu.ts(+33 -0)📝
packages/client/src/localization/locales/en.json(+59 -0)📝
packages/server/src/routes/combat-director.routes.ts(+7 -1)📝
packages/server/src/services/capability-packages/package-manager.service.ts(+931 -2)📝
packages/server/src/services/game/ruleset-combat-director.service.ts(+348 -43)📝
packages/server/src/services/game/ruleset-package-file.ts(+8 -1)📝
packages/server/src/services/storage/game-rulesets.storage.ts(+8 -1)📝
packages/shared/src/features/combat-director.ts(+4 -0)📝
packages/shared/src/features/ruleset-combat/ammo.ts(+68 -8)...and 71 more files
📄 Description
Linked issue
Part of #7469
This follows #7587 (merged), the first half of the second part of the Game Master's ruleset combat rules. This branch is up to date with staging and holds the second half: Capability API 1.271-1.314, so the supported version is 1.314. Maps and the remaining work follow this one at a time.
Why this change
What changed
docs/extending/writing-rulesets.mdcovers all of it, anddocs/extending/ruleset.schema.jsonis regenerated.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
scripts/regressions/game-ruleset-combat-*.regression.tsthat drives a fight through the shared resolver, and checks the install gate at its version.Changed test expectations
No maintainer asked for these; each follows a change in this PR, and the check it replaces is kept:
capability-package-lifecycle): this PR's versions run to 1.314.endsWhentakes up to 4 values, not 2, and its schema enum addsattackedandally-harmed-in-sight(1.278): the refusal now checks 5 values against "at most 4", and the enum check lists all four.amountAddsince 1.271 (a Staff of Healing's), sogame-ruleset-crit-multiply-amountnow accepts it on the warming tonic and checks that it is still refused without an amount beside it.chargeStepwith nothing to add is still refused; the message now names the push as well (1.271).Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)docs/extending/writing-rulesets.mdchanged anddocs/extending/ruleset.schema.jsonis regenerated. The translations are tracked on #7512.UI evidence (if applicable)
No screenshots attached. The combat board, menu, status and log changes are covered by the regressions above.
Summary by CodeRabbit
New Features
Bug Fixes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.