mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +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;
|
: null;
|
||||||
const trait =
|
const trait =
|
||||||
this.useDefault || !this.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;
|
: this.trait;
|
||||||
if (
|
if (
|
||||||
this.type === CONFIG.DH.GENERAL.rollTypes.attack.id ||
|
this.type === CONFIG.DH.GENERAL.rollTypes.attack.id ||
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue