Merge branch 'main' into feature/action-areas

This commit is contained in:
WBHarry 2026-04-19 11:29:59 +02:00
commit cac00e4b30
2 changed files with 2 additions and 2 deletions

View file

@ -51,7 +51,7 @@ export default class DHAttackAction extends DHDamageAction {
async use(event, options) { async use(event, options) {
const result = await super.use(event, options); const result = await super.use(event, options);
if (result.message?.system.action.roll?.type === 'attack') { if (result?.message?.system.action.roll?.type === 'attack') {
const { updateCountdowns } = game.system.api.applications.ui.DhCountdowns; const { updateCountdowns } = game.system.api.applications.ui.DhCountdowns;
await updateCountdowns(CONFIG.DH.GENERAL.countdownProgressionTypes.characterAttack.id); await updateCountdowns(CONFIG.DH.GENERAL.countdownProgressionTypes.characterAttack.id);
} }

View file

@ -8,7 +8,7 @@
<div class="settings-items"> <div class="settings-items">
{{#each move.actions as |action|}} {{#each move.actions as |action|}}
{{> "systems/daggerheart/templates/settings/components/settings-item-line.hbs" id=action.id }} {{> "systems/daggerheart/templates/settings/components/settings-item-line.hbs" id=action.id type="action" }}
{{/each}} {{/each}}
</div> </div>
</fieldset> </fieldset>