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}}
{{/select}}
</select>
<label>conditions</label>
<select name="diffConditions" id="diffConditions" data-dtype="number">
{{#select diffConditions}}
{{#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 class="flex-group-left">
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-surenc.html"}} {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffLibre.html"}}
<div id="tableAjustements"> {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.html"}}
</div> {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-moral.html"}}
<div id="tableAjustements" class="flexrow"></div>
</div>
</div>
<div id="tableResolution"> <div id="tableResolution">
</div> </div>
<div id="tableProbaReussite"> <div id="tableProbaReussite">