Roll window + Reroll #7

Merged
sladecraven merged 6 commits from master into master 2022-01-16 23:55:32 +01:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit e7898ec769 - Show all commits

View File

@ -33,9 +33,9 @@ Hooks.once('init', async function () {
*/ */
CONFIG.Combat.initiative = { CONFIG.Combat.initiative = {
formula: "2d6+@attributes.mind.value+@aptitudes.init.value", formula: "2d6+@attributes.mind.value+@aptitudes.init.value",
decimals: 2 decimals: 3
}; };
0
// Define custom Entity classes // Define custom Entity classes
CONFIG.Actor.documentClass = BoLActor; CONFIG.Actor.documentClass = BoLActor;
CONFIG.Item.documentClass = BoLItem; CONFIG.Item.documentClass = BoLItem;

View File

@ -44,7 +44,7 @@ export class BoLCombatManager extends Combat {
fvttInit = 6 fvttInit = 6
} }
} }
fvttInit += (cId / 10) fvttInit += (cId / 100)
await this.updateEmbeddedDocuments("Combatant", [{ _id: ids[cId], initiative: fvttInit }]); await this.updateEmbeddedDocuments("Combatant", [{ _id: ids[cId], initiative: fvttInit }]);
} }
console.log("TODO : Compute init for actor"); console.log("TODO : Compute init for actor");