Fix/spellcast modifier (#1061)

* Temp ActionField attack type missing

* Move missing attack type to getModel

* Fix spellcast modifier bonus
This commit is contained in:
Dapoulp 2025-08-23 02:05:16 +02:00 committed by GitHub
parent 86d451f0d7
commit 7016f71da7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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',