Ajout de macros RdD

This commit is contained in:
Vincent Vandemeulebrouck
2022-12-17 00:21:02 +01:00
parent 944120b524
commit e0b6957bc6
8 changed files with 97 additions and 17 deletions

View File

@ -0,0 +1,23 @@
<form class="skill-roll-dialog">
<h2 class="dialog-roll-title"></h2>
{{log 'dialog-roll' this}}
<div class="grid grid-2col">
<div class="flex-group-left">
<div class="flexrow">
<label>Caractéristique</label>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-select-carac.html"}}
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-competences.html"}}
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-surenc.html"}}
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-enctotal.html"}}
</div>
<div class="flex-group-left">
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffLibre.html"}}
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.html"}}
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-forcer.html"}}
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-moral.html"}}
<div class="placeholder-ajustements" class="flexrow"></div>
</div>
</div>
<div class="placeholder-resolution"></div>
</form>

View File

@ -1,7 +1,7 @@
<select name="carac" class="flex-grow" data-dtype="String">
{{#select carac}}
{{#select selectedCaracName}}
{{#each carac as |caracitem key|}}
<option value={{key}}>{{caracitem.label}}</option>
<option value="{{key}}">{{caracitem.label}}</option>
{{/each}}
{{/select}}
</select>