2021-01-02 14:10:43 +01:00
|
|
|
<div>
|
2021-04-21 22:01:07 +02:00
|
|
|
<span {{#if ajustements}}class="tooltip tooltip-dotted" {{/if}}>
|
2023-11-11 00:03:14 +01:00
|
|
|
{{rolled.caracValue}} à {{plusMoins rolled.finalLevel}}
|
2021-01-02 14:10:43 +01:00
|
|
|
{{#if ajustements}}
|
|
|
|
<div class="tooltiptext ttt-ajustements">
|
|
|
|
{{#each ajustements as |item key|}}
|
2021-01-05 18:43:13 +01:00
|
|
|
{{#if item.used}}
|
2021-01-02 14:10:43 +01:00
|
|
|
<div class="{{#if item.strong}}strong-text{{/if}}">
|
|
|
|
{{#if item.descr}}
|
|
|
|
{{{item.descr}}}
|
|
|
|
{{else}}
|
2023-12-08 02:38:23 +01:00
|
|
|
{{{item.label}}}: {{plusMoins item.value}}
|
2021-01-02 14:10:43 +01:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
2021-01-05 18:43:13 +01:00
|
|
|
{{/if}}
|
2021-01-02 14:10:43 +01:00
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2021-01-02 19:27:15 +01:00
|
|
|
{{#if rolled.factorHtml}}<span class="rdd-diviseur">×{{{rolled.factorHtml}}}</span>{{/if}}
|
2021-01-02 14:10:43 +01:00
|
|
|
</span>
|
|
|
|
<span>= {{rolled.score}}%</span>
|
2023-11-11 00:32:31 +01:00
|
|
|
{{#if rolled.factorHtml}}
|
|
|
|
<span class="rdd-diviseur">×{{{rolled.factorHtml}}}</span>
|
|
|
|
{{/if}}
|
2021-01-02 14:10:43 +01:00
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<span>{{rolled.roll}} : </span><span class="rdd-roll-{{rolled.code}} strong-text">{{rolled.quality}}</span>
|
2021-10-09 22:02:13 +02:00
|
|
|
{{#if rolled.ajustementNecessaire}}
|
2023-11-11 00:03:14 +01:00
|
|
|
<span class="rdd-niveau-requis">(Réussite si {{plusMoins rolled.niveauNecessaire}} / avec niveau {{plusMoins rolled.ajustementNecessaire}}) </span>
|
2021-10-09 22:02:13 +02:00
|
|
|
{{/if}}
|
2021-01-02 14:10:43 +01:00
|
|
|
</div>
|