mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4683] [Issue]: Game dice cards misrepresent non-sum rolls and can drop multiple skill checks #2564
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#2564
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 @Gunterlie on GitHub (Aug 6, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4683
Originally assigned to: @Gunterlie on GitHub.
$## Summary\n\nGame Mode dice presentation assumes every skill check is a single d20 sum. This makes pool-style results and advantage/disadvantage look like invalid arithmetic, labels non-d20 dice as d20, and can lose additional unresolved skill-check tags when one message contains more than one check.\n\n## Expected behavior\n\n- Dice cards identify the dice that were actually rolled.\n- The UI and GM-facing summary show an addition only when all displayed dice and the modifier literally produce the reported total.\n- Non-sum results show the dice and resolved outcome without claiming a false equation.\n- Every unresolved skill-check tag in a message can be resolved and remains visible.\n\n## Actual behavior\n\n- Skill-check presentation builds a d20 notation when the result has no explicit dice notation.\n- Dice values are joined with
+and the total is always shown as= total, even when a die was discarded or the result is a count of successes.\n- The server replacement helper resolves only the first matching unresolved tag; additional checks can remain unresolved or be omitted from the visible result flow.\n\n## Steps to reproduce\n\n1. In Game Mode, produce a skill-check result with multiple dice whose reported total is not their sum, such as a six-die success pool.\n2. Observe the dice shape/notation and the breakdown on the result card and in the GM-facing summary.\n3. Produce a narration containing two unresolved[skill_check: ...]tags and resolve a check.\n4. Observe that only one matching tag is replaced.\n\n## Environment\n\n- Marinara Engine version: currentstaging\n- Install type: source\n- OS + version: not captured\n- Browser or app shell: not captured\n\n## Logs, screenshots, or video\n\nThe reported behavior was observed in a user-provided screenshot; no additional logs are available.\n\n## Additional context\n\nThe built-in resolver remains d20-based. This issue is about preserving and displaying the result honestly when a model-declared result uses a different dice notation or resolution.\n\n## Template check\n\n- [ ] I DID NOT read this template and provide the requested details.