Went ahead and made IncludeItemDamage work again, smashing the formulas together

This commit is contained in:
WBHarry 2026-04-22 14:49:39 +02:00
parent e6d5a2f7d3
commit e420dcbf18
5 changed files with 53 additions and 54 deletions

View file

@ -72,8 +72,8 @@ export default class ActionSelectionDialog extends HandlebarsApplicationMixin(Ap
static async #onChooseAction(event, button) {
const { actionId } = button.dataset;
this.action = this.item.system.actionsList.find(a => a._id === actionId);
Object.defineProperty(this.event, 'shiftKey', {
this.#action = this.item.system.actionsList.find(a => a._id === actionId);
Object.defineProperty(this.#event, 'shiftKey', {
get() {
return event.shiftKey;
}