mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6306] [MERGED] feat(game): integrate combat difficulty and weather into enemy AI #7129
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#7129
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/6306
Author: @kolacheee
Created: 9/17/2026
Status: ✅ Merged
Merged: 9/18/2026
Merged by: @kolacheee
Base:
staging← Head:codex/combat-difficulty-weather📝 Commits (4)
c5bd459docs(game): record difficulty and weather implementation scopec95c14dfeat(game): integrate combat difficulty and saved weatherd0e83aafix(game): preserve combat weather and route AI by movement cost6c60564fix(game): honor restored weather and round effect modifiers📊 Changes
46 files changed (+1204 additions, -256 deletions)
View changed files
📝
CHANGELOG.md(+5 -0)📝
docs/development/game-combat-ai-design.md(+6 -2)➕
docs/development/game-combat-difficulty-weather.md(+47 -0)📝
docs/development/game-combat-roadmap.md(+1 -1)📝
docs/development/game-combat-rulesets-implementation.md(+4 -0)📝
e2e/game-combat-director.e2e.ts(+37 -2)📝
e2e/game-experience-setup.e2e.ts(+11 -19)📝
e2e/game-hybrid-terrain.e2e.ts(+18 -4)📝
e2e/game-terrain-restore.e2e.ts(+2 -2)➕
packages/client/src/components/game/CombatWeatherSummary.tsx(+40 -0)📝
packages/client/src/components/game/DirectedCombatUI.tsx(+2 -0)📝
packages/client/src/components/game/GameSetupWizard.tsx(+17 -74)📝
packages/client/src/components/game/GameSurface.tsx(+9 -2)📝
packages/client/src/components/game/TacticalCombatUI.tsx(+12 -0)📝
packages/client/src/hooks/use-game.ts(+2 -0)📝
packages/client/src/lib/game-setup-share.ts(+2 -8)📝
packages/client/src/lib/game-tag-parser.ts(+7 -0)📝
packages/client/src/localization/locales/en.json(+27 -1)📝
packages/server/src/routes/combat-director.routes.ts(+27 -1)📝
packages/server/src/routes/encounter.routes.ts(+13 -7)...and 26 more files
📄 Description
Linked issue
Closes #6305
Why this change
Difficulty labels saved by setup could silently fall back to Normal, Classic scaled party damage too, and the combat AI did not directly use difficulty. Campaign battlefield seeds could repeat maps, while campaign weather had no combat mechanics.
What changed
Validation
Completed locally:
pnpm install,pnpm check(including localization, types, lint and production builds), andpnpm version:check.Local mobile WebKit could not launch because this host lacks
libicu74,libjpeg-turbo8,libmanette-0.2-0, andgstreamer1.0-libav; its test assertions did not run. Real-provider boss quality and extended balance remain playtest items. Docker was not exercised for this combat-only change.Docs and release impact
Changelog and four combat handoffs updated. Translation follow-up #6300 remains unassigned. No version bump, new tabletop ruleset, or Summoning runtime is included.
Review dispositions
game-combat-difficulty-weather.md.forecastFromexport: dismissed.engine.tsalready exports it in its final export block; the public alias compiles and is exercised by combat regressions.Summary by CodeRabbit
New Features
Changes
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.