Fixed so that AttackActions with a save will not stop the workflow of the fields if save automation is not on (#1353)

This commit is contained in:
WBHarry 2025-12-01 15:41:47 +01:00 committed by GitHub
parent e57e7327d6
commit 8f917c3640
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -46,7 +46,7 @@ export default class SaveField extends fields.SchemaField {
if (SaveField.getAutomation() !== CONFIG.DH.SETTINGS.actionAutomationChoices.never.id || force) {
targets ??= config.targets.filter(t => !config.hasRoll || t.hit);
await SaveField.rollAllSave.call(this, targets, config.event, message);
} else return false;
} else return;
}
/**