2022-10-05 19:29:16 +02:00
|
|
|
<ul class="carac-list alterne-list">
|
|
|
|
{{#each system.carac as |carac key|}}
|
2022-12-15 00:04:47 +01:00
|
|
|
<li class="caracteristique flexrow list-item{{#if carac.isLevelUp}} xp-level-up{{/if}}" data-attribute="{{key}}">
|
2022-10-05 19:29:16 +02:00
|
|
|
{{#if (eq key 'taille')}}
|
|
|
|
<span class="carac-label" name="system.carac.{{key}}.label">{{carac.label}}</span>
|
|
|
|
<input class="carac-value" type="text" name="system.carac.{{key}}.value" value="{{carac.value}}" data-dtype="{{carac.type}}" {{#unless @root.options.vueDetaillee}}disabled{{/unless}} />
|
|
|
|
<label class="carac-xp"/>
|
|
|
|
{{else}}
|
2022-12-15 00:04:47 +01:00
|
|
|
{{#if carac.derivee}}
|
2024-10-11 00:15:15 +02:00
|
|
|
<span class="carac-label" name="system.carac.{{key}}.label"><a class="roll-carac" data-carac-name={{key}}>{{carac.label}}</a></span>
|
2022-10-05 19:29:16 +02:00
|
|
|
<label class="competence-value">{{carac.value}}</label>
|
|
|
|
<label class="carac-xp"/>
|
2022-12-15 00:04:47 +01:00
|
|
|
{{else}}
|
|
|
|
{{#if carac.isLevelUp}}
|
|
|
|
<span class="carac-label tooltip" name="system.carac.{{key}}.label">
|
|
|
|
<span class="tooltiptext ttt-levelup">
|
|
|
|
Vous pouvez dépenser {{carac.xpNext}} points d'Experience pour augmenter de 1 votre caractéristique {{carac.label}}
|
2022-10-05 19:29:16 +02:00
|
|
|
</span>
|
2022-12-15 00:04:47 +01:00
|
|
|
<a name={{key}}>{{carac.label}}</a>
|
2023-12-04 01:21:05 +01:00
|
|
|
<a class="carac-xp-augmenter" name="augmenter.{{key}}" data-tooltip="Augmenter la caractéristique avec l'expérience">
|
2022-12-15 00:04:47 +01:00
|
|
|
<i class="fas fa-arrow-alt-circle-up"></i>
|
|
|
|
</a>
|
2022-10-05 19:29:16 +02:00
|
|
|
</span>
|
2022-12-15 00:04:47 +01:00
|
|
|
{{else}}
|
2024-10-11 00:15:15 +02:00
|
|
|
<span class="carac-label tooltip" name="system.carac.{{key}}.label"><a class="roll-carac" data-carac-name={{key}}>{{carac.label}}</a></span>
|
2022-10-05 19:29:16 +02:00
|
|
|
{{/if}}
|
2022-12-15 00:04:47 +01:00
|
|
|
<input class="carac-value" type="text" name="system.carac.{{key}}.value" value="{{carac.value}}" data-dtype="{{carac.type}}" {{#unless @root.options.vueDetaillee}}disabled{{/unless}} />
|
|
|
|
<span class="carac-xp tooltip">
|
|
|
|
<input class="carac-xp" type="text" name="system.carac.{{key}}.xp" value="{{carac.xp}}" data-dtype="number" {{#unless @root.options.vueDetaillee}}disabled{{/unless}} />
|
|
|
|
<span class="tooltiptext ttt-xp">Vous devez acquérir {{carac.xpNext}} points d'Experience pour augmenter de 1 votre {{carac.label}}</span>
|
|
|
|
</span>
|
|
|
|
{{/if}}
|
2022-10-05 19:29:16 +02:00
|
|
|
{{/if}}
|
2022-12-15 00:04:47 +01:00
|
|
|
</li>
|
2022-10-05 19:29:16 +02:00
|
|
|
{{/each}}
|
|
|
|
</ul>
|