mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-21 18:09:54 +02:00
.
This commit is contained in:
parent
87ee027603
commit
737a0b03ad
1 changed files with 2 additions and 3 deletions
|
|
@ -25,9 +25,8 @@ export class ChatDamageData extends foundry.abstract.DataModel {
|
|||
for (const key of Object.keys(this.types)) {
|
||||
const type = this.types[key];
|
||||
try {
|
||||
const roll = Roll.fromData(type.roll);
|
||||
type.roll = roll;
|
||||
type.roll.modifierTotal = CONFIG.Dice.daggerheart.DHRoll.calculateTotalModifiers(roll);
|
||||
type.roll = Roll.fromData(type.roll);
|
||||
type.roll.modifierTotal = CONFIG.Dice.daggerheart.DHRoll.calculateTotalModifiers(type.roll);
|
||||
} catch {}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue