Fix: affichage des dés sur éthylisme
This commit is contained in:
parent
36b3cbcae7
commit
69869fb810
@ -134,9 +134,8 @@ export class RdDDice {
|
|||||||
return roll;
|
return roll;
|
||||||
}
|
}
|
||||||
|
|
||||||
static async rollTotal(formula) {
|
static async rollTotal(formula, options = { showDice: false }) {
|
||||||
const roll = new Roll(formula);
|
const roll = await RdDDice.roll(formula, options);
|
||||||
await roll.evaluate({ async: true });
|
|
||||||
return roll.total;
|
return roll.total;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user