This repository has been archived on 2024-05-29. You can view files and clone it, but cannot push or open issues or pull requests.
fvtt-warhero/templates/chat-parry-result.html

41 lines
1.1 KiB
HTML
Raw Permalink Normal View History

2023-02-06 07:37:39 +01:00
<div class="chat-message-header">
{{#if actorImg}}
<img class="actor-icon" src="{{actorImg}}" alt="{{alias}}" />
{{/if}}
<h4 class=chat-actor-name>{{alias}}</h4>
</div>
<hr>
{{#if img}}
<div >
<img class="chat-icon" src="{{img}}" alt="{{name}}" />
</div>
{{/if}}
<div>
<ul>
<li>{{localize stat.label}} : {{stat.value}}</li>
<li><strong>Result : {{roll.total}} </strong></li>
2023-02-07 15:18:00 +01:00
<li>Formula : {{diceFormula}}</li>
{{#if isCriticalSuccess}}
2023-02-14 13:46:59 +01:00
<li><span class="crit-success">{{localize "WH.chat.diceresult"}} : {{diceResult}}</span></li>
2023-02-07 15:18:00 +01:00
{{else}}
{{#if isCriticalFailure}}
2023-02-14 13:46:59 +01:00
<li><span class="crit-failure">{{localize "WH.chat.diceresult"}} : {{diceResult}}</span></li>
2023-02-07 15:18:00 +01:00
{{else}}
2023-02-14 13:46:59 +01:00
<li>{{localize "WH.chat.diceresult"}} : <span>{{diceResult}}</span></li>
2023-02-07 15:18:00 +01:00
{{/if}}
{{/if}}
2023-02-06 07:37:39 +01:00
{{#if isSuccess}}
2023-02-14 13:46:59 +01:00
<li><strong>{{localize "WH.chat.parysuccess"}} </strong></li>
2023-02-06 07:37:39 +01:00
{{else}}
2023-02-14 13:46:59 +01:00
<li><strong>{{localize "WH.chat.paryfailed"}} </strong></li>
2023-02-06 07:37:39 +01:00
{{/if}}
</ul>
</div>
</div>