Foundry: Roll#evaluate sera async

This commit is contained in:
Vincent Vandemeulebrouck
2021-05-11 21:45:43 +02:00
parent d1ac4b3d59
commit f87efee2fe
20 changed files with 160 additions and 147 deletions

View File

@ -1,4 +1,5 @@
import { Misc } from "./misc.js"
import { RdDDice } from "./rdd-dice.js";
const poesieHautReve = [
{
@ -64,8 +65,8 @@ const poesieHautReve = [
]
export class Poetique {
static getExtrait(){
return Misc.rollOneOf(poesieHautReve);
static async getExtrait(){
return await RdDDice.rollOneOf(poesieHautReve);
}
}