Files
fvtt-donjon-et-cie/templates/dialogs/spell-roll.hbs

48 lines
1.5 KiB
Handlebars

<div class="dnc-dialog-form">
<p><strong>{{actorName}}</strong> lance <strong>{{item.name}}</strong>.</p>
<label>
<span>Caracteristique</span>
<input type="text" value="{{characteristic.label}} ({{characteristic.value}})" readonly>
</label>
<label>
<span>Cout</span>
<input type="text" value="{{item.system.coutPv}} PV" readonly>
</label>
<label>
<span>PV actuels</span>
<input type="text" value="{{currentPv}}" readonly>
</label>
<label>
<span>Rang</span>
<input type="text" value="{{rank}}" readonly>
</label>
<label>
<span>Focus</span>
<input type="text" value="{{#if focusIsActive}}{{focusDisplay}}{{else}}{{focusLabel}}{{/if}}" readonly>
</label>
<label>
<span>Chaos</span>
<input type="text" value="{{chaosLabel}}" readonly>
</label>
<label>
<span>Mode</span>
<select name="mode">
<option value="normal">Normal</option>
<option value="avantage">Avantage</option>
<option value="desavantage">Desavantage</option>
</select>
</label>
{{#if hasFavorOptions}}
<label>
<span>Coup de pouce</span>
<select name="favorDepartment">
<option value="">Aucune faveur</option>
{{selectOptions favorOptions selected="" labelAttr="label" valueAttr="value" localize=false}}
</select>
</label>
{{/if}}
{{#if autoDisadvantage}}
<p class="dialog-help warning">Le cout depasse le rang du lanceur : le jet se fera automatiquement avec desavantage.</p>
{{/if}}
</div>