mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #2136] [Issue]: Game mode — combat encounters are a fixed deterministic stub ("Enemy N", one attack, no boss mechanics) #1044
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#1044
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?
Originally created by @Romuromylus on GitHub (Jun 4, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2136
Originally assigned to: @cha1latte on GitHub.
Summary
Severity: major. Game-mode combat init no longer calls the LLM. Every encounter is a generic deterministic stub, ignoring character cards, persona, inventory, spellbook, and chat history.
Expected behavior
As in main: escalating a scene to combat runs a ~12k-token LLM blueprint pass (
buildInitPrompt) that designs a bespoke battle — named/described enemies with multiple scaled attacks, allies with card-derived abilities, boss mechanics (triggers/counterplay), dialogue cues, item effects, environment style notes, and visuals (isBossFight,enemyImagePrompts, background/illustration prompts).Actual behavior
gameApi.initCombatEncounterbuilds combat state with no LLM call: enemies are literallyEnemy ${index + 1}, flat 18 HP, a single "Strike"; party members get one "Attack";mechanics,dialogueCues, and bossvisualsare always empty.connectionId/spellbookIdare accepted but ignored. The faithful LLM port exists (initRoleplayEncounter) but is wired only to roleplay mode.Steps to reproduce
Impact area
Environment
refactor@14894608main@c49f1d95(legacy web app)Regression notes
Worked in the legacy web app.
packages/server/src/routes/encounter.routes.ts:577-616(LLMchatCompleteonbuildInitPrompt), invoked by game mode atpackages/client/src/components/game/GameSurface.tsx:5991.src/features/modes/game/api/game-api.ts:2528-2612(deterministic stub), wired atsrc/features/modes/game/components/GameSurface.tsx:6158. LLM portsrc/engine/modes/roleplay/encounter/encounter-service.ts:60is reachable only from roleplay.