This commit is contained in:
2022-01-14 14:49:16 +01:00
parent e2140274d4
commit 4afa62df4c
10 changed files with 366 additions and 454 deletions

View File

@ -18,22 +18,28 @@
<div>
<ul>
{{#if weapon}}
<li>Weapon : {{weapon.name}}</li>
{{/if}}
{{#if isDamage}}
<li>Weapon Damage Dice : {{weapon.data.damageDice}}</li>
{{/if}}
{{#if stat}}
<li>Statistic : {{stat.label}}</li>
{{/if}}
{{#if spec}}
<li>Specialisation : {{spec.name}}</li>
{{/if}}
{{#if isDamage}}
<li><strong>Damages : {{finalScore}}</strong>
{{else}}
<li><strong>Final Result : {{finalScore}}</strong>
{{/if}}
{{#if linkedRollId}}
<li><button class="chat-card-button apply-defense-roll" data-roll-score="{{finalScore}}" data-roll-id="{{@root.rollId}}" data-actor-id="{{actorId}}" data-defender-id="{{defenseAttackerId}}">Use this Roll as defense</button></li>
{{/if}}
{{#if dmgResult}}
<li>Damages : {{dmgResult}}</li>
{{/if}}
</ul>
</div>