mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-21 23:13:39 +02:00
Merge branch 'main' into feature/action-areas
This commit is contained in:
commit
cac00e4b30
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue