[GH-ISSUE #6305] [Feature]: Integrate combat difficulty and weather with enemy AI #3520

Closed
opened 2026-10-21 06:03:54 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @kolacheee on GitHub (Sep 17, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6305

Originally assigned to: @kolacheee on GitHub.

What problem does this solve?

Game setup saves title-case difficulty names while combat, encounters and loot use lowercase keys, silently applying Normal mechanics. The new profile AI and GM boss decisions do not directly incorporate difficulty. Classic also scales party damage with enemy difficulty. Reusable battlefield seeds can repeat layouts, and weather currently has no shared combat effects.

Proposed solution

Implement the maintainer-approved follow-up to #6302:

  • Remove the Battlefield Seed setup control and the Classic description's “(current style)” suffix; retain internal per-encounter seeds and saved battle restoration.
  • Normalize difficulty across consumers and apply the existing 0.6/1/1.3/1.6 damage modifiers to enemy attacks only. These multipliers are reserved for Traditional/current legacy Engine mechanics; 5e, V20 and future rulesets must revisit difficulty through their own policy, without inheriting this table automatically.
  • Integrate difficulty into enemy profile decisions, cost-aware reactions and GM boss guidance while keeping companion competence independent of difficulty.
  • Resolve and persist combat weather/exposure from current campaign conditions; apply modest rain elemental, wind/projectile, visibility and Tactical snow movement effects through shared forecasts/resolvers. Weather affects both sides and remains independent of visual weather settings.
  • Fix scene-set weather aliases and inconsistent wind/visibility, show active combat effects, and cover legacy saves and imports.

Alternatives considered

AI-only difficulty was considered. The maintainer chose to retain damage modifiers alongside AI tuning. A player-visible campaign seed, deeper AI search, new weather-changing abilities and dynamic mid-battle weather transitions are outside this PR.

Additional context

Implementation owner: @kolacheee / Codex. Work starts on codex/combat-difficulty-weather against staging; a draft PR will track implementation. Planned stages: setup/difficulty correctness, weather mechanics, AI/boss integration, then regression/browser validation and CodeRabbit review. Deferred or flaky-test follow-ups will remain unassigned.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @kolacheee on GitHub (Sep 17, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6305 Originally assigned to: @kolacheee on GitHub. ## What problem does this solve? Game setup saves title-case difficulty names while combat, encounters and loot use lowercase keys, silently applying Normal mechanics. The new profile AI and GM boss decisions do not directly incorporate difficulty. Classic also scales party damage with enemy difficulty. Reusable battlefield seeds can repeat layouts, and weather currently has no shared combat effects. ## Proposed solution Implement the maintainer-approved follow-up to #6302: - Remove the Battlefield Seed setup control and the Classic description's “(current style)” suffix; retain internal per-encounter seeds and saved battle restoration. - Normalize difficulty across consumers and apply the existing 0.6/1/1.3/1.6 damage modifiers to enemy attacks only. These multipliers are reserved for Traditional/current legacy Engine mechanics; 5e, V20 and future rulesets must revisit difficulty through their own policy, without inheriting this table automatically. - Integrate difficulty into enemy profile decisions, cost-aware reactions and GM boss guidance while keeping companion competence independent of difficulty. - Resolve and persist combat weather/exposure from current campaign conditions; apply modest rain elemental, wind/projectile, visibility and Tactical snow movement effects through shared forecasts/resolvers. Weather affects both sides and remains independent of visual weather settings. - Fix scene-set weather aliases and inconsistent wind/visibility, show active combat effects, and cover legacy saves and imports. ## Alternatives considered AI-only difficulty was considered. The maintainer chose to retain damage modifiers alongside AI tuning. A player-visible campaign seed, deeper AI search, new weather-changing abilities and dynamic mid-battle weather transitions are outside this PR. ## Additional context Implementation owner: @kolacheee / Codex. Work starts on `codex/combat-difficulty-weather` against `staging`; a draft PR will track implementation. Planned stages: setup/difficulty correctness, weather mechanics, AI/boss integration, then regression/browser validation and CodeRabbit review. Deferred or flaky-test follow-ups will remain unassigned. ## Template check - [ ] I DID NOT read this template and provide the requested details.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#3520
No description provided.