mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5040] [Issue]: Combat UI treats buff and debuff skills as attacks #2792
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#2792
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 @SpicyMarinara on GitHub (Aug 15, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5040
Originally assigned to: @SpicyMarinara on GitHub.
Summary
The combat UI defaults every skill that is not a heal to an attack, despite the backend correctly parsing buff and debuff types. This causes incorrect target selection and hides the actual skill type in combat labels.
Expected behavior
Buff skills should be selectable for appropriate ally targets, and buff/debuff skills should display their correct localized type and description instead of being labeled as attacks or special attacks.
Actual behavior
Skills parsed as buffs are forced to target enemies and are displayed as "Atk" or "Special attack." Renaming the same skill from "Shield (Buff)" to "Shield (Heal)" makes ally targeting and labels work correctly.
Steps to reproduce
Environment
Logs, screenshots, or video
Screenshot: https://cdn.discordapp.com/attachments/1538049986196144219/1538049986900795452/image.png?ex=6a81442c&is=6a7ff2ac&hm=06d02479d3332fb135d7017aa4daf0f8daa75ea8e9f16bd3a36c96895cd7485d. Recording: https://share.zight.com/01a003c7-67fd-719e-86d4-a13fd6075239. No diagnostic logs were provided.
Additional context
The backend parses skill types through inferCombatSkillType in GameSurface.tsx, but GameCombatUI.tsx uses selectedSkill.type === "heal" for ally targeting and defaults other types to enemy targeting. The same binary logic appears in the skill labels around lines 1937 and 2467, while target selection is around lines 1209-1217. Diagnostics: build 2.4.3+9c658d663242, commit
9c658d6632, Chat Mode Game, GPU ANGLE Intel UHD Graphics, active connection GLM with custom provider and glm-5.2 model. The issue was also reproduced with Gemini flash 3.5.Discord thread: Bug: Game Mode Combat UI hardcodes binary "heal" vs "attack" logic, breaking Buff/Debuff targeting
Discord thread link: https://discord.com/channels/1417099416812392641/1538049986196144219
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (4 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: