2022-03-10 21:05:53 +01:00
|
|
|
<div>
|
|
|
|
{{#if isSuccess}}
|
|
|
|
{{#if isCritical}}
|
|
|
|
<h2 class="success critical"><i class="fas fa-check-double"></i> {{localize "BOL.ui.critical"}}...
|
|
|
|
{{else}}
|
|
|
|
<h2 class="success"><i class="fas fa-check"></i> {{localize "BOL.ui.success"}}...
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
{{#if isFailure}}
|
|
|
|
{{#if isFumble}}
|
|
|
|
<h2 class="failure fumble"><i class="fas fa-skull-crossbones"></i> {{localize "BOL.ui.fumble"}}...
|
|
|
|
{{else}}
|
|
|
|
<h2 class="failure"><i class="fas fa-times"></i> {{localize "BOL.ui.failure"}}...
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
<img class="chat-icon" src="{{actor.img}}" alt="{{actor.name}}"/>
|
|
|
|
</h2>
|
|
|
|
</div>
|
2022-01-16 21:29:12 +01:00
|
|
|
|
2022-01-09 13:23:20 +01:00
|
|
|
<h3><strong>{{description}}</strong></h3>
|
2022-01-16 21:29:12 +01:00
|
|
|
|
2022-03-27 22:56:43 +02:00
|
|
|
<div class="actions-section">
|
|
|
|
{{#if fightOption}}
|
|
|
|
<div>
|
2022-05-11 19:29:32 +02:00
|
|
|
{{localize "BOL.chat.fightoption"}} : {{fightOption.name}}
|
2022-03-27 22:56:43 +02:00
|
|
|
</div>
|
2022-01-23 09:25:09 +01:00
|
|
|
{{/if}}
|
2022-01-17 23:50:57 +01:00
|
|
|
|
2022-03-27 22:56:43 +02:00
|
|
|
<div id="{{optionsId}}">
|
|
|
|
{{#if (and isSuccess weapon)}}
|
|
|
|
{{> "systems/bol/templates/chat/rolls/attack-damage-card.hbs"}}
|
|
|
|
{{/if}}
|
|
|
|
{{#if (and isSuccess spell)}}
|
|
|
|
{{> "systems/bol/templates/chat/rolls/spell-roll-card.hbs"}}
|
|
|
|
{{/if}}
|
|
|
|
{{#if alchemy}}
|
|
|
|
{{> "systems/bol/templates/chat/rolls/alchemy-roll-card.hbs"}}
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{#if reroll}}
|
2022-05-11 19:29:32 +02:00
|
|
|
<button class="chat-button button hero-reroll" data-roll-id=="{{rollId}}" data-actor-id="{{actor.id}}">{{localize "BOL.chat.reroll"}}</button>
|
2022-03-27 22:56:43 +02:00
|
|
|
{{/if}}
|
|
|
|
{{#if (and isSuccess (not isCritical))}}
|
2022-05-11 19:29:32 +02:00
|
|
|
<button class="chat-button button transform-heroic-roll" data-roll-id=="{{rollId}}" data-actor-id="{{actor.id}}">{{localize "BOL.chat.toheroic"}}</button>
|
2022-03-27 22:56:43 +02:00
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{#if isRealCritical}}
|
2022-05-11 19:29:32 +02:00
|
|
|
<button class="chat-button button transform-legendary-roll" data-roll-id=="{{rollId}}" data-actor-id="{{actor.id}}">{{localize "BOL.chat.tolegend"}}</button>
|
2022-03-27 22:56:43 +02:00
|
|
|
{{/if}}
|
|
|
|
<br>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|