forked from public/foundryvtt-reve-de-dragon
Fix regression table rdd
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
import { renderTemplate } from "./constants.js";
|
import { renderTemplate } from "./constants.js";
|
||||||
import { Misc } from "./misc.js";
|
import { Misc } from "./misc.js";
|
||||||
import { RdDResolutionTable } from "./rdd-resolution-table.js";
|
import { RdDResolutionTable } from "./rdd-resolution-table.js";
|
||||||
|
import { RdDRollResult } from "./rdd-roll-result.js";
|
||||||
|
|
||||||
const titleTableDeResolution = 'Table de résolution';
|
const titleTableDeResolution = 'Table de résolution';
|
||||||
/**
|
/**
|
||||||
@@ -99,14 +100,14 @@ export class RdDRollResolutionTable extends Dialog {
|
|||||||
async onLancer() {
|
async onLancer() {
|
||||||
await RdDResolutionTable.rollData(this.rollData);
|
await RdDResolutionTable.rollData(this.rollData);
|
||||||
console.log("RdDRollResolutionTable -=>", this.rollData, this.rollData.rolled);
|
console.log("RdDRollResolutionTable -=>", this.rollData, this.rollData.rolled);
|
||||||
await RdDResolutionTable.displayRollData(this.rollData);
|
await RdDRollResult.displayRollData(this.rollData);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async onLancerFermer() {
|
async onLancerFermer() {
|
||||||
await RdDResolutionTable.rollData(this.rollData);
|
await RdDResolutionTable.rollData(this.rollData);
|
||||||
console.log("RdDRollResolutionTable -=>", this.rollData, this.rollData.rolled);
|
console.log("RdDRollResolutionTable -=>", this.rollData, this.rollData.rolled);
|
||||||
await RdDResolutionTable.displayRollData(this.rollData);
|
await RdDRollResult.displayRollData(this.rollData);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
|
Reference in New Issue
Block a user