{{localize (ifThen hasHealing "DAGGERHEART.ACTIONS.TYPES.healing.name" "DAGGERHEART.ACTIONS.TYPES.damage.name")}}
{{#each damage as | roll index | }}
{{localize (concat 'DAGGERHEART.CONFIG.HealingType.' index '.inChatRoll')}}: {{total}}
{{/each}}
{{#each damage as | roll index | }}
{{#if ../hasHealing}}{{localize (concat 'DAGGERHEART.CONFIG.HealingType.' index '.name')}}{{else}}{{localize (concat 'DAGGERHEART.CONFIG.HealingType.' index '.inChatRoll')}}{{/if}}
{{localize "DAGGERHEART.GENERAL.total"}}: {{roll.total}}
{{#if (and (eq index "hitPoints") ../isDirect)}}
{{localize "DAGGERHEART.CONFIG.DamageType.direct.short"}}
{{/if}}
{{#each roll.parts}} {{#if (and (not @root.hasHealing) damageTypes.length)}} {{/if}}
{{#each dice}} {{#each results}} {{#unless discarded}}
{{#if hasRerolls}}{{/if}} {{result}}
{{/unless}} {{/each}} {{/each}} {{#if modifierTotal}}
{{modifierTotal}}
{{/if}} {{#unless dice.length}}
{{total}}
{{/unless}}
{{/each}}
{{/each}}