<div class="bol-vitality-card">
  <div class="vitality-card-header">
    <img class="damage-weapon-img" src="{{img}}" alt="{{name}}"/>
    <div class="damage-card-title">
      {{#if isHeroAdversary}}
        {{#if (eq hp 0)}}
          <div class="damage-card-label">💀 {{localize "BOL.chat.vitalityzero" name="" hp=""}}</div>
          <div class="damage-weapon-name">{{name}}</div>
          <div class="damage-total-badge">{{hp}} PV</div>
        {{else}}
          <div class="damage-card-label">🩸 {{localize "BOL.chat.vitalitydying" name="" hp=""}}</div>
          <div class="damage-weapon-name">{{name}}</div>
          <div class="damage-total-badge">{{hp}} PV</div>
        {{/if}}
      {{else}}
        <div class="damage-card-label">☠ {{localize "BOL.chat.isdead" name=""}}</div>
        <div class="damage-weapon-name">{{name}}</div>
        <div class="damage-total-badge damage-total-badge--hit">{{hp}} PV</div>
      {{/if}}
    </div>
  </div>

  <div class="vitality-card-body">
    {{#if isHeroAdversary}}
      {{#if (eq hp 0)}}
        <div class="vitality-detail">{{localize "BOL.chat.vitalityheroism"}}</div>
        <div class="vitality-hint">{{localize "BOL.chat.vitalityheroismhint"}}</div>
      {{else}}
        <div class="vitality-detail">{{localize "BOL.chat.vitalitydyingheroism"}}</div>
      {{/if}}
      {{#if (lt hp -5)}}
        <div class="vitality-dead">☠ {{localize "BOL.chat.isdead" name=name}}</div>
        <div class="vitality-epitaph">{{localize "BOL.chat.epitaph"}}</div>
      {{/if}}
    {{else}}
      <div class="vitality-dead">{{localize "BOL.chat.epitaph"}}</div>
    {{/if}}
  </div>
</div>

