Compare commits

..

No commits in common. "d5244eedbfd64c6be647e2e82739c51e8b84dfdb" and "ad8caabf719c0f1cc9cf4551d1c9ebae33dc5aaa" have entirely different histories.

2 changed files with 1 additions and 1 deletions

View file

@ -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);
}

View file

@ -143,7 +143,6 @@ export default class DHRoll extends Roll {
return foundry.applications.handlebars.renderTemplate(template, {
...chatData,
parent: chatData.parent,
targetMode: chatData.targetMode,
metagamingSettings
});
}