mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-21 18:09:54 +02:00
Compare commits
2 commits
87ee027603
...
f1599bf566
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f1599bf566 | ||
|
|
737a0b03ad |
2 changed files with 3 additions and 4 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 {}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ export class Migration_2_6_0 extends MigrationHandlerBase {
|
|||
|
||||
/** @inheritdoc */
|
||||
async updateActorSource(actor) {
|
||||
if (actor.type === 'party') {
|
||||
if (actor.type === 'party' && Object.keys(actor.system.tagTeam.members).length) {
|
||||
return {
|
||||
_id: actor._id,
|
||||
system: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue