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

43 lines
1.1 KiB
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}}" />
<h4>
2021-12-02 20:18:21 +01:00
{{#if (eq mode "stat")}}
Statistic : {{stat.label}}
2021-12-02 07:38:59 +01:00
{{else}}
2021-12-02 20:18:21 +01:00
{{#if (eq mode "spec")}}
Technique : {{spec.name}}
2021-12-02 07:38:59 +01:00
{{else}}
{{#if (eq mode "weapon")}}
Weapon attack : {{weapon.name}}
{{/if}}
{{/if}}
{{/if}}
</h4>
</div>
<div class="flexcol">
</div>
<div>
<ul>
{{#if (eq mode "weapon")}}
<li>Effect description : {{weapon.data.effectdescription}}</li>
{{/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}}
</ul>
</div>
</div>