2022-05-27 09:45:09 +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}}
|
2022-06-03 08:15:39 +02:00
|
|
|
<h1 class="dialog-roll-title roll-dialog-header">{{title}}</h1>
|
2022-05-27 09:45:09 +02:00
|
|
|
</header>
|
|
|
|
|
2022-06-03 08:15:39 +02:00
|
|
|
<div class="flexcol">
|
2022-05-27 09:45:09 +02:00
|
|
|
|
2022-06-03 08:15:39 +02:00
|
|
|
<div class="flexrow">
|
2022-06-05 18:49:38 +02:00
|
|
|
{{#if (eq attrKey "tochoose")}}
|
2024-09-10 07:20:55 +02:00
|
|
|
<span class="roll-dialog-label">{{localize "MNBL.attribute"}}</span>
|
2023-12-22 09:30:26 +01:00
|
|
|
<select class="status-small-label color-class-common" id="attrKey" type="text" name="attrKey" value="attrKey"
|
|
|
|
data-dtype="string">
|
2024-04-26 11:45:58 +02:00
|
|
|
{{selectOptions config.attributs selected=attrKey}}
|
2023-12-22 09:30:26 +01:00
|
|
|
</select>
|
2022-06-05 18:49:38 +02:00
|
|
|
{{else}}
|
2023-12-22 09:30:26 +01:00
|
|
|
<span class="roll-dialog-label">{{attr.label}}</span>
|
|
|
|
<span class="small-label">{{attr.value}}</span>
|
2022-06-05 18:49:38 +02:00
|
|
|
{{/if}}
|
2022-06-03 08:15:39 +02:00
|
|
|
</div>
|
2022-05-27 09:45:09 +02:00
|
|
|
|
2022-06-03 08:15:39 +02:00
|
|
|
{{#if competence}}
|
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">{{competence.name}}</span>
|
2022-09-20 08:57:40 +02:00
|
|
|
<span class="small-label">{{competence.system.niveau}}</span>
|
2022-06-03 08:15:39 +02:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
2022-05-27 09:45:09 +02:00
|
|
|
|
2022-06-26 18:52:31 +02:00
|
|
|
{{#if rune}}
|
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">{{rune.name}}</span>
|
2022-09-20 08:57:40 +02:00
|
|
|
<span class="small-label">{{rune.system.formule}}</span>
|
2022-06-26 18:52:31 +02:00
|
|
|
</div>
|
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">Lancement</span>
|
|
|
|
<select class="roll-dialog-label" id="runemode" type="text" name="runemode" value="{{runemode}}"
|
|
|
|
data-dtype="String">
|
2024-04-26 11:45:58 +02:00
|
|
|
{{selectOptions config.lancementRuneOptions selected=runemode}}
|
2022-06-26 18:52:31 +02:00
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="flexrow">
|
2024-09-10 07:20:55 +02:00
|
|
|
<span class="roll-dialog-label">{{localize "MNBL.soulpoints"}}</span>
|
2023-12-22 09:30:26 +01:00
|
|
|
<select class="roll-dialog-label" id="runeame" type="text" name="runeame" value="{{runeame}}" data-dtype="Number">
|
2024-04-26 11:45:58 +02:00
|
|
|
{{selectOptions config.pointsAmeOptions selected=runeame}}
|
2022-06-26 18:52:31 +02:00
|
|
|
</select>
|
|
|
|
</div>
|
2023-12-22 09:30:26 +01:00
|
|
|
{{/if}}
|
2022-06-26 18:52:31 +02:00
|
|
|
|
2023-12-22 09:30:26 +01:00
|
|
|
{{#if arme}}
|
|
|
|
<div class="flexrow">
|
2024-09-10 07:20:55 +02:00
|
|
|
<span class="roll-dialog-label">{{localize "MNBL.weapon"}} : </span>
|
2023-12-22 09:30:26 +01:00
|
|
|
<span class="roll-dialog-label">{{arme.name}} (+{{arme.system.bonusmaniementoff}})</span>
|
|
|
|
</div>
|
|
|
|
{{#if arme.system.isMelee}}
|
|
|
|
<div class="flexrow">
|
2024-09-10 07:20:55 +02:00
|
|
|
<span class="roll-dialog-label">{{localize "MNBL.attack"}} : </span>
|
2023-12-22 09:30:26 +01:00
|
|
|
<select class="roll-dialog-label" id="typeAttaque" type="text" name="typeAttaque" value="{{typeAttaque}}"
|
|
|
|
data-dtype="String">
|
2024-04-26 11:45:58 +02:00
|
|
|
{{selectOptions config.attaques selected=typeAttaque }}
|
2023-12-22 09:30:26 +01:00
|
|
|
</select>
|
|
|
|
</div>
|
2024-04-05 22:33:36 +02:00
|
|
|
{{#if isMonte}}
|
|
|
|
<div class="flexrow">
|
2024-09-10 07:20:55 +02:00
|
|
|
<span class="roll-dialog-label">{{localize "MNBL.attackmountbonus"}} ? : </span>
|
2024-04-05 22:33:36 +02:00
|
|
|
<input class="" type="checkbox" id="isMonte" name="isMonte" {{checked isMonte}} />
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2023-12-22 09:30:26 +01:00
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
2024-04-05 22:33:36 +02:00
|
|
|
{{#if difficulte}}
|
|
|
|
<div class="flexrow">
|
2024-09-10 07:20:55 +02:00
|
|
|
<span class="roll-dialog-label">{{localize "MNBL.targetdefense"}} : </span>
|
2024-04-05 22:33:36 +02:00
|
|
|
<span class="roll-dialog-label"><strong>{{difficulte}}</strong> </span>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
2023-12-22 09:30:26 +01:00
|
|
|
{{#if arme}}
|
|
|
|
{{#if arme.system.isDistance}}
|
2024-04-05 22:33:36 +02:00
|
|
|
<div class="flexrow">
|
2024-09-10 07:20:55 +02:00
|
|
|
<span class="roll-dialog-label"><strong>{{localize "MNBL.shootmodifier"}}</strong></span>
|
2024-04-05 22:33:36 +02:00
|
|
|
</div>
|
2023-12-22 09:30:26 +01:00
|
|
|
<div class="flexrow">
|
2024-09-10 07:20:55 +02:00
|
|
|
<span class="roll-dialog-label">{{localize "MNBL.aimingbonus"}} ? : </span>
|
2023-12-22 09:30:26 +01:00
|
|
|
<input class="" type="checkbox" id="visee" name="visee" {{checked visee}} />
|
|
|
|
</div>
|
|
|
|
{{#if defender}}
|
|
|
|
<div class="flexrow">
|
2024-09-10 07:20:55 +02:00
|
|
|
<span class="roll-dialog-label">{{localize "MNBL.targetseeshoot"}} (-{{defender.system.attributs.adr.value}})? : </span>
|
2023-12-22 09:30:26 +01:00
|
|
|
<input class="" type="checkbox" id="cibleconsciente" name="cibleconsciente" {{checked cibleconsciente}} />
|
|
|
|
</div>
|
|
|
|
{{else}}
|
|
|
|
<div class="flexrow">
|
2024-09-10 07:20:55 +02:00
|
|
|
<span class="roll-dialog-label">{{localize "MNBL.notarget"}} ! </span>
|
2023-12-22 09:30:26 +01:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
<div class="flexrow">
|
2024-09-10 07:20:55 +02:00
|
|
|
<span class="roll-dialog-label">{{localize "MNBL.runningtarget"}} ? : </span>
|
2023-12-22 09:30:26 +01:00
|
|
|
<input class="" type="checkbox" id="ciblecourt" name="ciblecourt" {{checked ciblecourt}} />
|
|
|
|
</div>
|
|
|
|
<div class="flexrow">
|
2024-09-10 07:20:55 +02:00
|
|
|
<span class="roll-dialog-label">{{localize "MNBL.hascover"}} ? : </span>
|
2023-12-22 09:30:26 +01:00
|
|
|
<select class="roll-dialog-label" id="typeCouvert" type="text" name="typeCouvert" value="{{typeCouvert}}"
|
|
|
|
data-dtype="String">
|
2024-04-26 11:45:58 +02:00
|
|
|
{{selectOptions config.couverts labelAttr="name" selected=typeCouvert}}
|
2023-12-22 09:30:26 +01:00
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="flexrow">
|
2024-09-10 07:20:55 +02:00
|
|
|
<span class="roll-dialog-label">{{localize "MNBL.range"}} </span>
|
2023-12-22 09:30:26 +01:00
|
|
|
<select class="roll-dialog-label" id="difficulte" type="text" name="difficulte" value="{{difficulte}}"
|
|
|
|
data-dtype="Number">
|
2024-04-26 11:45:58 +02:00
|
|
|
{{selectOptions config.listePortees selected=difficulte}}
|
2023-12-22 09:30:26 +01:00
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2022-06-26 18:52:31 +02:00
|
|
|
{{/if}}
|
|
|
|
|
2024-04-05 22:33:36 +02:00
|
|
|
{{#if hasDesavantageBonus}}
|
|
|
|
<div class="flexrow">
|
2024-09-10 07:20:55 +02:00
|
|
|
<span class="roll-dialog-label"><strong>{{localize "MNBL.disadvantagepositions"}}</strong></span>
|
2024-04-05 22:33:36 +02:00
|
|
|
</div>
|
|
|
|
<div class="flexrow">
|
2024-09-10 07:20:55 +02:00
|
|
|
<span class="roll-dialog-label">{{localize "MNBL.targetground"}} ? : </span>
|
2024-04-05 22:33:36 +02:00
|
|
|
<input class="" type="checkbox" id="cibleausol" name="cibleausol" {{checked cibleausol}} />
|
|
|
|
</div>
|
|
|
|
<div class="flexrow">
|
2024-09-10 07:20:55 +02:00
|
|
|
<span class="roll-dialog-label">{{localize "MNBL.unarmedtarget"}} ? : </span>
|
2024-04-05 22:33:36 +02:00
|
|
|
<input class="" type="checkbox" id="cibledesarmee" name="cibledesarmee" {{checked cibledesarmee}} />
|
|
|
|
</div>
|
|
|
|
<div class="flexrow">
|
2024-09-10 07:20:55 +02:00
|
|
|
<span class="roll-dialog-label">{{localize "MNBL.smallroomtarget"}} ? : </span>
|
2024-04-05 22:33:36 +02:00
|
|
|
<input class="" type="checkbox" id="ciblerestreint" name="ciblerestreint" {{checked ciblerestreint}} />
|
|
|
|
</div>
|
|
|
|
<div class="flexrow">
|
2024-09-10 07:20:55 +02:00
|
|
|
<span class="roll-dialog-label">{{localize "MNBL.targetcantmove"}} ? : </span>
|
2024-04-05 22:33:36 +02:00
|
|
|
<input class="" type="checkbox" id="cibleimmobilisée" name="cibleimmobilisée" {{checked cibleimmobilisée}} />
|
|
|
|
</div>
|
|
|
|
<div class="flexrow">
|
2024-09-10 07:20:55 +02:00
|
|
|
<span class="roll-dialog-label">{{localize "MNBL.targetbelow"}} ? : </span>
|
2024-04-05 22:33:36 +02:00
|
|
|
<input class="" type="checkbox" id="ciblesurplomb" name="ciblesurplomb" {{checked ciblesurplomb}} />
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
2023-12-24 12:38:02 +01:00
|
|
|
<div class="flexrow">
|
2024-09-10 07:20:55 +02:00
|
|
|
<span class="roll-dialog-label">{{localize "MNBL.healthmalus"}} : </span>
|
2023-12-24 12:38:02 +01:00
|
|
|
<span class="roll-dialog-label">{{malusSante}}</span>
|
|
|
|
</div>
|
|
|
|
|
2023-12-29 18:36:37 +01:00
|
|
|
<div class="flexrow">
|
2024-09-10 07:20:55 +02:00
|
|
|
<span class="roll-dialog-label">{{localize "MNBL.soulmalus"}} : </span>
|
2023-12-29 18:36:37 +01:00
|
|
|
<span class="roll-dialog-label">{{malusAme}}</span>
|
|
|
|
</div>
|
|
|
|
|
2023-12-24 12:38:02 +01:00
|
|
|
{{#if (count modifiers)}}
|
|
|
|
<div class="flexrow">
|
2024-09-10 07:20:55 +02:00
|
|
|
<span class="roll-dialog-label">{{localize "MNBL.registeredmodifiers"}} : </span>
|
2023-12-24 12:38:02 +01:00
|
|
|
</div>
|
|
|
|
{{#each modifiers as |modifier idx|}}
|
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">{{modifier.name}} : </span>
|
|
|
|
<span class="roll-dialog-label">{{modifier.system.value}}</span>
|
|
|
|
<input class="apply-modifier" data-modifier-idx="{{idx}}" id="apply-modifier" type="checkbox" name="apply-modifier" value="{{modifier.system.apply}}" {{checked modifier.system.apply}} />
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
|
|
|
{{/if}}
|
|
|
|
|
2022-06-03 08:15:39 +02:00
|
|
|
<div class="flexrow">
|
2024-09-10 07:20:55 +02:00
|
|
|
<span class="roll-dialog-label">{{localize "MNBL.modifier"}} : </span>
|
2022-06-03 08:15:39 +02:00
|
|
|
<select class="roll-dialog-label" id="modificateur" type="text" name="modificateur" value="{{modificateur}}"
|
|
|
|
data-dtype="Number">
|
2024-09-10 07:20:55 +02:00
|
|
|
{{selectOptions config.modificateurOptions valueAttr="key" nameAttr="key" labelAttr="label" selected=modificateur }}
|
2022-06-03 08:15:39 +02:00
|
|
|
</select>
|
2022-05-27 09:45:09 +02:00
|
|
|
</div>
|
|
|
|
|
2023-12-22 09:30:26 +01:00
|
|
|
{{#if selectDifficulte}}
|
2022-10-01 08:47:01 +02:00
|
|
|
<div class="flexrow">
|
2024-09-10 07:20:55 +02:00
|
|
|
<span class="roll-dialog-label">{{localize "MNBL.difficulty"}} : </span>
|
2022-10-01 08:47:01 +02:00
|
|
|
<select class="roll-dialog-label" id="difficulte" type="text" name="difficulte" value="{{difficulte}}"
|
|
|
|
data-dtype="Number">
|
2024-04-26 11:45:58 +02:00
|
|
|
{{selectOptions config.difficulteOptions selected=difficulte}}
|
2022-10-01 08:47:01 +02:00
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2022-05-27 09:45:09 +02:00
|
|
|
|
2022-06-05 15:54:17 +02:00
|
|
|
{{#if canEclatDoubleD20}}
|
|
|
|
<div class="flexrow">
|
2024-09-10 07:20:55 +02:00
|
|
|
<span class="roll-dialog-label">{{localize "MNBL.doubleD20"}}</span>
|
2023-12-22 09:30:26 +01:00
|
|
|
<input class="" id="doubleD20" type="checkbox" name="doubleD20" value="{{doubleD20}}" {{checked doubleD20}} />
|
2022-06-05 15:54:17 +02:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
2022-06-03 08:15:39 +02:00
|
|
|
|
2022-05-27 09:45:09 +02:00
|
|
|
</div>
|
2022-06-03 08:15:39 +02:00
|
|
|
|
|
|
|
</form>
|