Fix spellcast modifier bonus

This commit is contained in:
Dapoolp 2025-08-23 01:14:52 +02:00
parent cedf07bc35
commit c66e85e5a4

View file

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