26 lines
1.3 KiB
Handlebars
26 lines
1.3 KiB
Handlebars
{{#if armures}}
|
|
{{#each armures as |armure|}}
|
|
<li class="caracteristique item flexrow list-item" data-item-id="{{armure.id}}">
|
|
<span class="flex-grow">
|
|
<img class="sheet-competence-img subacteur-open" src="{{armure.img}}" data-tooltip="{{armure.name}}"/>
|
|
<a class="item-equip" data-tooltip="Equiper">{{#if armure.system.equipe}}<i class="fas fa-hand-rock"></i>{{else}}<i class="far fa-hand-paper"></i>{{/if}}</a>
|
|
<a>{{armure.name}}</a>
|
|
{{#if armure.system.malus}}
|
|
<span class="derivee-value">({{armure.system.malus}})</span>
|
|
{{/if}}
|
|
</span>
|
|
<input class="derivee-value" type="text" disabled value="{{armure.system.protection}}"/>
|
|
</li>
|
|
{{/each}}
|
|
{{/if}}
|
|
{{#if (or options.isGM (gt system.attributs.protection.value 0))}}
|
|
<li class="caracteristique flexrow list-item">
|
|
<label for="system.attributs.protection.value" >Protection naturelle</label>
|
|
<input class="derivee-value" type="number" {{#unless options.isGM}}disabled{{/unless}} name="system.attributs.protection.value" value="{{system.attributs.protection.value}}" data-dtype="number"/>
|
|
</li>
|
|
{{/if}}
|
|
<li class="caracteristique flexrow list-item" >
|
|
<label class="derivee-label">Malus armure</label>
|
|
<input class="derivee-value" type="number" disabled value="{{calc.malusArmure}}" data-dtype="number"/>
|
|
</li>
|