Fix initiative

This commit is contained in:
2025-09-30 17:44:39 +02:00
parent 264a5c7a4c
commit bc9f397755

View File

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