This commit is contained in:
WBHarry 2026-07-16 11:49:24 +02:00
parent 87ee027603
commit 737a0b03ad

View file

@ -25,9 +25,8 @@ export class ChatDamageData extends foundry.abstract.DataModel {
for (const key of Object.keys(this.types)) { for (const key of Object.keys(this.types)) {
const type = this.types[key]; const type = this.types[key];
try { try {
const roll = Roll.fromData(type.roll); type.roll = Roll.fromData(type.roll);
type.roll = roll; type.roll.modifierTotal = CONFIG.Dice.daggerheart.DHRoll.calculateTotalModifiers(type.roll);
type.roll.modifierTotal = CONFIG.Dice.daggerheart.DHRoll.calculateTotalModifiers(roll);
} catch {} } catch {}
} }
} }