diff --git a/module/data/actor/character.mjs b/module/data/actor/character.mjs index 10d50301..3d18fbbe 100644 --- a/module/data/actor/character.mjs +++ b/module/data/actor/character.mjs @@ -757,6 +757,7 @@ export default class DhCharacter extends DhCreature { static migrateData(source) { 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); } diff --git a/module/dice/dhRoll.mjs b/module/dice/dhRoll.mjs index c216e740..912824e7 100644 --- a/module/dice/dhRoll.mjs +++ b/module/dice/dhRoll.mjs @@ -146,7 +146,6 @@ export default class DHRoll extends Roll { return foundry.applications.handlebars.renderTemplate(template, { ...chatData, parent: chatData.parent, - targetMode: chatData.targetMode, metagamingSettings }); } diff --git a/system.json b/system.json index cd0bce1f..ec2a480a 100644 --- a/system.json +++ b/system.json @@ -2,7 +2,7 @@ "id": "daggerheart", "title": "Daggerheart", "description": "An unofficial implementation of the Daggerheart system", - "version": "1.9.4", + "version": "1.9.3", "compatibility": { "minimum": "13.346", "verified": "13.351",