Fixed TagTeamDialog

This commit is contained in:
WBHarry 2026-07-19 22:13:37 +02:00
parent d33277f2be
commit bbf27e5b4d
4 changed files with 48 additions and 25 deletions

View file

@ -18,11 +18,11 @@
{{#if joinedRoll.damageRollData}}
<div class="result-container">
<span class="result-section-label">{{localize "DAGGERHEART.GENERAL.damage"}}</span>
{{#each joinedRoll.damageRollData.types as |damage key|}}
<div class="result-info">
<div>{{localize (concat "DAGGERHEART.CONFIG.HealingType." key ".name")}}</div>
<div class="damage-info">{{damage.total}}</div>
</div>
{{#if joinedRoll.damageRollData.main}}
{{> damageSummary roll=joinedRoll.damageRollData.main label=(localize "DAGGERHEART.GENERAL.damage")}}
{{/if}}
{{#each joinedRoll.damageRollData.resources as |roll key|}}
{{> damageSummary roll=roll label=(localize (concat "DAGGERHEART.CONFIG.HealingType." key ".name"))}}
{{/each}}
</div>
{{/if}}
@ -38,4 +38,11 @@
</button>
</div>
</div>
</section>
</section>
{{#*inline "damageSummary"}}
<div class="result-info">
<div>{{label}}</div>
<div class="damage-info">{{roll.total}}</div>
</div>
{{/inline}}