2022-12-26 00:33:13 +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">
|
|
|
|
|
2023-03-11 12:11:27 +01:00
|
|
|
{{#if (eq mode "rang")}}
|
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">{{rang.label}}</span>
|
|
|
|
<span class="roll-dialog-label">{{rang.value}}</span>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
2023-01-20 15:19:04 +01:00
|
|
|
{{#if (eq mode "carac")}}
|
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">Caracteristique</span>
|
|
|
|
<span class="roll-dialog-label">{{carac.label}} ({{carac.value}})</span>
|
|
|
|
</div>
|
|
|
|
{{else}}
|
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">Caracteristique</span>
|
|
|
|
<select class="status-small-label color-class-common" id="caracKey" type="text" name="caracKey" value="caracKey" data-dtype="string" >
|
|
|
|
{{#select caracKey}}
|
|
|
|
{{#each caracList as |carac key|}}
|
|
|
|
<option value="{{key}}">{{carac.label}}</option>
|
|
|
|
{{/each}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2022-12-26 00:33:13 +01:00
|
|
|
|
|
|
|
{{#if competence}}
|
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">{{competence.name}}</span>
|
|
|
|
<span class="small-label roll-dialog-label">{{competence.system.niveau}}</span>
|
|
|
|
</div>
|
2023-03-08 16:58:11 +01:00
|
|
|
{{#if competence.nbSpec}}
|
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">Spécialités : {{competence.specList}}</span>
|
|
|
|
</div>
|
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">Bonus de spécialité ?</span>
|
|
|
|
<input type="checkbox" class="item-field-label-short" id="useSpecialite" {{checked useSpecialite}}/>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2022-12-26 00:33:13 +01:00
|
|
|
{{/if}}
|
2023-01-20 15:19:04 +01:00
|
|
|
|
2023-03-09 13:16:19 +01:00
|
|
|
{{#if pouvoir}}
|
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">Pouvoir : </span>
|
|
|
|
<span class="small-label roll-dialog-label">{{pouvoir.name}}</span>
|
|
|
|
</div>
|
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">Activation : </span>
|
|
|
|
<span class="small-label roll-dialog-label">{{pouvoir.system.activation}}</span>
|
|
|
|
</div>
|
|
|
|
{{#if pouvoirBase}}
|
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">{{pouvoirBase.label}} : </span>
|
|
|
|
<span class="small-label roll-dialog-label">{{pouvoirBase.value}}</span>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
|
2023-04-09 21:45:46 +02:00
|
|
|
{{#each rulesMalus as |malus key|}}
|
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">{{malus.name}}</span>
|
|
|
|
<span class="small-label roll-dialog-label">{{malus.value}}</span>
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
|
|
|
|
2023-04-10 14:11:47 +02:00
|
|
|
{{#if (and arme arme.system.isMelee)}}
|
2023-01-20 15:19:04 +01:00
|
|
|
<div class="flexrow">
|
2023-04-10 14:11:47 +02:00
|
|
|
<span class="roll-dialog-label">Attaque à plusieurs </span>
|
|
|
|
<select class="roll-dialog-label" id="bonus-attaque-plusieurs" type="text" value="{{bonusAttaquePlusieurs}}"
|
|
|
|
data-dtype="Number">
|
|
|
|
{{#select bonusAttaquePlusieurs}}
|
|
|
|
<option value="0">0</option>
|
|
|
|
<option value="1">+1</option>
|
|
|
|
<option value="2">+2</option>
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">Attaque dans le dos ?</span>
|
|
|
|
<input type="checkbox" class="item-field-label-short" id="attaqueDos" {{checked attaqueDos}}/>
|
2023-01-20 15:19:04 +01:00
|
|
|
</div>
|
2023-04-10 14:11:47 +02:00
|
|
|
{{/if}}
|
2023-01-20 15:19:04 +01:00
|
|
|
|
2022-12-26 00:33:13 +01:00
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">Bonus/Malus </span>
|
|
|
|
<select class="roll-dialog-label" id="bonus-malus-context" type="text" value="{{bonusMalusContext}}"
|
|
|
|
data-dtype="Number">
|
|
|
|
{{#select bonusMalusContext}}
|
2023-01-18 16:16:18 +01:00
|
|
|
<option value="-6">-6</option>
|
|
|
|
<option value="-5">-5</option>
|
2022-12-26 00:33:13 +01:00
|
|
|
<option value="-4">-4</option>
|
|
|
|
<option value="-3">-3</option>
|
|
|
|
<option value="-2">-2</option>
|
|
|
|
<option value="-1">-1</option>
|
|
|
|
<option value="0">0</option>
|
|
|
|
<option value="1">+1</option>
|
|
|
|
<option value="2">+2</option>
|
|
|
|
<option value="3">+3</option>
|
|
|
|
<option value="4">+4</option>
|
2023-01-18 16:16:18 +01:00
|
|
|
<option value="5">+5</option>
|
|
|
|
<option value="6">+6</option>
|
2022-12-26 00:33:13 +01:00
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
|
2023-04-09 21:45:46 +02:00
|
|
|
{{#if cacheDifficulte}}
|
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">Difficulté Cachée/Inconnue</span>
|
|
|
|
</div>
|
|
|
|
{{else}}
|
2022-12-26 00:33:13 +01:00
|
|
|
<div class="flexrow">
|
2023-01-18 16:16:18 +01:00
|
|
|
<span class="roll-dialog-label">Difficulté</span>
|
|
|
|
<select class="status-small-label color-class-common" id ="sdValue" type="text" name="sdValue" value="sdValue" data-dtype="string" >
|
|
|
|
{{#select sdValue}}
|
|
|
|
{{#each sdList as |label value|}}
|
|
|
|
<option value="{{value}}">{{label}} ({{value}})</option>
|
|
|
|
{{/each}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
2022-12-26 00:33:13 +01:00
|
|
|
</div>
|
2023-04-09 21:45:46 +02:00
|
|
|
{{/if}}
|
2022-12-26 00:33:13 +01:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|