DataModels + Appv2 migration : OK

This commit is contained in:
2026-03-01 01:12:00 +01:00
parent 1ffb8b08fc
commit 6c70dc147c
130 changed files with 2998 additions and 741 deletions

View File

@@ -1,20 +1,25 @@
<img class="chat-icon" src="{{weapon.img}}" alt="{{weapon.name}}"/>
<h3><strong>{{localize "BOL.chat.damageresult" name=weapon.name total=damageRoll.total}}</strong></h3>
{{#if defender}}
<h3><strong>{{localize "BOL.chat.damagetarget" target=defender.name}}</strong></h3>
{{/if}}
{{#if weapon.system.properties.damageReroll1}}
<div>
<label>{{localize "BOL.chat.weaponreroll1"}}</label>
<div class="bol-damage-card">
<div class="damage-card-header">
<img class="damage-weapon-img" src="{{weapon.img}}" alt="{{weapon.name}}"/>
<div class="damage-card-title">
<div class="damage-card-label">⚔ {{localize "BOL.ui.damages"}}</div>
<div class="damage-weapon-name">{{weapon.name}}</div>
<div class="damage-formula">{{damageFormula}}</div>
<div class="damage-total-badge">{{damageRoll.total}}</div>
</div>
</div>
{{/if}}
<div class="actions-section">
{{#if targetId}}
<div id="{{applyId}}">
<button class="chat-damage-apply" data-attack-id="{{id}}">{{localize "BOL.chat.applydamagetotarget"}}</button>
</div>
<br>
{{#if defender}}
<div class="damage-target">{{localize "BOL.chat.damagetarget" target=defender.name}}</div>
{{/if}}
</div>
{{#if weapon.system.properties.damageReroll1}}
<div class="damage-note">{{localize "BOL.chat.weaponreroll1"}}</div>
{{/if}}
{{#if targetId}}
<div class="actions-section" id="{{applyId}}">
<button class="chat-damage-apply" data-attack-id="{{id}}">{{localize "BOL.chat.applydamagetotarget"}}</button>
</div>
{{/if}}
</div>