[PR #5044] [MERGED] fix(game): honor combat buff and debuff types #6600

Closed
opened 2026-10-23 04:11:57 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/5044
Author: @SpicyMarinara
Created: 8/15/2026
Status: ✅ Merged
Merged: 8/15/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/5040-combat-skill-types


📝 Commits (3)

  • 94ad99a fix(game): honor combat buff and debuff types
  • 1571c64 Merge remote-tracking branch 'origin/staging' into fix/5040-combat-skill-types
  • bf6173e Merge remote-tracking branch 'origin/staging' into fix/5040-combat-skill-types

📊 Changes

3 files changed (+31 additions, -4 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 packages/client/src/components/game/GameCombatUI.tsx (+26 -4)
📝 packages/client/src/localization/locales/en.json (+4 -0)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch or a same-repository hotfix/* branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #5040

Why this change

  • Combat already retains all four skill types, but its UI reduced them to heal versus attack. Buffs therefore offered enemy targets, while buff and debuff labels hid the skill's real behavior.

What changed

  • Route heal and buff skills to living party targets, and attack and debuff skills to living enemy targets.
  • Show localized Attack, Heal, Buff, or Debuff labels in both combat layouts.
  • Show the authored skill description on desktop, with a localized type-specific fallback.
  • Add the user-facing fix to the Unreleased changelog.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • pnpm localization:check passed.
  • Client ESLint passed.
  • git diff --check passed.
  • Manual combat verification remains pending while this PR is in draft.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] <paths> follow-up issue opened
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

  • Pending browser verification.

Summary by CodeRabbit

  • New Features

    • Combat skills now clearly indicate whether they target allies or enemies.
    • Skill menus display localized type labels and descriptions for healing, buffs, debuffs, and attacks.
  • Bug Fixes

    • Ally-targeted buffs and enemy-targeted debuffs now select valid targets correctly.
    • Corrected combat skill labels and descriptions across both combat layouts.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/5044 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/15/2026 **Status:** ✅ Merged **Merged:** 8/15/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/5040-combat-skill-types` --- ### 📝 Commits (3) - [`94ad99a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/94ad99a449b02cfbbd06b387e767d90395cf38f2) fix(game): honor combat buff and debuff types - [`1571c64`](https://github.com/Pasta-Devs/Marinara-Engine/commit/1571c643d3048087d0c217c156f3ae9fc86a7710) Merge remote-tracking branch 'origin/staging' into fix/5040-combat-skill-types - [`bf6173e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/bf6173e34ec805c27b924b65d9e8941a8c7e7a12) Merge remote-tracking branch 'origin/staging' into fix/5040-combat-skill-types ### 📊 Changes **3 files changed** (+31 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `packages/client/src/components/game/GameCombatUI.tsx` (+26 -4) 📝 `packages/client/src/localization/locales/en.json` (+4 -0) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. ## Linked issue Closes #5040 ## Why this change - Combat already retains all four skill types, but its UI reduced them to heal versus attack. Buffs therefore offered enemy targets, while buff and debuff labels hid the skill's real behavior. ## What changed - Route heal and buff skills to living party targets, and attack and debuff skills to living enemy targets. - Show localized Attack, Heal, Buff, or Debuff labels in both combat layouts. - Show the authored skill description on desktop, with a localized type-specific fallback. - Add the user-facing fix to the Unreleased changelog. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - `pnpm localization:check` passed. - Client ESLint passed. - `git diff --check` passed. - Manual combat verification remains pending while this PR is in draft. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n] <paths>` follow-up issue opened - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) - Pending browser verification. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Combat skills now clearly indicate whether they target allies or enemies. * Skill menus display localized type labels and descriptions for healing, buffs, debuffs, and attacks. * **Bug Fixes** * Ally-targeted buffs and enemy-targeted debuffs now select valid targets correctly. * Corrected combat skill labels and descriptions across both combat layouts. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:11:57 +07:00
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#6600
No description provided.