2020-07-23 22:09:40 +02:00
|
|
|
<form class="dialog-roll-sort">
|
2022-09-17 16:07:38 +02:00
|
|
|
<h2 class="flexrow">Lancer le {{#if sort.system.isrituel}}rituel{{else}}sort{{/if}}:
|
|
|
|
<select name="sort" class="roll-sort" data-dtype="String">
|
2021-04-24 00:50:20 +02:00
|
|
|
{{#select sort}}
|
|
|
|
{{#each sortList as |sort key|}}
|
2022-09-06 23:52:21 +02:00
|
|
|
<option value={{key}}>{{this.name}} - {{#if this.system.caseTMRspeciale}} {{this.system.caseTMRspeciale}}
|
|
|
|
{{else}}{{this.system.caseTMR}}{{/if}} / R{{this.system.difficulte}} r {{sort.system.ptreve}} ({{sort.system.draconic}})
|
2021-04-24 00:50:20 +02:00
|
|
|
</option>
|
2020-07-23 22:09:40 +02:00
|
|
|
{{/each}}
|
|
|
|
{{/select}}
|
2021-04-21 18:58:32 +02:00
|
|
|
</select>
|
2021-04-24 00:50:20 +02:00
|
|
|
</h2>
|
|
|
|
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" />
|
|
|
|
<div class="grid grid-2col">
|
|
|
|
<div class="flex-group-left">
|
|
|
|
<div class="flexrow">
|
|
|
|
<label for="tmr">TMR - {{tmr.coord}}:</label><label name="tmr">{{tmr.label}}</label>
|
|
|
|
</div>
|
|
|
|
<div class="flexrow">
|
|
|
|
<label for="carac">Rêve:</label><label name="carac">{{selectedCarac.value}}</label>
|
|
|
|
</div>
|
|
|
|
<div class="flexrow">
|
|
|
|
<label for="ptreve-variable">Points de Rêve: </label>
|
2022-12-06 01:30:12 +01:00
|
|
|
<select name="ptreve-variable" class="div-sort-ptreve-var" data-dtype="number">
|
2021-04-24 00:50:20 +02:00
|
|
|
{{#select ptreve-variable}}
|
|
|
|
{{#each coutreve as |cout key|}}
|
|
|
|
<option value={{cout}}>{{cout}}</option>
|
|
|
|
{{/each}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
2022-09-06 23:52:21 +02:00
|
|
|
<label class="div-sort-ptreve-fixe">{{selectedSort.system.ptreve}}</select>
|
2021-04-24 00:50:20 +02:00
|
|
|
</div>
|
|
|
|
<div class="flexrow div-sort-non-rituel">
|
|
|
|
<label>Mettre en réserve</label>
|
|
|
|
<input class="checkbox-by-name" type="checkbox" name="mettreEnReserve" {{#if mettreEnReserve}}checked{{/if}} />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="flex-group-left">
|
|
|
|
<div class="flexrow">
|
|
|
|
<label for="competence">Draconic:</label>
|
|
|
|
<select name="competence" class="roll-draconic" data-dtype="String">
|
|
|
|
{{#select draconic}}
|
|
|
|
{{#each draconicList as |draconic key|}}
|
2022-09-06 23:52:21 +02:00
|
|
|
<option value={{key}}>{{draconic.name}} : {{numberFormat draconic.system.niveau decimals=0 sign=true}}
|
2021-04-24 00:50:20 +02:00
|
|
|
</option>
|
|
|
|
{{/each}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="flexrow">
|
2021-10-30 01:34:57 +02:00
|
|
|
<label for="diffLibre">Difficulté</label>
|
2022-12-06 01:30:12 +01:00
|
|
|
<select name="diffLibre" class="div-sort-difficulte-var" data-dtype="number">
|
2021-04-24 00:50:20 +02:00
|
|
|
{{#select diffLibre}}
|
|
|
|
{{#each difficultesLibres as |key|}}
|
|
|
|
<option value={{key}}>{{numberFormat key decimals=0 sign=true}}</option>
|
|
|
|
{{/each}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
2022-09-06 23:52:21 +02:00
|
|
|
<label class="div-sort-difficulte-fixe">{{numberFormat selectedSort.system.difficulte decimals=0 sign=true}}</label>
|
2021-04-24 00:50:20 +02:00
|
|
|
</div>
|
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.html"}}
|
2021-10-30 01:34:57 +02:00
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-forcer.html"}}
|
2021-04-24 00:50:20 +02:00
|
|
|
<div class="flexrow">
|
|
|
|
<label for="bonus-case">Bonus de case </label>
|
|
|
|
<label name="bonus-case" class="bonus-case">0%</label>
|
|
|
|
</div>
|
2022-12-06 01:30:12 +01:00
|
|
|
<div class="placeholder-ajustements" class="flexrow"></div>
|
2021-04-24 00:50:20 +02:00
|
|
|
</div>
|
2021-04-21 18:58:32 +02:00
|
|
|
</div>
|
2021-04-24 00:50:20 +02:00
|
|
|
<div class="description-sort">
|
|
|
|
<hr>
|
|
|
|
{{> "systems/foundryvtt-reve-de-dragon/templates/partial-description-sort.html" sort=selectedSort}}
|
2021-04-21 18:58:32 +02:00
|
|
|
</div>
|
2021-04-24 00:50:20 +02:00
|
|
|
|
2022-12-06 01:30:12 +01:00
|
|
|
<div class="placeholder-resolution"></div>
|
2020-07-23 22:09:40 +02:00
|
|
|
</form>
|
|
|
|
|
|
|
|
<script>
|
2021-04-24 00:50:20 +02:00
|
|
|
</script>
|