Files
fvtt-donjon-et-cie/templates/dialogs/spell-roll.hbs
LeRatierBretonnier 1d6e6dd44e
Some checks failed
Release Creation / build (release) Failing after 54s
Corrections sur les clés de label manquantes
2026-04-16 21:53:26 +02:00

48 lines
1.7 KiB
Handlebars

<div class="dnc-dialog-form">
<p><strong>{{actorName}}</strong> lance <strong>{{item.name}}</strong>.</p>
<label>
<span>{{localize "DNC.UI.Characteristic"}}</span>
<input type="text" value="{{characteristic.label}} ({{characteristic.value}})" readonly>
</label>
<label>
<span>{{localize "DNC.UI.Cost"}}</span>
<input type="text" value="{{item.system.coutPv}} PV" readonly>
</label>
<label>
<span>{{localize "DNC.UI.CurrentHp"}}</span>
<input type="text" value="{{currentPv}}" readonly>
</label>
<label>
<span>{{localize "DNC.UI.Rank"}}</span>
<input type="text" value="{{rank}}" readonly>
</label>
<label>
<span>{{localize "DNC.UI.Focus"}}</span>
<input type="text" value="{{#if focusIsActive}}{{focusDisplay}}{{else}}{{focusLabel}}{{/if}}" readonly>
</label>
<label>
<span>{{localize "DNC.UI.Chaos"}}</span>
<input type="text" value="{{chaosLabel}}" readonly>
</label>
<label>
<span>{{localize "DNC.UI.Mode"}}</span>
<select name="mode">
<option value="normal">{{localize "DNC.UI.ModeNormal"}}</option>
<option value="avantage">{{localize "DNC.UI.ModeAdvantage"}}</option>
<option value="desavantage">{{localize "DNC.UI.ModeDisadvantage"}}</option>
</select>
</label>
{{#if hasFavorOptions}}
<label>
<span>{{localize "DNC.UI.FavorBoost"}}</span>
<select name="favorDepartment">
<option value="">{{localize "DNC.UI.NoFavor"}}</option>
{{selectOptions favorOptions selected="" labelAttr="label" valueAttr="value" localize=false}}
</select>
</label>
{{/if}}
{{#if autoDisadvantage}}
<p class="dialog-help warning">{{localize "DNC.Dialog.SpellAutoDisadvantage"}}</p>
{{/if}}
</div>