Merge branch 'v1.5' of https://gitlab.com/LeRatierBretonnien/foundryvtt-reve-de-dragon into v1.5
This commit is contained in:
commit
a3e1c2e1fc
@ -379,7 +379,9 @@ export class TMRRencontres {
|
|||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
static async evaluerForceRencontre(rencontre) {
|
static async evaluerForceRencontre(rencontre) {
|
||||||
rencontre.force = await new Roll(rencontre.force).evaluate().total;
|
const rollForce = new Roll(rencontre.force);
|
||||||
|
await rollForce.evaluate();
|
||||||
|
rencontre.force = rollForce.total;
|
||||||
return rencontre.force;
|
return rencontre.force;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user