parent
fb10da22fd
commit
d9772b24aa
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue