fvtt-imperium5/templates/chat-generic-result.html

122 lines
3.1 KiB
HTML
Raw Permalink Normal View History

2022-03-13 16:17:04 +01:00
<div class="chat-message-header">
{{#if actorImg}}
<img class="actor-icon" src="{{actorImg}}" alt="{{alias}}" />
{{/if}}
<h4 class=chat-actor-name>{{alias}}</h4>
</div>
2022-10-31 09:10:23 +01:00
<hr>
<div class="flexcol">
</div>
<div>
<ul>
<li class="imperium5-roll">Réserve : {{humanFormula}}</li>
<li>Score :
(
{{#each resultsPC as |r k|}}
{{#if @root.useSpecialite}}
<a class="apply-specialite common-button" data-result-index="{{k}}">{{r.result}}</a>
{{else}}
{{r.result}}
{{/if}}
{{/each}}
)
(
{{#each roll.terms.2.results as |r k|}}
{{r.result}}
{{/each}}
)
(
{{#each roll.terms.4.results as |r k|}}
{{r.result}}
{{/each}}
)
</li>
{{#if specialiteApplied}}
<li>Une Spécialité a réduit de 1 le résultat du dé</li>
{{/if}}
{{#if usedParadigme}}
<li>Paradigme utilisé : {{usedParadigme}}</li>
{{/if}}
<li>Seuil : {{seuil}}
{{#if (count paradigmes)}}
<select class="common-button select-apply-paradigme" type="text" value="{{selectedParadigme}}"
data-dtype="String">
{{#select selectedParadigme}}
<option value="none">Pas de paradigme</option>
{{#each paradigmes as |para key|}}
<option value="{{para.key}}">{{para.label}} ({{para.value}})</option>
{{/each}}
{{/select}}
</select>
{{/if}}
</li>
<li>Unités de narration : {{realSuccessPC}}
{{#if realSuccessPC}}
<select class="common-button transfer-success" type="text" value="{{nbSuccessSource}}" data-dtype="Number">
{{#select nbSuccessSource}}
<option value="none">0 -> Source</option>
{{#times realSuccessPC}}
<option value="{{this}}">{{this}} -> Source</option>
{{/times}}
{{/select}}
</select>
{{/if}}
</li>
{{#if realSuccessPC}}
<li>Ressource :
<select class="common-button select-ressource" type="text" value="none" data-dtype="String">
{{#select "none"}}
<option value="none">Aucun</option>
{{#each ressources as |ressource key|}}
<option value="{{ressource._id}}">{{ressource.name}} ({{ressource.system.ressource}})</option>
{{/each}}
{{/select}}
</select>
</li>
{{/if}}
{{#if (count selectedRessources)}}
<li>Ressources utilisées : </li>
<ul class="ul-level1">
{{#each selectedRessources as |ressource key|}}
<li>
{{ressource.name}} ({{ressource.system.ressource}});
</li>
{{/each}}
</ul>
</li>
{{/if}}
{{#if totalIntensite}}
<li>Intensité totale : {{totalIntensite}}</li>
{{/if}}
{{#if sourceTransfer}}
<li>Succés transférés à la Source : {{sourceTransfer}}</li>
{{/if}}
<li>Succés de Réalité : {{successGM}}</li>
{{#if nbKarma}}
<li>Points de Karma utilisés : {{nbKarma}}</li>
{{/if}}
{{#if bonPresage}}
<li>Bon Présage !</li>
{{/if}}
{{#if mauvaisPresage}}
<li>Mauvais Présage !</li>
{{/if}}
</ul>
</div>
</div>