This commit is contained in:
Dapoolp 2025-07-31 13:33:39 +02:00
parent dbb07008f0
commit faa32c1fba
10 changed files with 90 additions and 59 deletions

View file

@ -165,6 +165,7 @@ export default class DHBaseAction extends ActionMixin(foundry.abstract.DataModel
},
dialog: {},
type: this.type,
hasRoll: this.hasRoll,
hasDamage: this.damage?.parts?.length && this.type !== 'healing',
hasHealing: this.damage?.parts?.length && this.type === 'healing',
hasEffect: !!this.effects?.length,