This commit is contained in:
WBHarry 2026-02-11 01:43:30 +01:00
parent c2c2050009
commit 09ef7fa96f
4 changed files with 8 additions and 3 deletions

View file

@ -2980,7 +2980,8 @@
"domainTouchRequirement": "This domain card requires {nr} {domain} cards in the loadout to be used", "domainTouchRequirement": "This domain card requires {nr} {domain} cards in the loadout to be used",
"knowTheTide": "Know The Tide gained a token", "knowTheTide": "Know The Tide gained a token",
"cannotAlterArmorEffectChanges": "You cannot alter the changes length of an armor effect", "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": { "Progress": {
"migrationLabel": "Performing system migration. Please wait and do not close Foundry." "migrationLabel": "Performing system migration. Please wait and do not close Foundry."

View file

@ -993,4 +993,8 @@ export default class DhpActor extends Actor {
} }
} }
} }
applyActiveEffects(phase) {
super.applyActiveEffects(phase);
}
} }

View file

@ -233,7 +233,7 @@ export default class DHItem extends foundry.documents.Item {
/** @inheritDoc */ /** @inheritDoc */
static migrateData(source) { 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) { if (documentClass?.migrateDocumentData) {
documentClass.migrateDocumentData(source); documentClass.migrateDocumentData(source);
} }

View file

@ -313,7 +313,7 @@ export async function runMigrations() {
phase: 'initial', phase: 'initial',
priority: 20, priority: 20,
value: 0, value: 0,
max: migrationArmorScore max: migrationArmorScore.toString()
} }
] ]
} }