Current Target Save & Action without roll chat message (#528)

This commit is contained in:
Dapoulp 2025-08-02 21:29:11 +02:00 committed by GitHub
parent 73a19fc0bb
commit 2f39e04da5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 224 additions and 205 deletions

View file

@ -45,12 +45,12 @@ export default class DHDamageAction extends DHBaseAction {
formulas = this.formatFormulas(formulas, systemData);
delete systemData.evaluate;
systemData.targets.forEach(t => t.hit = true);
const config = {
...systemData,
roll: formulas,
dialog: {},
data: this.getRollData()
data: this.getRollData(),
targetSelection: systemData.targets.length > 0
}
if (this.hasSave) config.onSave = this.save.damageMod;
if (data.system) {