Feature/683 damage dialog options (#735)

* Temp solution for specific weapon feature

* Add Serrated & Self-Correcting

* Remove comments
This commit is contained in:
Dapoulp 2025-08-10 01:20:24 +02:00 committed by GitHub
parent 1c000c7cfe
commit 585601c134
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 177 additions and 118 deletions

View file

@ -56,12 +56,14 @@ 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);
this.config.selectedRollMode = rest.selectedRollMode;
this.render();