<div class="bol-defense-summary-card">
  <div class="defense-summary-header">
    <img class="damage-weapon-img" src="{{defender.img}}" alt="{{defender.name}}"/>
    <div class="damage-card-title">
      <div class="damage-card-label">🛡 {{localize "BOL.chat.damagesummary" name=""}}</div>
      <div class="damage-weapon-name">{{name}}</div>
      {{#if (eq finalDamage 0)}}
        <div class="damage-total-badge damage-total-badge--none">0</div>
      {{else}}
        <div class="damage-total-badge">{{finalDamage}}</div>
      {{/if}}
    </div>
  </div>

  <div class="defense-summary-details">
    {{#if (eq defenseMode "damage-with-armor")}}
      <div class="defense-detail">🔰 {{localize "BOL.chat.protectvalue"}} : <strong>{{armorProtect}}</strong></div>
    {{/if}}
    {{#if (eq defenseMode "damage-without-armor")}}
      <div class="defense-detail warning">⚠ {{localize "BOL.chat.noprotectvalue"}}</div>
    {{/if}}
    {{#if (eq defenseMode "hero-reduce-damage")}}
      <div class="defense-detail">🔰 {{localize "BOL.chat.protectvalue"}} : <strong>{{armorProtect}}</strong></div>
      <div class="defense-detail">✨ {{localize "BOL.chat.heroreducedamage" total=rollHero.total}}</div>
    {{/if}}
    {{#if (eq defenseMode "hero-in-extremis")}}
      <div class="defense-detail">⚔ {{localize "BOL.chat.herosplintered" name=weaponHero.name}}</div>
    {{/if}}
    <div class="defense-final {{#if (eq finalDamage 0)}}defense-final--safe{{/if}}">
      {{localize "BOL.chat.finaldamage" finalDamage=finalDamage}}
    </div>
  </div>
</div>
