Merge branch 'development' into feature/death-moves

This commit is contained in:
WBHarry 2026-01-13 19:19:18 +01:00
commit cec0bb75ae
11 changed files with 42 additions and 24 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);
}