This commit is contained in:
WBHarry 2026-01-14 15:15:05 +01:00
parent 83e281665d
commit 82e7786d22

View file

@ -738,7 +738,7 @@ export default class DhCharacter extends BaseDataActor {
static migrateData(source) {
if (typeof source.scars === 'object') source.scars = 0;
if (source.resources.hope.max) source.scars = 6 - source.resources.hope.max;
if (source.resources.hope.max) source.scars = Math.max(6 - source.resources.hope.max, 0);
return super.migrateData(source);
}