Skip to content

fix: Apply per-die modifiers before group success/failure checks - #7

Open
scooper4711 wants to merge 1 commit into
3d-dice:masterfrom
scooper4711:fix/grouped-roll-modifiers
Open

fix: Apply per-die modifiers before group success/failure checks#7
scooper4711 wants to merge 1 commit into
3d-dice:masterfrom
scooper4711:fix/grouped-roll-modifiers

Conversation

@scooper4711

Copy link
Copy Markdown

When a grouped dice expression like {3d10+9}>10 is rolled, the +9 modifier must be applied to each individual die value before the success/failure target check. Previously the modifier was only applied to the group total, causing success counts to be evaluated against raw die faces instead of (die + modifier).

Fixes #1

When a grouped dice expression like {3d10+9}>10 is rolled, the +9
modifier must be applied to each individual die value before the
success/failure target check. Previously the modifier was only applied
to the group total, causing success counts to be evaluated against
raw die faces instead of (die + modifier).

Fixes 3d-dice#1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Grouped Roll Modifiers issue

1 participant