diff --git a/module/dice/simplify-roll-formula.mjs b/module/dice/simplify-roll-formula.mjs index c3673160f0..fd28c87449 100644 --- a/module/dice/simplify-roll-formula.mjs +++ b/module/dice/simplify-roll-formula.mjs @@ -154,6 +154,7 @@ function _simplifyDiceTerms(terms) { const modifiers = isCoin ? "" : curr.modifiers.filterJoin(""); const key = `${unannotated[i - 1].operator}${face}${modifiers}`; obj[key] ??= {}; + if ( (curr._number instanceof Roll) && (curr._number.isDeterministic) ) curr._number.evaluateSync(); obj[key].number = (obj[key].number ?? 0) + curr.number; if ( !isCoin ) obj[key].modifiers = (obj[key].modifiers ?? []).concat(curr.modifiers); return obj;