Compare commits

...

3 commits

Author SHA1 Message Date
WBHarry
d5244eedbf Merged with main 2026-03-17 22:46:08 +01:00
WBHarry
263c05c307 Fixed scars getting stuck at 0 2026-03-17 22:31:14 +01:00
WBHarry
83146d842d Fixed not being able to tab between Hit/Current in roll messages 2026-03-17 21:39:25 +01:00
2 changed files with 1 additions and 1 deletions

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

View file

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