mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7584] [MERGED] Rulesets: Game Master combat rules for 5e fights, part 1 #7815
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#7815
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/7584
Author: @kolacheee
Created: 10/14/2026
Status: ✅ Merged
Merged: 10/14/2026
Merged by: @kolacheee
Base:
staging← Head:feat/ruleset-gm-rules-1📝 Commits (10+)
4c1a993Merge remote-tracking branch 'origin/feat/tactical-combat' into feat/combat-5e-rulescf2eed9feat(rulesets): spells and creature attacks carry what gets past a resistance (Capability API 1.96)142015dMerge remote-tracking branch 'origin/feat/ruleset-builder' into feat/combat-5e-rules6c846a8Rulesets: creature attacks deal another amount two-handed or when hurt (Capability API 1.97)0025062Rulesets: combatant sizes for grapples, and a hold's own escape DC (Capability API 1.98)fb091cdMerge remote-tracking branch 'origin/feat/ruleset-builder' into feat/combat-5e-rules00f1f73Rulesets: fly, swim, climb and burrow on the board (Capability API 1.108)0da58b6Rulesets: name the proposed creature schema's type so the encounter blueprint stays writable801f8e6Rulesets: fliers fly up and down on the board (Capability API 1.109)ea0d319Rulesets: exhaustion halves the health maximum and kills at its worst (Capability API 1.110)📊 Changes
101 files changed (+44128 additions, -10456 deletions)
View changed files
📝
docs/extending/ruleset.schema.json(+17033 -9819)📝
docs/extending/writing-rulesets.md(+662 -43)📝
packages/client/src/components/game/DirectedCombatUI.tsx(+6 -1)📝
packages/client/src/components/game/GameInventory.tsx(+40 -0)📝
packages/client/src/components/game/GameRulesetSheet.tsx(+44 -0)📝
packages/client/src/components/game/GameSurface.tsx(+37 -0)📝
packages/client/src/components/game/RulesetCombatBoard.tsx(+24 -5)📝
packages/client/src/components/game/RulesetCombatMenu.tsx(+133 -37)📝
packages/client/src/components/game/RulesetCombatStatus.tsx(+59 -2)📝
packages/client/src/components/game/RulesetItemPicker.tsx(+152 -61)📝
packages/client/src/lib/ruleset-catalog.ts(+155 -2)📝
packages/client/src/lib/ruleset-combat-board.ts(+82 -2)📝
packages/client/src/lib/ruleset-combat-log.ts(+125 -10)📝
packages/client/src/lib/ruleset-combat-menu.ts(+35 -2)📝
packages/client/src/localization/locales/en.json(+138 -0)📝
packages/server/src/routes/combat-director.routes.ts(+5 -0)📝
packages/server/src/services/capability-packages/package-manager.service.ts(+930 -0)📝
packages/server/src/services/game/combat-boss.service.ts(+16 -1)📝
packages/server/src/services/game/ruleset-combat-director.service.ts(+162 -12)📝
packages/server/src/services/game/ruleset-package-file.ts(+17 -0)...and 80 more files
📄 Description
Linked issue
Part of #7469
This follows #7579 (merged), the sheet builder. This branch is up to date with staging and holds the first part of the Game Master's ruleset combat rules: what 5e fights need beyond the core added in #7563. Its versions are Capability API 1.101-1.103, 1.113-1.134 and 1.165-1.181. 1.135-1.164 stay reserved for later rules work, so the supported version is 1.181. The rest of the GM rules, maps and the remaining work follow this one at a time.
Why this change
What changed
except, such as a magical weapon (Capability API 1.101). A creature action's damage can havealternativeswhile something holds (1.102). Conditions, levels and sheet lists can keep typed harm and conditions off (1.132), modifiers can change damage dealt or taken on hits (1.133), and save modifiers can count only against conditions, damage types or magic (1.134). A level can say what exhaustion does at its worst, including halving the health maximum (1.115).combat.sizes, 1.103). Creatures can fly, swim, climb and burrow (1.113), and fliers go up and down on boards with height (1.114). A reaction onfallscan catch a fall, and a condition can let its holder land safely (1.124).combat.sensesadds darkvision, blindsight and truesight, with light and darkness on the board (1.178), andcombat.componentssays what using something needs, such as verbal or somatic (1.179).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.181, and the current-minor check now uses the actual current minor.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 and status changes are covered by the regressions above.
Summary by CodeRabbit
New Features
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.