Fix initiative
This commit is contained in:
@@ -29,6 +29,12 @@ Hooks.once("init", function () {
|
|||||||
models,
|
models,
|
||||||
documents,
|
documents,
|
||||||
}
|
}
|
||||||
|
// Set an initiative formula for the system
|
||||||
|
CONFIG.Combat.initiative = {
|
||||||
|
formula: "@characteristics.dex.value",
|
||||||
|
decimals: 1
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
CONFIG.Actor.documentClass = documents.CthulhuEternalActor
|
CONFIG.Actor.documentClass = documents.CthulhuEternalActor
|
||||||
CONFIG.Actor.dataModels = {
|
CONFIG.Actor.dataModels = {
|
||||||
@@ -93,14 +99,14 @@ Hooks.once("init", function () {
|
|||||||
CthulhuEternalUtils.registerSettings()
|
CthulhuEternalUtils.registerSettings()
|
||||||
CthulhuEternalUtils.registerHandlebarsHelpers()
|
CthulhuEternalUtils.registerHandlebarsHelpers()
|
||||||
CthulhuEternalUtils.setupCSSRootVariables()
|
CthulhuEternalUtils.setupCSSRootVariables()
|
||||||
|
CONFIG.debug.hooks = false;
|
||||||
|
|
||||||
console.info("CTHULHU ETERNAL | System Initialized")
|
console.info("CTHULHU ETERNAL | System Initialized")
|
||||||
})
|
})
|
||||||
|
|
||||||
Hooks.once('babele.init', (babele) => {
|
Hooks.once('babele.init', (babele) => {
|
||||||
babele.setSystemTranslationsDir("compendiums");
|
babele.setSystemTranslationsDir("compendiums");
|
||||||
CthulhuEternalUtils.registerBabeleTranslations(babele);
|
CthulhuEternalUtils.registerBabeleTranslations(babele);
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user