mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8265] Game Mode: a fight with an hp_threshold mechanic at interval 0 never starts #8212
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#8212
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 @kolacheee on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8265
Originally assigned to: @kolacheee on GitHub.
A Game Master's combat mechanic that no interval drives (trigger
hp_threshold) can come withinterval: 0. The battle start route only accepts an interval of 1 or more, so the whole fight is refused: the page says "The combat decision could not be completed... Number must be greater than or equal to 1", and Reload battle gets the same 400 fromPOST /api/game/combat/director/start. The error names no field and the server logs nothing, so it is hard to trace.A status carried in with 0 turns left is refused the same way.
Expected: 0 is accepted for both (the combat code already treats an interval of 0 as none), and a refused start says which field it refused.