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

21 lines
1.1 KiB
Handlebars
Raw 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
{{localize "BOL.chat.hurttitle" name=defender.name damageTotal=damageTotal}}
2021-12-29 19:15:06 +01:00
2022-03-10 21:05:53 +01:00
{{#if damagesIgnoresArmor}}
2022-05-11 19:29:32 +02:00
<br>{{localize "BOL.chat.armordefault"}}
2022-03-10 21:05:53 +01:00
{{/if}}
2022-05-11 19:29:32 +02:00
<button class="damage-handling" data-defense-mode="damage-with-armor" data-attack-id="{{attackId}}">{{localize "BOL.chat.witharmor"}}</button>
<button class="damage-handling" data-defense-mode="damage-without-armor" data-attack-id="{{attackId}}">{{localize "BOL.chat.withoutarmor"}}</button>
2021-12-29 19:15:06 +01:00
2023-09-16 09:40:08 +02:00
{{#if (gt defenderHeroPoints 0)}}
<button class="damage-handling" data-defense-mode="hero-reduce-damage" data-attack-id="{{attackId}}">{{localize "BOL.chat.shakeoff"}}</button>
2021-12-29 19:15:06 +01:00
2023-09-16 09:40:08 +02:00
{{#each defenderWeapons as |weapon idx|}}
<button class="damage-handling" data-defense-mode="hero-in-extremis" data-attack-id="{{@root.attackId}}" data-weapon-id="{{weapon._id}}">{{localize "BOL.chat.splinteredshield" name=weapon.name}}</button>
{{/each}}
2023-04-04 13:41:22 +02:00
{{/if}}
2021-12-29 19:15:06 +01:00
2023-03-25 08:42:14 +01:00
<button class="damage-handling" data-defense-mode="damage-not-applied" data-attack-id="{{attackId}}">{{localize "BOL.chat.nodamage"}}</button>