From bc9f3977554becfecdf0f1472648f4f58c7f7920 Mon Sep 17 00:00:00 2001 From: LeRatierBretonnien Date: Tue, 30 Sep 2025 17:44:39 +0200 Subject: [PATCH] Fix initiative --- cthulhu-eternal.mjs | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/cthulhu-eternal.mjs b/cthulhu-eternal.mjs index f421b23..44f7bc8 100644 --- a/cthulhu-eternal.mjs +++ b/cthulhu-eternal.mjs @@ -29,6 +29,12 @@ Hooks.once("init", function () { models, documents, } + // Set an initiative formula for the system + CONFIG.Combat.initiative = { + formula: "@characteristics.dex.value", + decimals: 1 + }; + CONFIG.Actor.documentClass = documents.CthulhuEternalActor CONFIG.Actor.dataModels = { @@ -93,14 +99,14 @@ Hooks.once("init", function () { CthulhuEternalUtils.registerSettings() CthulhuEternalUtils.registerHandlebarsHelpers() CthulhuEternalUtils.setupCSSRootVariables() - + CONFIG.debug.hooks = false; console.info("CTHULHU ETERNAL | System Initialized") }) Hooks.once('babele.init', (babele) => { - babele.setSystemTranslationsDir("compendiums"); - CthulhuEternalUtils.registerBabeleTranslations(babele); + babele.setSystemTranslationsDir("compendiums"); + CthulhuEternalUtils.registerBabeleTranslations(babele); }); /**