DataModels + Appv2 migration : OK
This commit is contained in:
@@ -1,27 +1,30 @@
|
||||
<img class="chat-icon" src="{{defender.img}}" alt="{{defender.name}}" />
|
||||
{{localize "BOL.chat.hurttitle" name=defender.name damageTotal=damageTotal}}
|
||||
<div class="bol-defense-card">
|
||||
<div class="defense-card-header">
|
||||
<img class="damage-weapon-img" src="{{defender.img}}" alt="{{defender.name}}"/>
|
||||
<div class="damage-card-title">
|
||||
<div class="damage-weapon-name">{{defender.name}}</div>
|
||||
<div class="damage-total-badge damage-total-badge--hit">{{damageTotal}}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{#if damagesIgnoresArmor}}
|
||||
<br>{{localize "BOL.chat.armordefault"}}
|
||||
{{/if}}
|
||||
{{#if damagesIgnoresArmor}}
|
||||
<div class="damage-note damage-note--warn">⚠ {{localize "BOL.chat.armordefault"}}</div>
|
||||
{{/if}}
|
||||
|
||||
<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>
|
||||
<div class="actions-section defense-actions">
|
||||
<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>
|
||||
|
||||
{{#if (gt defenderHeroPoints 0)}}
|
||||
<button class="damage-handling" data-defense-mode="hero-reduce-damage" data-attack-id="{{attackId}}">{{localize
|
||||
"BOL.chat.shakeoff"}}</button>
|
||||
{{#if (gt defenderHeroPoints 0)}}
|
||||
<div class="defense-hero-separator">— {{localize "BOL.ui.heropoints"}} —</div>
|
||||
<button class="damage-handling" data-defense-mode="hero-reduce-damage" data-attack-id="{{attackId}}">{{localize "BOL.chat.shakeoff"}}</button>
|
||||
{{#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}}
|
||||
{{/if}}
|
||||
|
||||
{{#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}}
|
||||
{{/if}}
|
||||
<button class="damage-handling" data-defense-mode="damage-not-applied" data-attack-id="{{attackId}}">{{localize "BOL.chat.nodamage"}}</button>
|
||||
</div>
|
||||
|
||||
<button class="damage-handling" data-defense-mode="damage-not-applied" data-attack-id="{{attackId}}">{{localize
|
||||
"BOL.chat.nodamage"}}</button>
|
||||
|
||||
<br>
|
||||
{{localize "BOL.chat.defenseReduceDamage2"}}
|
||||
<div class="defense-footer-note">{{localize "BOL.chat.defenseReduceDamage2"}}</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user