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

41 lines
1.4 KiB
HTML
Raw Normal View History

2020-12-31 02:20:52 +01:00
<h4>
{{#if isSortReserve}}Mise en réserve{{else}}Lancement{{/if}} du sort {{selectedSort.name}} (r {{selectedSort.data.ptreve_reel}})
2020-12-31 02:20:52 +01:00
<br>
<span class="tooltip">
{{competence.name}}: {{rolled.caracValue}} à {{numberFormat rolled.finalLevel decimals=0 sign=true}}
<div class="tooltiptext ttt-ajustements">
2020-12-31 02:20:52 +01:00
<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>
</span>
{{#if rolled.needSignificative}}<label class="rdd-need-significative">(&times;&frac12;)</label>{{/if}} =
{{rolled.score}}%
</h4>
<div>Pour {{selectedSort.data.ptreve_reel}} points de rêve en {{coordLabel}} ({{coord}})</div>
<div>
<span>{{rolled.roll}} : </span><span class="rdd-roll-{{rolled.code}} strong-text">{{rolled.quality}}</span>
2020-12-31 02:20:52 +01:00
{{#if show.reveInsuffisant}}<span>Pas assez de rêve!</span>{{/if}}
</div>
<hr>
<div>
2020-12-31 02:20:52 +01:00
<span>
{{#if rolled.isETotal}}
Echec TOTAL du sort!
{{else if rolled.isEchec}}
Echec du sort,
{{else}}
Réussite du sort,
{{/if~}}
</span>
<span>
{{#if (eq depenseReve 0)}}
pas de dépense de rêve
{{else if (eq depenseReve 1)}}
1 point de rêve a été dépensé
{{else}}
{{depenseReve}} points de rêve ont été dépensés
{{/if}}
</span>
</div>