mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 02:19:54 +02:00
Compare commits
No commits in common. "f1599bf5663b87e900f0403a357c2719576cd686" and "87ee0276037a4734893b9b767245f4a4ffc8db28" have entirely different histories.
f1599bf566
...
87ee027603
2 changed files with 4 additions and 3 deletions
|
|
@ -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 {}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue