Temp solution for specific weapon feature

This commit is contained in:
Dapoolp 2025-08-09 03:25:03 +02:00
parent 85982bac8c
commit bf74596389
15 changed files with 158 additions and 94 deletions

View file

@ -56,12 +56,15 @@ export default class DamageDialog extends HandlebarsApplicationMixin(Application
label,
icon
}));
context.modifiers = this.config.modifiers;
return context;
}
static updateRollConfiguration(_event, _, formData) {
const { ...rest } = foundry.utils.expandObject(formData.object);
foundry.utils.mergeObject(this.config.roll, rest.roll);
foundry.utils.mergeObject(this.config.modifiers, rest.modifiers);
console.log(rest)
this.config.selectedRollMode = rest.selectedRollMode;
this.render();