Fixed scars getting stuck at 0

This commit is contained in:
WBHarry 2026-03-17 22:31:14 +01:00
parent 83146d842d
commit 263c05c307

View file

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