diff --git a/module/systemRegistration/migrations.mjs b/module/systemRegistration/migrations.mjs index c2c53f4e..2851f7d4 100644 --- a/module/systemRegistration/migrations.mjs +++ b/module/systemRegistration/migrations.mjs @@ -345,7 +345,7 @@ export async function runMigrations() { if (foundry.utils.isNewerVersion('2.0.4', lastMigrationVersion)) { const downtimeMoves = game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.Homebrew); - if (downtimeMoves.restMoves.longRest.moves.repairArmor) { + if (restMoves.longRest.moves.repairArmor) { await downtimeMoves.updateSource({ 'restMoves.longRest.moves.repairArmor': defaultRestOptions.longRest().repairArmor }); diff --git a/templates/ui/chat/parts/damage-part.hbs b/templates/ui/chat/parts/damage-part.hbs index 45b09b72..02519a86 100644 --- a/templates/ui/chat/parts/damage-part.hbs +++ b/templates/ui/chat/parts/damage-part.hbs @@ -33,32 +33,31 @@
{{total}}
{{/if}}
- {{#if dice.length}} - {{#each dice}} - {{#each results}} - {{#unless discarded}} -
-
- {{#if hasRerolls}}{{/if}} - {{result}} -
+ {{#each dice}} + {{#each results}} + {{#unless discarded}} +
+
+ {{#if hasRerolls}}{{/if}} + {{result}}
- {{/unless}} - {{/each}} +
+ {{/unless}} {{/each}} - {{#if modifierTotal}} -
-
{{modifierTotal}}
-
- {{/if}} - {{else}} + {{/each}} + {{#if modifierTotal}} +
+
{{modifierTotal}}
+
+ {{/if}} + {{#unless dice.length}}
{{total}}
- {{/if}} + {{/unless}}
{{/each}}