Compare commits

..

No commits in common. "f1599bf5663b87e900f0403a357c2719576cd686" and "87ee0276037a4734893b9b767245f4a4ffc8db28" have entirely different histories.

2 changed files with 4 additions and 3 deletions

View file

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

View file

@ -5,7 +5,7 @@ export class Migration_2_6_0 extends MigrationHandlerBase {
/** @inheritdoc */
async updateActorSource(actor) {
if (actor.type === 'party' && Object.keys(actor.system.tagTeam.members).length) {
if (actor.type === 'party') {
return {
_id: actor._id,
system: {