Esprit de la Loi + Automaton
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
{{!-- Section Enchantement de la Loi - affichée sur les items enchantables --}}
|
||||
<div class="enchantement-section">
|
||||
<h4 class="section-title-small">
|
||||
<i class="fas fa-star" style="color:gold;"></i>
|
||||
{{localize "MNBL.enchantementLoi"}}
|
||||
{{#if system.enchantementLoi.actif}}<span class="enchant-badge">{{localize "MNBL.enchantementActif"}}</span>{{/if}}
|
||||
</h4>
|
||||
|
||||
{{#if isGM}}
|
||||
{{!-- MJ : champs éditables --}}
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">{{localize "MNBL.enchantementActif"}} : </label>
|
||||
<input type="checkbox" name="system.enchantementLoi.actif" {{#if system.enchantementLoi.actif}}checked{{/if}} />
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">{{localize "MNBL.enchantementBonus"}} : </label>
|
||||
<input type="number" class="numeric-input item-field-label-short" name="system.enchantementLoi.bonus" value="{{system.enchantementLoi.bonus}}" min="0" max="20" />
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">{{localize "MNBL.enchantementAntiChaos"}} : </label>
|
||||
<input type="checkbox" name="system.enchantementLoi.antiChaos" {{#if system.enchantementLoi.antiChaos}}checked{{/if}} />
|
||||
</li>
|
||||
</ul>
|
||||
{{else}}
|
||||
{{!-- Joueur : lecture seule --}}
|
||||
{{#if system.enchantementLoi.actif}}
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">{{localize "MNBL.enchantementBonus"}} : </label>
|
||||
<span class="item-field-label-short"><strong>+{{system.enchantementLoi.bonus}}</strong></span>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">{{localize "MNBL.enchantementAntiChaos"}} : </label>
|
||||
<span class="item-field-label-short">{{#if system.enchantementLoi.antiChaos}}<i class="fas fa-check"></i>{{else}}<i class="fas fa-times"></i>{{/if}}</span>
|
||||
</li>
|
||||
</ul>
|
||||
{{else}}
|
||||
<p class="enchant-none"><em>Non enchanté</em></p>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</div>
|
||||
Reference in New Issue
Block a user