Fixed broken combat initiative.

Casing error
master
The Happy Anarchist 2020-08-18 00:17:13 -10:00
parent fb10da22fd
commit d9772b24aa
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ Hooks.once("init", async function () {
*/ */
CONFIG.Combat.initiative = { CONFIG.Combat.initiative = {
formula: "1d6 + @initiative.value", formula: "1d6 + @initiative.value",
decimals: 2, decimals: 0,
}; };
CONFIG.ACKS = ACKS; CONFIG.ACKS = ACKS;

View File

@ -12,7 +12,7 @@ export class AcksCombat {
Object.keys(groups).forEach((group) => { Object.keys(groups).forEach((group) => {
let roll = new Roll("1d6").roll(); let roll = new Roll("1d6").roll();
roll.toMessage({ roll.toMessage({
flavor: game.i18n.format('ACKS.roll.initiative', { group: CONFIG["acks"].colors[group] }), flavor: game.i18n.format('ACKS.roll.initiative', { group: CONFIG["ACKS"].colors[group] }),
}); });
groups[group].initiative = roll.total; groups[group].initiative = roll.total;
}); });