{{#if hasHealing}} {{localize "DAGGERHEART.ACTIONS.TYPES.healing.name"}} {{else}} {{localize (ifThen roll.isCritical "DAGGERHEART.ACTIONS.TYPES.damage.critical" "DAGGERHEART.ACTIONS.TYPES.damage.name")}} {{/if}}
{{#each damage.types as | roll index | }}
{{localize (concat 'DAGGERHEART.CONFIG.HealingType.' index '.inChatRoll')}}: {{roll.total}}
{{/each}}
{{#each damage.types 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}}
{{#if (and (not @root.hasHealing) roll.options.damageTypes.length)}} {{/if}}
{{#if roll.dice.length}} {{#each roll.dice}} {{#each results}} {{#if active}}
{{#if hasRerolls}}{{/if}} {{result}}
{{/if}} {{/each}} {{/each}} {{#if roll.modifierTotal}}
{{roll.modifierTotal}}
{{/if}} {{else}}
{{roll.total}}
{{/if}}
{{/each}}