31 lines
1.1 KiB
HTML
31 lines
1.1 KiB
HTML
<div>
|
|
<span {{#if ajustements}}class="tooltip tooltip-dotted" {{/if}}>
|
|
{{rolled.caracValue}} à {{plusMoins rolled.finalLevel}}
|
|
{{#if ajustements}}
|
|
<div class="tooltiptext ttt-ajustements">
|
|
{{#each ajustements as |item key|}}
|
|
{{#if item.used}}
|
|
<div class="{{#if item.strong}}strong-text{{/if}}">
|
|
{{#if item.descr}}
|
|
{{{item.descr}}}
|
|
{{else}}
|
|
{{{item.label}}}: {{plusMoins item.value}}
|
|
{{/if}}
|
|
</div>
|
|
{{/if}}
|
|
{{/each}}
|
|
</div>
|
|
{{/if}}
|
|
{{#if rolled.factorHtml}}<span class="rdd-diviseur">×{{{rolled.factorHtml}}}</span>{{/if}}
|
|
</span>
|
|
<span>= {{rolled.score}}%</span>
|
|
{{#if rolled.factorHtml}}
|
|
<span class="rdd-diviseur">×{{{rolled.factorHtml}}}</span>
|
|
{{/if}}
|
|
</div>
|
|
<div>
|
|
<span>{{rolled.roll}} : </span><span class="rdd-roll-{{rolled.code}} strong-text">{{rolled.quality}}</span>
|
|
{{#if rolled.ajustementNecessaire}}
|
|
<span class="rdd-niveau-requis">(Réussite si {{plusMoins rolled.niveauNecessaire}} / avec niveau {{plusMoins rolled.ajustementNecessaire}}) </span>
|
|
{{/if}}
|
|
</div> |