diff --git a/module/bol.js b/module/bol.js index 6ab5f59..ad5ead6 100644 --- a/module/bol.js +++ b/module/bol.js @@ -33,9 +33,9 @@ Hooks.once('init', async function () { */ CONFIG.Combat.initiative = { formula: "2d6+@attributes.mind.value+@aptitudes.init.value", - decimals: 2 + decimals: 3 }; - 0 + // Define custom Entity classes CONFIG.Actor.documentClass = BoLActor; CONFIG.Item.documentClass = BoLItem; diff --git a/module/system/bol-combat.js b/module/system/bol-combat.js index 2334d96..9b9b6dc 100644 --- a/module/system/bol-combat.js +++ b/module/system/bol-combat.js @@ -44,7 +44,7 @@ export class BoLCombatManager extends Combat { fvttInit = 6 } } - fvttInit += (cId / 10) + fvttInit += (cId / 100) await this.updateEmbeddedDocuments("Combatant", [{ _id: ids[cId], initiative: fvttInit }]); } console.log("TODO : Compute init for actor");