Files
foundryvtt-reve-de-dragon/templates/roll/roll-part-meditation.hbs
Vincent Vandemeulebrouck d26ab59c51 Nouvelle fenêtre: attaque/defense
quelques améliorations
préparation pour gérer les messages de résultats en
fonction du type de jet (attaque/compétence/...)

quelques corrections (suppression du filtre de compétences
quand on change de type de jet, astrologie, ..)
2025-09-24 22:39:25 +02:00

60 lines
2.6 KiB
Handlebars

<roll-part-img>
<img src="{{current.meditation.img}}" data-tooltip="{{current.meditation.name}}" />
</roll-part-img>
<roll-part-detail>
<subline>
Rêve actuel: {{rollData.active.actor.system.reve.reve.value}}
</subline>
<subline>
<select name="select-meditation" {{#if rollData.type.retry}}disabled{{/if}}>
{{selectOptions refs.meditations selected=current.key valueAttr="key" labelAttr="label"}}
</select>
{{#if current.meditation.system.malus}}
<selected-numeric-value>
{{plusMoins current.meditation.system.malus}}
</selected-numeric-value>
{{/if}}
</subline>
<subline><strong><span name="theme">{{current.meditation.system.theme}}</span></strong></subline>
<subline>Support:&nbsp;<strong><span name="support">{{current.meditation.system.support}}</span></strong></subline>
<subline>
TMR:&nbsp;<strong><span name="tmr">{{typeTmr-name current.meditation.system.tmr}}</span></strong>
{{#unless current.isTMR}}
&nbsp;<i class="fa-solid fa-circle-exclamation"></i> actuelle: {{caseTmr-label rollData.active.actor.system.reve.tmrpos.coord}} {{rollData.active.actor.system.reve.tmrpos.coord}}
{{/unless}}
</subline>
<subline>Durée:&nbsp;60 minutes</subline>
<hr>
<subline>
<input class="conditionMeditation" type="checkbox" name="isComportement" {{#if current.isComportement}}checked{{/if}} {{#if rollData.type.retry}}disabled{{/if}}/>
<label for="isComportement">Comportement:&nbsp;
<span name="comportement">{{current.meditation.system.comportement}}</span>
</label>
</subline>
<subline>
<input class="conditionMeditation" type="checkbox" name="isHeure" {{#if current.isHeure}}checked{{/if}} {{#if rollData.type.retry}}disabled{{/if}}/>
<label for="isHeure">Heure:&nbsp;
{{#with current.meditation.system.heure as |heure|}}
<span name="heure">{{timestamp-label heure}}</span>
<span name="heure-signe">{{timestamp-imgSigneHeure heure}}</span>
{{/with}}
</label>
</subline>
<subline>
<input class="conditionMeditation" type="checkbox" name="isPurification" {{#if current.isPurification}}checked{{/if}} {{#if rollData.type.retry}}disabled{{/if}}/>
<label for="isPurification">Purification:&nbsp;
<span name="purification">{{current.meditation.system.purification}}</span></label>
</subline>
<subline>
<input class="conditionMeditation" type="checkbox" name="isVeture" {{#if current.isVeture}}checked{{/if}} {{#if rollData.type.retry}}disabled{{/if}}/>
<label for="isVeture">Vêture:&nbsp;
<span name="veture">{{current.meditation.system.veture}}</span>
</label>
</subline>
</roll-part-detail>