2022-10-22 11:09:48 +02: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" >
|
|
|
|
{{#select attrKey}}
|
|
|
|
{{#each attributs as |attrLabel attrKey|}}
|
|
|
|
<option value="{{attrKey}}">{{attrLabel}}</option>
|
|
|
|
{{/each}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
{{else}}
|
|
|
|
<span class="roll-dialog-label">{{attr.label}}</span>
|
|
|
|
<span class="small-label">{{attr.value}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
|
2022-11-10 11:04:05 +01:00
|
|
|
{{#if nbAdversites}}
|
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">Malus d'adversités : </span>
|
|
|
|
<span class="small-label">- {{nbAdversites}}</span>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
2022-10-22 11:09:48 +02:00
|
|
|
{{#if competence}}
|
2022-10-25 17:54:13 +02:00
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">{{competence.name}}</span>
|
|
|
|
<span class="small-label">{{competence.system.niveau}}</span>
|
|
|
|
</div>
|
|
|
|
{{#if maitrises}}
|
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">Utiliser une maîtrise</span>
|
|
|
|
<select class="status-small-label color-class-common" id ="select-maitrise" type="text" name="select-maitrise" value="maitriseId" data-dtype="string" >
|
|
|
|
{{#select maitriseId}}
|
|
|
|
<option value="none">Aucune</option>
|
|
|
|
{{#each maitrises as |maitrise mKey|}}
|
|
|
|
<option value="{{maitrise.id}}">{{maitrise.name}}</option>
|
|
|
|
{{/each}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2022-10-22 11:09:48 +02:00
|
|
|
{{/if}}
|
|
|
|
|
2022-10-28 21:44:49 +02:00
|
|
|
{{#if (count talents)}}
|
2022-10-22 11:09:48 +02:00
|
|
|
<div class="flexrow">
|
2022-10-28 21:44:49 +02:00
|
|
|
<span class="roll-dialog-label">Talents applicables :</span>
|
|
|
|
<select class="flex1" name="competence-talents" id="competence-talents" data-type="String" multiple>
|
2022-11-05 10:03:23 +01:00
|
|
|
{{#each talents as |talent key|}}
|
|
|
|
<option value="{{talent._id}}">{{talent.name}}</option>
|
2022-10-28 21:44:49 +02:00
|
|
|
{{/each}}
|
2022-10-22 11:09:48 +02:00
|
|
|
</select>
|
|
|
|
</div>
|
2022-10-28 21:44:49 +02:00
|
|
|
{{/if}}
|
2022-10-22 11:09:48 +02:00
|
|
|
|
|
|
|
{{#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}}
|
|
|
|
<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">
|
|
|
|
{{#select difficulte}}
|
|
|
|
<option value="0">Aucune/Inconnue</option>
|
|
|
|
<option value="5">Facile (5)</option>
|
|
|
|
<option value="10">Moyenne (10)</option>
|
|
|
|
<option value="15">Ardue (15)</option>
|
|
|
|
<option value="20">Hasardeuse (20)</option>
|
|
|
|
<option value="25">Insensée (25)</option>
|
|
|
|
<option value="30">Pure Folie (30)</option>
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|