From 82e7786d223a8ce5144d73ba43eaaa94e6ee61dc Mon Sep 17 00:00:00 2001 From: WBHarry Date: Wed, 14 Jan 2026 15:15:05 +0100 Subject: [PATCH] . --- module/data/actor/character.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/data/actor/character.mjs b/module/data/actor/character.mjs index c19c31fc..d36a4b08 100644 --- a/module/data/actor/character.mjs +++ b/module/data/actor/character.mjs @@ -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); }