mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8328] [MERGED] fix(game): a fled foe comes back as it was, and the GM keeps to what the market and story offer #8565
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#8565
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/8328
Author: @kolacheee
Created: 10/25/2026
Status: ✅ Merged
Merged: 10/25/2026
Merged by: @kolacheee
Base:
staging← Head:fix/game-mode-returning-foes📝 Commits (3)
2cb2b87fix(game): the Game Master narrates only the shops and wares its market block lists44385a3fix(game): the Game Master never offers the same choices turn after turnf3c69c1fix(combat): a foe that got away comes back as it was📊 Changes
5 files changed (+158 additions, -5 deletions)
View changed files
📝
packages/server/src/routes/combat-director.routes.ts(+48 -3)📝
packages/server/src/services/game/gm-prompts.ts(+2 -2)📝
packages/server/src/services/game/ruleset-combat-director.service.ts(+48 -0)📝
scripts/regressions/game-ruleset-markets.regression.ts(+3 -0)📝
scripts/regressions/ruleset-combat-director-route.regression.ts(+57 -0)📄 Description
Linked issue
Closes #8327
Why this change
Before: an enemy that fled a ruleset fight was rebuilt from scratch the next time a fight named it, so it could come back at a higher tier with double the health. The Game Master could also narrate shops and wares the MARKET block did not list, and re-offer a set of choices the player had already passed over.
After: a foe that got away comes back with the same creature, tier, sheet and rolled health, and the fight's adjustments say " is the same one that got away before." The Game Master describes only the sellers and wares the market lists, and offers choices that fit where the story is now.
What changed
Validation
ruleset-combat-director-route.regression.ts: a fight in which one enemy flees and one is beaten stores only the one that fled, and the next fight that names it has the same maximum health and the adjustment line.game-ruleset-markets.regression.tspins the new market wording.Manual verification notes
Found in laptop playtests on the 5e ruleset: a Cult Mage fled and came back stronger, the GM described a shop with no wares behind it, and the GM repeated an old choice set.
Docs and release impact
No docs changes. Release note: a foe that flees a ruleset fight comes back the same, and the Game Master keeps to the market's own wares and to choices that fit the story's current moment.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.