foundryvtt-reve-de-dragon/templates/chat-resultat-appelchance.html

20 lines
778 B
HTML
Raw Normal View History

<h4>
Appel à la chance:
<span class="tooltip">
{{rolled.caracValue}} à {{numberFormat rolled.finalLevel decimals=0 sign=true}}
{{#if ajustements}}
<div class="tooltiptext ttt-ajustements">
<div>Ajustements</div>
{{#each ajustements as |item key|}}
<div class="{{#if item.strong}}strong-text{{/if}}" >{{item.label}}: {{numberFormat item.value decimals=0 sign=true}}{{#if item.unit}}{{item.unit}}{{/if}}</div>
{{/each}}
</div>
{{/if}}
</span> = {{rolled.score}}%
</h4>
<div><span>{{rolled.roll}} : </span><span class="rdd-roll-{{rolled.code}} strong-text">{{rolled.quality}}</span></div>
{{~#if rolled.isSuccess}}
<hr>
<span class="rdd-roll-part">Un point de chance est dépensé, l'action peut être retentée!</span>
{{/if}}