forked from public/foundryvtt-reve-de-dragon
fatigue optionnelle #113
This commit is contained in:
@ -28,7 +28,7 @@
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
<label class="ctn-fatigue tooltip">
|
||||
<label class="appliquerFatigue ctn-fatigue tooltip">
|
||||
<span class="tooltiptext ttt-fatigue">{{{calc.fatigue.html}}}</span>
|
||||
Fatigue
|
||||
<a id="fatigue-moins">-</a>
|
||||
@ -66,7 +66,7 @@
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="flexrow">
|
||||
<span class="tooltip tooltip-dotted">Malus de fatigue : {{calc.fatigue.malus}}
|
||||
<span class="appliquerFatigue tooltip tooltip-dotted">Malus de fatigue : {{calc.fatigue.malus}}
|
||||
<span class="tooltiptext ttt-fatigue">{{{calc.fatigue.html}}}</span>
|
||||
</span>
|
||||
<span>{{calc.resumeBlessures}}</span>
|
||||
|
@ -8,7 +8,7 @@
|
||||
<div>
|
||||
Après {{tache.data.periodicite}} vous avez obtenu {{rolled.ptTache}} point{{~#if (gt rolled.ptTache 1)}}s{{/if}} de tâche,
|
||||
votre avancement est de <span class="rdd-roll-{{#if (gt tache.data.points_de_tache_courant 0)}}norm{{else}}etotal{{/if}}">{{tache.data.points_de_tache_courant}} sur {{tache.data.points_de_tache}}</span> point{{~#if (gt tache.data.points_de_tache_courant 1)}}s{{/if}} de tâche.
|
||||
{{#if tache.data.fatigue}}<br><span>Vous vous êtes fatigué de {{tache.data.fatigue}} case{{~#if (gt tache.data.fatigue 1)}}s{{/if}}.</span>{{/if}}
|
||||
{{#if (and tache.data.fatigue appliquerFatigue)}}<br><span>Vous vous êtes fatigué de {{tache.data.fatigue}} case{{~#if (gt tache.data.fatigue 1)}}s{{/if}}.</span>{{/if}}
|
||||
{{#if rolled.isETotal}}<br><span>Votre échec total augmente de 1 la difficulté de la tâche!</span>{{/if~}}
|
||||
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-info-appel-au-moral.html"}}
|
||||
</div>
|
||||
|
@ -33,7 +33,7 @@
|
||||
<div class="flex-group-center">
|
||||
<label>Refoulement : </label><span id="tmr-refoulement-value">0</span>
|
||||
</div>
|
||||
<div class="flex-group-center flex-actions-bar">
|
||||
<div class="flex-group-center flex-actions-bar appliquerFatigue">
|
||||
Fatigue
|
||||
<span id="tmr-fatigue-table">{{{fatigue.html}}}</span>
|
||||
</div>
|
||||
|
@ -1,21 +1,13 @@
|
||||
<form autocomplete="off" onsubmit="event.preventDefault();">
|
||||
<h3>Règles de combat</h3>
|
||||
{{#each groups as |group key|}}
|
||||
<h3>{{key}}</h3>
|
||||
<ul>
|
||||
{{#each regles as |regle key|}}
|
||||
{{#if (eq regle.group 'combat')}}
|
||||
{{#each group as |regle r|}}
|
||||
<li>
|
||||
<input class="select-option" type="checkbox" name="{{regle.id}}" {{#if regle.active}}checked{{/if}}/>
|
||||
<label>{{regle.descr}}</label>
|
||||
</li>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
<h3>Autres règles</h3>
|
||||
{{#each regles as |regle key|}}
|
||||
{{#if (eq regle.group 'generale')}}
|
||||
<li>
|
||||
<input class="select-option" type="checkbox" name="{{regle.id}}" {{#if regle.active}}checked{{/if}}/>
|
||||
<label>{{regle.descr}}</label>
|
||||
</li>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{/each}}
|
||||
</form>
|
Reference in New Issue
Block a user