Correction sur XP, echec critique et tir réussi
All checks were successful
Release Creation / build (release) Successful in 53s

This commit is contained in:
2025-03-18 20:38:30 +01:00
parent fee7a3a9fb
commit aaabb7ed75
51 changed files with 160 additions and 151 deletions

View File

@ -199,7 +199,14 @@
<img class="sheet-competence-img" src="/systems/fvtt-te-deum/images/icons/{{key}}.webp" />
<h3 class="item-field-label-long14" data-tooltip="Caracteristique">{{carac.name}} : {{carac.qualite}}</h3>
<label class="item-field item-field-label-short">{{carac.value}}</label>
<label class="item-field item-field-label-medium">{{carac.dice}} (xp : {{carac.experience}})</label>
<label class="item-field ">{{carac.dice}} (xp :
{{#if @root.isGM}}
<input class="input-numeric-short" type="text" name="system.caracteristiques.{{key}}.xp" value="{{carac.experience}}" data-dtype="Number" />
{{else}}
{{carac.experience}})
{{/if}}
)
</label>
</li>
<ul class="ul-level1 flexrow item-list">
{{#each carac.competences as |comp skillkey|}}

View File

@ -66,7 +66,7 @@
{{else}}
<li><strong class="chat-result-failure">Echec !</strong> </li>
{{#if isEchecCritique}}
<li><strong class="chat-result-failure">Echec critique ! 1 XP gagné en {{carac.name}}.</strong> </li>
<li><strong class="chat-result-failure">Echec critique ! 1 XP gagné en {{carac.name}}.</strong> </li>
{{/if}}
{{/if}}