mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7587] [MERGED] Rulesets: Game Master combat rules for 5e fights, part 2a #7814
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#7814
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/7587
Author: @kolacheee
Created: 10/14/2026
Status: ✅ Merged
Merged: 10/14/2026
Merged by: @kolacheee
Base:
staging← Head:feat/ruleset-gm-rules-2📝 Commits (10+)
43440daRulesets 1.177: pushes, lines and cones carried and turned, hard going toward the caster, senses that adde488781Rulesets 1.178: zones that go off later or burn awayf66f96cRulesets 1.179: creature actions that push, a line's width on an item's use77d6eb2Rulesets 1.180: what a creature is, read furtherd33d16dRulesets 1.179 fix: a bestiary creature keeps its push348b07fRulesets 1.181: breaths that recharge together, and chargesa0a276eRulesets 1.181: the combat log writes a charged64bc77Rulesets 1.182: weapons that know what they hit25cc63fRulesets 1.183: 160 conditions, and changes narrowed to an ability592928eRulesets 1.183: the damage-modifier test lets attacks take an ability📊 Changes
112 files changed (+62524 additions, -12417 deletions)
View changed files
📝
docs/extending/ruleset.schema.json(+28139 -11622)📝
docs/extending/writing-rulesets.md(+121 -2)📝
packages/client/src/components/game/DirectedCombatUI.tsx(+9 -0)📝
packages/client/src/components/game/GameRulesetSheet.tsx(+1 -0)📝
packages/client/src/components/game/GameSurface.tsx(+3 -0)📝
packages/client/src/components/game/RulesetCombatBoard.tsx(+55 -9)📝
packages/client/src/components/game/RulesetCombatMenu.tsx(+362 -10)📝
packages/client/src/components/game/RulesetCombatStatus.tsx(+15 -10)📝
packages/client/src/components/game/RulesetItemPicker.tsx(+1 -0)📝
packages/client/src/lib/ruleset-combat-board.ts(+38 -4)📝
packages/client/src/lib/ruleset-combat-log.ts(+151 -1)📝
packages/client/src/lib/ruleset-combat-menu.ts(+119 -5)📝
packages/client/src/localization/locales/en.json(+87 -0)📝
packages/server/src/routes/combat-director.routes.ts(+14 -0)📝
packages/server/src/routes/encounter.routes.ts(+5 -0)📝
packages/server/src/services/capability-packages/package-manager.service.ts(+1268 -0)📝
packages/server/src/services/game/ruleset-combat-director.service.ts(+176 -20)📝
packages/server/src/services/game/ruleset-sheet-turn.service.ts(+8 -1)📝
packages/shared/src/features/combat-director.ts(+23 -0)📝
packages/shared/src/features/ruleset-combat/ammo.ts(+137 -3)...and 80 more files
📄 Description
Linked issue
Part of #7469
This follows #7584 (merged), the first part of the Game Master's ruleset combat rules. This branch is up to date with staging and holds the second part, first half: Capability API 1.182-1.204 and 1.235-1.270. 1.205-1.234 stay reserved for later rules work, so the supported version is 1.270. The second half (1.271-1.314), maps and the remaining work follow this one at a time. The second part is split in two to stay under the review tool's file limit.
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.270.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
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.