bol/templates/chat/rolls/defense-result-card.hbs

23 lines
744 B
Handlebars
Raw Permalink Normal View History

2021-12-29 19:15:06 +01:00
<img class="chat-icon" src="{{defender.img}}" alt="{{defender.name}}"/>
2022-05-11 19:29:32 +02:00
<h3>{{localize "BOL.chat.damagesummary" name=name}}</h3>
2021-12-29 19:15:06 +01:00
<ul>
<li>
{{#if (eq defenseMode "damage-with-armor")}}
2022-05-11 19:29:32 +02:00
{{localize "BOL.chat.protectvalue"}} : {{armorProtect}}.
2021-12-29 19:15:06 +01:00
{{/if}}
{{#if (eq defenseMode "damage-without-armor")}}
2022-05-11 19:29:32 +02:00
{{localize "BOL.chat.noprotectvalue"}}
2021-12-29 19:15:06 +01:00
{{/if}}
{{#if (eq defenseMode "hero-reduce-damage")}}
2022-05-11 19:29:32 +02:00
{{localize "BOL.chat.protectvalue"}} : {{armorProtect}}.
{{localize "BOL.chat.heroreducedamage" total=rollHero.total}}
2021-12-29 19:15:06 +01:00
{{/if}}
{{#if (eq defenseMode "hero-in-extremis")}}
2022-05-11 19:29:32 +02:00
{{localize "BOL.chat.herosplintered" name=weaponHero.name}}
2021-12-29 19:15:06 +01:00
{{/if}}
</li>
<li>
2022-05-11 19:29:32 +02:00
{{localize "BOL.chat.finaldamage" finalDamage=finalDamage}}
2021-12-29 19:15:06 +01:00
</li>
</ul>