mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
. (#548)
This commit is contained in:
parent
c46d676cc3
commit
497a0eebe0
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ export class DHActionRollData extends foundry.abstract.DataModel {
|
|||
: null;
|
||||
const trait =
|
||||
this.useDefault || !this.trait
|
||||
? (spellcastingTrait ?? this.parent.item.system.attack.roll.trait ?? 'agility')
|
||||
? (spellcastingTrait ?? this.parent.item.system.attack?.roll?.trait ?? 'agility')
|
||||
: this.trait;
|
||||
if (
|
||||
this.type === CONFIG.DH.GENERAL.rollTypes.attack.id ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue