diff --git a/module/rdd-dice.js b/module/rdd-dice.js index 27ee6c3e..4063d8db 100644 --- a/module/rdd-dice.js +++ b/module/rdd-dice.js @@ -134,9 +134,8 @@ export class RdDDice { return roll; } - static async rollTotal(formula) { - const roll = new Roll(formula); - await roll.evaluate({ async: true }); + static async rollTotal(formula, options = { showDice: false }) { + const roll = await RdDDice.roll(formula, options); return roll.total; }