diff --git a/module/applications/roll.mjs b/module/applications/roll.mjs index de153fa2..51a02dc3 100644 --- a/module/applications/roll.mjs +++ b/module/applications/roll.mjs @@ -29,7 +29,7 @@ export class DHRoll extends Roll { for (const hook of config.hooks) { if (Hooks.call(`${SYSTEM.id}.preRoll${hook.capitalize()}`, config, message) === false) return null; } - console.log(config) + this.applyKeybindings(config); let roll = new this(config.roll.formula, config.data, config); diff --git a/module/data/action/action.mjs b/module/data/action/action.mjs index b5100432..50b0d1fe 100644 --- a/module/data/action/action.mjs +++ b/module/data/action/action.mjs @@ -543,7 +543,8 @@ export class DHDamageAction extends DHBaseAction { roll: {formula}, targets: (data.system?.targets.filter(t => t.hit) ?? data.targets), hasSave: this.hasSave, - source: data.system?.source + source: data.system?.source, + event }; if(this.hasSave) config.onSave = this.save.damageMod; if(data.system) { @@ -615,7 +616,8 @@ export class DHHealingAction extends DHBaseAction { roll: {formula}, targets: (data.system?.targets ?? data.targets).filter(t => t.hit), messageType: 'healing', - type: this.healing.type + type: this.healing.type, + event }; roll = CONFIG.Dice.daggerheart.DamageRoll.build(config);