2023-11-26 16:18:04 +01:00
|
|
|
<form class="skill-roll-dialog">
|
|
|
|
<header class="roll-dialog-header">
|
|
|
|
{{#if img}}
|
|
|
|
<img class="actor-icon" src="{{img}}" data-edit="img" title="{{name}}" />
|
|
|
|
{{/if}}
|
|
|
|
<h1 class="dialog-roll-title roll-dialog-header">{{title}}</h1>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<div class="flexcol">
|
|
|
|
|
|
|
|
<div class="flexrow">
|
|
|
|
{{#if (eq attrKey "tochoose")}}
|
|
|
|
<span class="roll-dialog-label">Attribut</span>
|
|
|
|
<select class="status-small-label color-class-common" id ="attrKey" type="text" name="attrKey" value="attrKey" data-dtype="string" >
|
2024-05-23 11:36:03 +02:00
|
|
|
{{selectOptions attributs selected=attrKey}}
|
2023-11-26 16:18:04 +01:00
|
|
|
</select>
|
|
|
|
{{else}}
|
|
|
|
<span class="roll-dialog-label">{{attr.label}}</span>
|
|
|
|
<span class="small-label">{{attr.value}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{#if competence}}
|
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">{{competence.name}}</span>
|
|
|
|
<span class="small-label">{{competence.system.niveau}}</span>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
2023-11-29 22:04:17 +01:00
|
|
|
{{#if charme}}
|
2023-11-26 16:18:04 +01:00
|
|
|
<div class="flexrow">
|
2023-11-29 22:04:17 +01:00
|
|
|
<span class="roll-dialog-label">{{charme.name}}</span>
|
2023-11-26 16:18:04 +01:00
|
|
|
</div>
|
|
|
|
<div class="flexrow">
|
2023-11-29 22:04:17 +01:00
|
|
|
<span class="roll-dialog-label">Dé additionnel : </span>
|
|
|
|
<select class="status-small-label color-class-common" id="charmeDice" type="text" name="charmeDice" value="charmeDice" data-dtype="string" >
|
2024-05-23 11:36:03 +02:00
|
|
|
{{select config.dices selected=charmeDice}}
|
2023-11-29 22:04:17 +01:00
|
|
|
</select>
|
2023-11-26 16:18:04 +01:00
|
|
|
|
2023-11-29 22:04:17 +01:00
|
|
|
</div>
|
2023-11-26 16:18:04 +01:00
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">Modificateur : </span>
|
|
|
|
<select class="roll-dialog-label" id="modificateur" type="text" name="modificateur" value="{{modificateur}}"
|
2024-05-23 11:36:03 +02:00
|
|
|
data-dtype="String">
|
|
|
|
{{selectOptions config.modificateurOptions valueAttr="key" nameAttr="key" labelAttr="label" selected=modificateur }}
|
2023-11-26 16:18:04 +01:00
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{#if armeDefense}}
|
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">Défense adversaire : </span>
|
|
|
|
<span class="roll-dialog-label"><strong>{{difficulte}}</strong> </span>
|
|
|
|
</div>
|
|
|
|
{{else}}
|
2023-11-29 22:04:17 +01:00
|
|
|
{{#if charme}}
|
|
|
|
{{else}}
|
2023-11-26 16:18:04 +01:00
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">Difficulté : </span>
|
|
|
|
<select class="roll-dialog-label" id="difficulte" type="text" name="difficulte" value="{{difficulte}}"
|
|
|
|
data-dtype="Number">
|
2024-05-23 11:36:03 +02:00
|
|
|
{{selectOptions config.difficulteOptions selected=difficulte}}
|
2023-11-26 16:18:04 +01:00
|
|
|
</select>
|
|
|
|
</div>
|
2023-11-29 22:04:17 +01:00
|
|
|
{{/if}}
|
2023-11-26 16:18:04 +01:00
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{#if canEclatDoubleD20}}
|
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">Doubler le d20 (1 Point d'Eclat)</span>
|
|
|
|
<input class="" id="doubleD20" type="checkbox" name="doubleD20" value="{{doubleD20}}" {{checked doubleD20}}/>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|