mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 22:46:12 +01:00
.
This commit is contained in:
parent
c2c2050009
commit
09ef7fa96f
4 changed files with 8 additions and 3 deletions
|
|
@ -2980,7 +2980,8 @@
|
|||
"domainTouchRequirement": "This domain card requires {nr} {domain} cards in the loadout to be used",
|
||||
"knowTheTide": "Know The Tide gained a token",
|
||||
"cannotAlterArmorEffectChanges": "You cannot alter the changes length of an armor effect",
|
||||
"cannotAlterArmorEffectType": "You cannot alter the type of armor effect changes"
|
||||
"cannotAlterArmorEffectType": "You cannot alter the type of armor effect changes",
|
||||
"cannotAlterArmorEffectKey": "You cannot alter they key of armor effect changes"
|
||||
},
|
||||
"Progress": {
|
||||
"migrationLabel": "Performing system migration. Please wait and do not close Foundry."
|
||||
|
|
|
|||
|
|
@ -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