Mourblade : add initiative

This commit is contained in:
sladecraven 2022-09-26 13:39:19 +02:00
parent fcec785f00
commit 98ccd8fde1

View File

@ -12,7 +12,7 @@ export class MournbladeCombat extends Combat {
let initBonus = c.actor ? c.actor.getInitiativeScore() : 0
let roll = new Roll("1d10 + "+initBonus).roll({ async: false})
await MournbladeUtility.showDiceSoNice(roll, game.settings.get("core", "rollMode"))
console.log("Init bonus", initBonus, roll.total)
//console.log("Init bonus", initBonus, roll.total)
await this.updateEmbeddedDocuments("Combatant", [ { _id: id, initiative: roll.total } ]);
}