forked from public/foundryvtt-reve-de-dragon
Amélioration fenêtre de Tchat #42
This commit is contained in:
@ -31,7 +31,7 @@
|
||||
<label class="ctn-fatigue tooltip">
|
||||
Fatigue
|
||||
<a id="fatigue-moins">-</a>
|
||||
<span class="tooltiptext">{{{data.fatigue.html}}}</span>
|
||||
<span class="tooltiptext tooltiptext-fatigue">{{{data.fatigue.html}}}</span>
|
||||
<input class="resource-content" id="fatigue-value" type="text" name="data.sante.fatigue.value" value="{{data.sante.fatigue.value}}" data-dtype="Number" />
|
||||
<span>/ {{data.sante.fatigue.max}}</span>
|
||||
<a id="fatigue-plus">+</a>
|
||||
@ -65,7 +65,7 @@
|
||||
</div>
|
||||
<div class="flexrow">
|
||||
<span class="tooltip">Malus de fatigue : {{data.fatigue.malus}}
|
||||
<span class="tooltiptext">{{{data.fatigue.html}}}</span>
|
||||
<span class="tooltiptext tooltiptext-fatigue">{{{data.fatigue.html}}}</span>
|
||||
</span>
|
||||
<span>{{data.blessures.resume}}</span>
|
||||
</div>
|
||||
|
30
templates/chat-resultat-rdd.html
Normal file
30
templates/chat-resultat-rdd.html
Normal file
@ -0,0 +1,30 @@
|
||||
<h4>
|
||||
{{#if show.title}}{{show.title}}: {{/if}}
|
||||
<span class="tooltip">
|
||||
{{rolled.caracValue}} à {{numberFormat rolled.finalLevel decimals=0 sign=true}}
|
||||
{{#if ajustements}}
|
||||
<div class="tooltiptext tooltiptext-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>
|
||||
{{#if rolled.needSignificative}}<label class="rdd-need-significative">(×½)</label>{{/if}} =
|
||||
{{rolled.score}}%
|
||||
</h4>
|
||||
<div>
|
||||
<span>{{rolled.roll}} : </span>
|
||||
<span class="rdd-roll-{{rolled.code}} strong-text">{{rolled.quality}}</span>
|
||||
</div>
|
||||
{{#if show.points}}
|
||||
<div>
|
||||
<span>{{rolled.ptTache}} points de tâche{{#if rolled.ptQualite}}, ajustement Qualité {{numberFormat rolled.ptQualite decimals=0 sign=true}}{{/if}}</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{~#if show.explications}}
|
||||
<div>
|
||||
{{show.explications}}
|
||||
</div>
|
||||
{{/if}}
|
Reference in New Issue
Block a user