[GH-ISSUE #4683] [Issue]: Game dice cards misrepresent non-sum rolls and can drop multiple skill checks #2564

Closed
opened 2026-10-21 05:50:15 +07:00 by bsakaguchi · 0 comments
Owner

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: current staging\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.

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: current `staging`\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.
bsakaguchi 2026-10-21 05:50:15 +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#2564
No description provided.