Rework jet caractéristique

This commit is contained in:
Vincent Vandemeulebrouck 2021-04-20 23:29:20 +02:00
parent 550f45d14c
commit 8393700ac8

View File

@ -1,32 +1,20 @@
<form class="skill-roll-dialog"> <form class="skill-roll-dialog">
<h2 class="dialog-roll-title"></h2> <h2 class="dialog-roll-title"></h2>
<div class="form-group">
<label>Difficulté libre</label> <div class="grid grid-2col">
<select name="diffLibre" id="diffLibre" data-dtype="number"> <div class="flex-group-left">
{{#select diffLibre}} <div class="flexrow">
{{#each difficultesLibres as |key|}} </div>
<option value={{key}}>{{numberFormat key decimals=0 sign=true}}</option> {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-surenc.html"}}
{{/each}} </div>
{{/select}} <div class="flex-group-left">
</select> {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffLibre.html"}}
<label>conditions</label> {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.html"}}
<select name="diffConditions" id="diffConditions" data-dtype="number"> {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-moral.html"}}
{{#select diffConditions}} <div id="tableAjustements" class="flexrow"></div>
{{#each ajustementsConditions as |key|}}
<option value={{key}}>{{numberFormat key decimals=0 sign=true}}</option>
{{/each}}
{{/select}}
</select>
<label class="diffMoral">Moral: {{#if (gt moral 0)}}+{{/if}}{{moral}}</label>
<div class="tooltipAppelAuMoral divAppelAuMoral">
<img class="imgAppelAuMoral small-button-container"
src="/systems/foundryvtt-reve-de-dragon/icons/moral-neutre.svg">
<span class="tooltipAppelAuMoralText">Sans appel au moral</span>
</div> </div>
</div> </div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-surenc.html"}}
<div id="tableAjustements">
</div>
<div id="tableResolution"> <div id="tableResolution">
</div> </div>
<div id="tableProbaReussite"> <div id="tableProbaReussite">