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-generic-result.html

63 lines
1.6 KiB
HTML
Raw Normal View History

2023-01-04 21:24:56 +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}}
2023-01-29 18:32:30 +01:00
<div>
<ul>
2023-02-07 15:18:00 +01:00
{{#if (eq mode "save")}}
<li>{{localize "WH.chat.save"}} {{localize stat.label}} : {{stat.save}}</li>
{{else}}
{{#if stat}}
<li>{{localize stat.label}} : {{stat.value}}</li>
{{/if}}
2023-01-29 18:32:30 +01:00
{{/if}}
2023-02-07 15:18:00 +01:00
2023-01-29 18:32:30 +01:00
{{#if weapon}}
<li>{{localize "WH.ui.weapon"}} : {{weapon.name}}</li>
{{/if}}
{{#if hasBM}}
<li>Bonus/Malus : {{bonusMalus}}</li>
{{/if}}
2023-02-07 15:18:00 +01:00
2023-02-06 07:37:39 +01:00
{{#if usemWeaponMalus}}
<li>Multiple weapons malus : {{mWeaponMalus}}</li>
{{/if}}
2023-02-08 19:38:09 +01:00
{{#if diceFormula}}
<li>Formula : {{diceFormula}}</li>
{{#if isCriticalSuccess}}
<li><span class="crit-success">Dice result : {{diceResult}}</span></li>
2023-02-07 15:18:00 +01:00
{{else}}
2023-02-08 19:38:09 +01:00
{{#if isCriticalFailure}}
<li><span class="crit-failure">Dice result : {{diceResult}}</span></li>
{{else}}
<li>Dice result : <span>{{diceResult}}</span></li>
{{/if}}
2023-02-07 15:18:00 +01:00
{{/if}}
{{/if}}
2023-01-29 18:32:30 +01:00
{{#if power}}
<li>{{localize "WH.ui.power"}} : {{power.name}}</li>
2023-02-08 19:38:09 +01:00
<li>{{localize "WH.ui.magicschool"}} : {{power.system.magicschool}}</li>
<li>{{localize "WH.ui.level"}} : {{power.system.level}}</li>
2023-01-29 18:32:30 +01:00
<li>{{{powerText}}}</li>
{{else}}
<li><strong>Result : {{roll.total}} </strong></li>
{{/if}}
2023-01-04 21:24:56 +01:00
2023-01-29 18:32:30 +01:00
</ul>
</div>
2023-01-04 21:24:56 +01:00
</div>