This commit is contained in:
2022-01-11 23:35:23 +01:00
parent 1e4b639ec6
commit 3384157580
13 changed files with 361 additions and 162 deletions

View File

@ -4,22 +4,8 @@
</div>
<hr>
<div >
<img class="chat-icon" src="{{img}}" alt="{{name}}" />
<h4>
{{#if (eq mode "stat")}}
Statistic : {{stat.label}}
{{else}}
{{#if (eq mode "spec")}}
Technique : {{spec.name}}
{{else}}
{{#if (eq mode "weapon")}}
Weapon attack : {{weapon.name}}
{{/if}}
{{/if}}
{{/if}}
</h4>
</div>
<div class="flexcol">
@ -27,8 +13,11 @@
<div>
<ul>
{{#if (eq mode "weapon")}}
<li>Effect description : {{weapon.data.effectdescription}}</li>
{{#if stat}}
<li>Statistic : {{stat.label}}</li>
{{/if}}
{{#if spec}}
<li>Specialisation : {{spec.name}}</li>
{{/if}}
<li><strong>Final Result : {{finalScore}}</strong>
@ -36,6 +25,10 @@
<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>