Fix regression table rdd

This commit is contained in:
2025-10-03 01:41:50 +02:00
parent 6a987086f8
commit 10a89cc268

View File

@@ -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);
} }
/* -------------------------------------------- */ /* -------------------------------------------- */