mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 14:36:13 +01:00
.
This commit is contained in:
parent
c2c2050009
commit
09ef7fa96f
4 changed files with 8 additions and 3 deletions
|
|
@ -993,4 +993,8 @@ export default class DhpActor extends Actor {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
applyActiveEffects(phase) {
|
||||
super.applyActiveEffects(phase);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -233,7 +233,7 @@ export default class DHItem extends foundry.documents.Item {
|
|||
|
||||
/** @inheritDoc */
|
||||
static migrateData(source) {
|
||||
const documentClass = game.system.api.data.items[`DH${source.type.capitalize()}`];
|
||||
const documentClass = game.system.api.data.items[`DH${source.type?.capitalize()}`];
|
||||
if (documentClass?.migrateDocumentData) {
|
||||
documentClass.migrateDocumentData(source);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -313,7 +313,7 @@ export async function runMigrations() {
|
|||
phase: 'initial',
|
||||
priority: 20,
|
||||
value: 0,
|
||||
max: migrationArmorScore
|
||||
max: migrationArmorScore.toString()
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue