fvtt-pegasus-rpg/templates/chat-generic-result.html

36 lines
931 B
HTML
Raw Normal View History

2021-12-02 07:38:59 +01:00
<div class="chat-message-header">
<img class="actor-icon" src="{{actorImg}}" alt="{{alias}}" />
<h4 class=chat-actor-name>{{alias}}</h4>
</div>
<hr>
<div >
<img class="chat-icon" src="{{img}}" alt="{{name}}" />
</div>
<div class="flexcol">
</div>
<div>
<ul>
2022-01-11 23:35:23 +01:00
{{#if stat}}
<li>Statistic : {{stat.label}}</li>
{{/if}}
{{#if spec}}
<li>Specialisation : {{spec.name}}</li>
2021-12-02 07:38:59 +01:00
{{/if}}
2021-12-02 20:18:21 +01:00
<li><strong>Final Result : {{finalScore}}</strong>
2021-12-02 07:38:59 +01:00
{{#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}}
2022-01-11 23:35:23 +01:00
{{#if dmgResult}}
<li>Damages : {{dmgResult}}</li>
{{/if}}
2021-12-02 07:38:59 +01:00
</ul>
</div>
</div>