36 lines
1.4 KiB
Handlebars
36 lines
1.4 KiB
Handlebars
<img class="chat-icon" src="{{actor.img}}" alt="{{actor.name}}"/>
|
|
{{#if isSuccess}}
|
|
{{#if isCritical}}
|
|
<h2 class="success critical"><i class="fas fa-check-double"></i> {{localize "BOL.ui.critical"}}...</h2>
|
|
{{else}}
|
|
<h2 class="success"><i class="fas fa-check"></i> {{localize "BOL.ui.success"}}...</h2>
|
|
{{/if}}
|
|
{{/if}}
|
|
{{#if isFailure}}
|
|
{{#if isFumble}}
|
|
<h2 class="failure fumble"><i class="fas fa-skull-crossbones"></i> {{localize "BOL.ui.fumble"}}...</h2>
|
|
{{else}}
|
|
<h2 class="failure"><i class="fas fa-times"></i> {{localize "BOL.ui.failure"}}...</h2>
|
|
{{/if}}
|
|
{{/if}}
|
|
|
|
<h3><strong>{{description}}</strong></h3>
|
|
|
|
<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}}
|
|
<button class="chat-button button hero-reroll" data-roll-id=="{{rollId}}" data-actor-id="{{actor.id}}">Relancer (1 P. Heroisme)</button>
|
|
{{/if}}
|
|
{{#if isRealCritical}}
|
|
<button class="chat-button button transform-heroic-roll" data-roll-id=="{{rollId}}" data-actor-id="{{actor.id}}">Transformer en succes héroique (1 P. Heroisme)</button>
|
|
{{/if}}
|
|
</div> |