This commit is contained in:
@@ -72,23 +72,30 @@
|
||||
<span>Valeurs</span>
|
||||
<p>ARM {{armorDisplay}} · COU {{courageDisplay}}</p>
|
||||
</div>
|
||||
<label>
|
||||
<span>ATT</span>
|
||||
<input type="text" name="system.attaque.nom" value="{{system.attaque.nom}}">
|
||||
</label>
|
||||
<label>
|
||||
<span>Degats</span>
|
||||
<div class="counter-field">
|
||||
<input type="text" name="system.attaque.degats" value="{{system.attaque.degats}}">
|
||||
{{#if hasAttackDamage}}
|
||||
<button type="button" data-action="rollPnjAttackDamage" aria-label="Lancer les degats de l'attaque" title="Lancer les degats"><i class="fa-solid fa-burst"></i></button>
|
||||
{{/if}}
|
||||
<section class="pnj-attack-list span-two">
|
||||
<header class="section-header">
|
||||
<h3>Attaques</h3>
|
||||
<button type="button" class="text-button" data-action="createPnjAttack">+ Ajouter</button>
|
||||
</header>
|
||||
<div class="pnj-attack-rows">
|
||||
{{#each pnjAttacks}}
|
||||
<article class="pnj-attack-row" data-attack-index="{{this.index}}">
|
||||
<label>
|
||||
<input type="text" name="system.attaques.{{this.index}}.nom" value="{{this.nom}}" aria-label="Nom de l'attaque" title="Nom de l'attaque">
|
||||
</label>
|
||||
<label>
|
||||
<input type="text" name="system.attaques.{{this.index}}.degats" value="{{this.degats}}" aria-label="Dégâts" title="Dégâts">
|
||||
</label>
|
||||
<div class="item-actions">
|
||||
{{#if this.degats}}
|
||||
<button type="button" data-action="rollPnjAttackDamage" aria-label="Lancer les degats de {{this.nom}}" title="Lancer les degats"><i class="fa-solid fa-burst"></i></button>
|
||||
{{/if}}
|
||||
<button type="button" data-action="deletePnjAttack" aria-label="Supprimer {{this.nom}}" title="Supprimer"><i class="fa-solid fa-trash"></i></button>
|
||||
</div>
|
||||
</article>
|
||||
{{/each}}
|
||||
</div>
|
||||
</label>
|
||||
<label class="span-two">
|
||||
<span>Notes d'attaque</span>
|
||||
<input type="text" name="system.attaque.notes" value="{{system.attaque.notes}}">
|
||||
</label>
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user