This commit is contained in:
@@ -72,7 +72,7 @@ export default class LethalFantasyActor extends Actor {
|
||||
/* *************************************************/
|
||||
async applyDamage(hpLoss) {
|
||||
let hp = this.system.hp.value + hpLoss
|
||||
this.update({ "system.hp.value": hp })
|
||||
await this.update({ "system.hp.value": hp })
|
||||
}
|
||||
|
||||
/* *************************************************/
|
||||
@@ -163,7 +163,7 @@ export default class LethalFantasyActor extends Actor {
|
||||
|
||||
/* *************************************************/
|
||||
async prepareRoll(rollType, rollKey, rollDice, defenderId, defenderTokenId, extraShieldDr = 0, d30Effects = {}) {
|
||||
console.log("Preparing roll", rollType, rollKey, rollDice, defenderId)
|
||||
log("Preparing roll", rollType, rollKey, rollDice, defenderId)
|
||||
let rollTarget
|
||||
switch (rollType) {
|
||||
case "granted":
|
||||
|
||||
Reference in New Issue
Block a user