Initial import
This commit is contained in:
37
templates/chat/chat-confrontation-result.hbs
Normal file
37
templates/chat/chat-confrontation-result.hbs
Normal file
@ -0,0 +1,37 @@
|
||||
<div class="chat-message-header">
|
||||
{{#if actorImg}}
|
||||
<img class="actor-icon" src="{{actorImg}}" alt="{{alias}}" />
|
||||
{{/if}}
|
||||
<h4 class="chat-actor-name">{{alias}}</h4>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
{{#if img}}
|
||||
<div >
|
||||
<img class="chat-icon" src="{{img}}" alt="{{name}}" />
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<div class="flexcol">
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<ul>
|
||||
<li>Confrontation de {{attr.label}} : {{attr.value}}
|
||||
</li>
|
||||
<li>Degré de la confrontation: {{confrontationDegre}} </li>
|
||||
<li>Ajustement spécial : {{confrontationModif}} </li>
|
||||
<li>Seuil final : {{target}} </li>
|
||||
<li>Valeur de la carte : {{total}} </li>
|
||||
|
||||
{{#if isSuccess}}
|
||||
<li><label class="chat-result-text chat-result-success ">Réussite !</label> Votre {{attr.label}} augmente de {{gainAttr}} points.</li>
|
||||
{{else}}
|
||||
<li><label class="chat-result-text chat-result-success ">Echec !</label> Votre {{attr.label}} diminue de {{gainAttr}} points.</li>
|
||||
{{/if}}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
76
templates/chat/chat-generic-result.hbs
Normal file
76
templates/chat/chat-generic-result.hbs
Normal file
@ -0,0 +1,76 @@
|
||||
<div class="chat-message-header">
|
||||
{{#if actorImg}}
|
||||
<img class="actor-icon" src="{{actorImg}}" alt="{{alias}}" />
|
||||
{{/if}}
|
||||
<h4 class="chat-actor-name">{{alias}}</h4>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
{{#if img}}
|
||||
<div >
|
||||
<img class="chat-icon" src="{{img}}" alt="{{name}}" />
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<div class="flexcol">
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<ul>
|
||||
{{#if attr}}
|
||||
<li>{{attr.label}} : {{attr.value}}
|
||||
</li>
|
||||
{{/if}}
|
||||
|
||||
<li>Bonus/Malus perso: {{bonusMalusPerso}} </li>
|
||||
<li>Bonus/Malus situation: {{bonusMalusSituation}} </li>
|
||||
<li>Seuil final: {{target}} </li>
|
||||
<li>Resultat {{roll.total}} </li>
|
||||
|
||||
{{#if isSuccess}}
|
||||
{{#if isCritical}}
|
||||
<li><label class="chat-result-text chat-result-success ">Réussite Critique !</label></li>
|
||||
{{#if arme}}
|
||||
{{#if arme.system.dommagecritiquemort}}
|
||||
<li><label class="chat-result-success">La victime est morte !</label></li>
|
||||
{{else}}
|
||||
{{#if arme.system.dommagecritiqueko}}
|
||||
<li><label class="chat-result-text chat-result-success ">La victime est KO !</label></li>
|
||||
{{/if}}
|
||||
<li><label class="chat-result-success ">La victime subit {{arme.system.dommagecritique}} dommages</label></li>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{else}}
|
||||
{{#if isPart}}
|
||||
<li><label class="chat-result-text chat-result-success ">Réussite Particulière !</label></li>
|
||||
{{#if arme}}
|
||||
<li><label class="chat-result-success ">La victime subit {{arme.system.dommagepart}} dommages</label></li>
|
||||
{{/if}}
|
||||
|
||||
{{else}}
|
||||
<li><label class="chat-result-text chat-result-success ">Succés !</label></li>
|
||||
{{#if arme}}
|
||||
<li><label class="chat-result-success ">La victime subit {{arme.system.dommagenormale}} dommages</label></li>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{else}}
|
||||
{{#if isFumble}}
|
||||
<li><label class="chat-result-text chat-result-failure ">Echec Critique !</label></li>
|
||||
{{else}}
|
||||
<li><label class="chat-result-text chat-result-failure">Echec !</label></li>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
{{#if isReroll}}
|
||||
{{else}}
|
||||
{{#if (gt destin 0)}}
|
||||
<button class="chat-card-button roll-destin">Relancer (1 Destin)</button>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
12
templates/chat/display-tarot-card.hbs
Normal file
12
templates/chat/display-tarot-card.hbs
Normal file
@ -0,0 +1,12 @@
|
||||
</div>
|
||||
<div class="flexcol">
|
||||
<img class="{{#if system.ispositif}} {{else}}flip-tarot{{/if}}" src="{{img}}">
|
||||
<span class="tarot-title">{{name}}</span>
|
||||
{{#if system.isdualside}}
|
||||
<span class="tarot-title">{{#if system.ispositif}}Positif{{else}}Négatif{{/if}}</span>
|
||||
{{/if}}
|
||||
{{#if value}}
|
||||
<span class="tarot-title">Valeur : {{value}}</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
4
templates/chat/request-tarot-card.hbs
Normal file
4
templates/chat/request-tarot-card.hbs
Normal file
@ -0,0 +1,4 @@
|
||||
<div>
|
||||
<button class="chat-card-button draw-tarot-card">Tirer une carte de Tarot</button>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user