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

48 lines
1.5 KiB
HTML
Raw Normal View History

2020-12-31 02:20:52 +01:00
<h4>
{{alias}} {{#if isSortReserve}}met en réserve{{else}}lance{{/if}} le
{{selectedSort.data.isrituel}}rituel{{else}}sort{{/if}}
{{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}}">
{{#if item.descr}}
{{{item.descr}}}
{{else}}
{{item.label}}: {{numberFormat item.value decimals=0 sign=true}}
{{/if}}
</div>
2020-12-31 02:20:52 +01:00
{{/each}}
</div>
</span>
{{#if rolled.factor}}<label class="rdd-need-significative">(&times;{{{rolled.factor}}})</label>{{/if}} = {{rolled.score}}%
2020-12-31 02:20:52 +01:00
</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>