From 0c092b90999da52e526086aae0106d9c5bd90ae4 Mon Sep 17 00:00:00 2001 From: sladecraven Date: Sat, 22 May 2021 17:51:30 +0200 Subject: [PATCH] Fix for Misc.js --- module/chat-utility.js | 2 +- module/rdd-combat.js | 2 ++ system.json | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/module/chat-utility.js b/module/chat-utility.js index 646088b6..6ae0940c 100644 --- a/module/chat-utility.js +++ b/module/chat-utility.js @@ -1,4 +1,4 @@ -import { Misc } from "./misc"; +import { Misc } from "./misc.js"; /** * Class providing helper methods to get the list of users, and diff --git a/module/rdd-combat.js b/module/rdd-combat.js index 2f8a124b..5bdf7daa 100644 --- a/module/rdd-combat.js +++ b/module/rdd-combat.js @@ -79,6 +79,7 @@ export class RdDCombatManager extends Combat { //if (!c) return results; let rollFormula = formula; // Init per default + console.log("RR :", rollFormula); if (!rollFormula) { let armeCombat, competence; if (c.actor.data.type == 'creature' || c.actor.data.type == 'entite') { @@ -101,6 +102,7 @@ export class RdDCombatManager extends Combat { } } //console.log("Combatat", c); + console.log("RR :", rollFormula); const roll = super._getInitiativeRoll(c, rollFormula); if (roll.total <= 0) roll.total = 0.00; console.log("Compute init for", rollFormula, roll.total); diff --git a/system.json b/system.json index 2518f898..0b197d03 100644 --- a/system.json +++ b/system.json @@ -2,7 +2,7 @@ "name": "foundryvtt-reve-de-dragon", "title": "Rêve de Dragon", "description": "Rêve de Dragon RPG for FoundryVTT", - "version": "1.3.58", + "version": "1.3.59", "manifestPlusVersion": "1.0.0", "minimumCoreVersion": "0.7.5", "compatibleCoreVersion": "0.7.9",