This commit is contained in:
WBHarry 2026-01-13 18:52:36 +01:00
parent 221e1d1f62
commit e77a0042cb
3 changed files with 7 additions and 5 deletions

View file

@ -505,6 +505,7 @@ export default function DHApplicationMixin(Base) {
const doc = await getDocFromElement(target),
action = doc?.system?.attack ?? doc;
const config = action.prepareConfig(event);
config.effects = Array.from(await this.document.allApplicableEffects());
config.hasRoll = false;
return action && action.workflow.get('damage').execute(config, null, true);
}