2022-06-12 08:17:59 +02:00
|
|
|
{{#if visible}}
|
|
|
|
<li class="item flexrow list-item {{#if system.isLevelUp}}xp-level-up tooltip{{/if}}" data-item-id="{{_id}}">
|
2021-05-11 23:41:58 +02:00
|
|
|
<a class="competence-label" name="{{name}}">
|
|
|
|
<img class="sheet-competence-img" src="{{img}}"/>
|
|
|
|
<span class="competence-label">{{name}}</span>
|
|
|
|
</a>
|
2022-03-09 22:27:05 +01:00
|
|
|
|
2022-06-12 08:17:59 +02:00
|
|
|
{{#if system.isLevelUp}}
|
2022-05-01 00:46:24 +02:00
|
|
|
<span class="tooltiptext ttt-xp">Vous pouvez dépenser {{system.xpNext}} points d'Experience pour augmenter de 1 votre compétence {{name}}</span>
|
2021-05-28 00:55:22 +02:00
|
|
|
<a class="item-control competence-xp-augmenter" compname="{{name}}" title="Augmenter">
|
|
|
|
<i class="fas fa-arrow-alt-circle-up"></i>
|
|
|
|
</a>
|
|
|
|
{{/if}}
|
2022-03-09 22:27:05 +01:00
|
|
|
|
2021-06-01 20:02:26 +02:00
|
|
|
<input class="competence-value" type="text" compname="{{name}}" name="comp-value-{{name}}"
|
2022-05-03 09:01:10 +02:00
|
|
|
value="{{numberFormat system.niveau decimals=0 sign=true}}" data-dtype="number"
|
2021-06-01 20:02:26 +02:00
|
|
|
{{#unless @root.options.editCaracComp}}disabled{{/unless}} />
|
2022-03-09 22:27:05 +01:00
|
|
|
|
|
|
|
<span class="competence-xp tooltip">
|
2022-03-10 23:48:49 +01:00
|
|
|
<input class="competence-xp " type="text" compname="{{name}}" name="comp-xp-{{name}}"
|
2022-05-01 00:46:24 +02:00
|
|
|
value="{{numberFormat system.xp decimals=0 sign=false}}" data-dtype="number"
|
2021-06-01 20:02:26 +02:00
|
|
|
{{#unless @root.options.editCaracComp}}disabled{{/unless}} />
|
2022-05-01 00:46:24 +02:00
|
|
|
<span class="tooltiptext left-competence ttt-xp">Vous devez acquérir {{system.xpNext}} points d'Experience pour augmenter de 1 votre compétence {{name}}</span>
|
2022-03-09 22:27:05 +01:00
|
|
|
</span>
|
|
|
|
|
2022-05-01 00:46:24 +02:00
|
|
|
{{#if (eq system.categorie 'draconic')}}
|
2021-06-01 20:02:26 +02:00
|
|
|
<input class="competence-xp-sort" type="text" compname="{{name}}" name="comp-xp-sort-{{name}}"
|
2022-05-01 00:46:24 +02:00
|
|
|
value="{{numberFormat system.xp_sort decimals=0 sign=false}}" data-dtype="number"
|
2021-06-01 20:02:26 +02:00
|
|
|
{{#unless @root.options.editCaracComp}}disabled{{/unless}}/>
|
2021-05-11 23:41:58 +02:00
|
|
|
{{/if}}
|
2021-11-23 02:11:24 +01:00
|
|
|
{{#if @root.options.vueDetaillee}}
|
2021-05-28 00:55:22 +02:00
|
|
|
<div class="item-controls">
|
2022-05-01 00:46:24 +02:00
|
|
|
{{#if system.stressXpMax}}
|
2021-11-23 02:11:24 +01:00
|
|
|
<a class="item-control competence-stress-augmenter" compname="{{name}}"
|
2022-06-12 08:17:59 +02:00
|
|
|
title="Dépenser {{system.stressXpMax}} points de stress {{#if system.isStressLevelUp}} pour augmenter d'un niveau {{/if}}">
|
|
|
|
<i class="fas fa-arrow-alt-circle-up allouer-stress{{#if system.isStressLevelUp}}-level-up{{/if}}"></i>
|
2021-11-23 02:11:24 +01:00
|
|
|
</a>
|
2021-11-26 01:01:57 +01:00
|
|
|
{{else}}
|
|
|
|
<i class="far fa-circle"></i>
|
2021-11-23 02:11:24 +01:00
|
|
|
{{/if}}
|
|
|
|
<input class="competence-archetype niveau-archetype" type="text" compname="{{name}}" name="comp-archetype-{{name}}"
|
2022-05-01 00:46:24 +02:00
|
|
|
value="{{numberFormat system.niveau_archetype decimals=0 sign=true}}" data-dtype="number"
|
2021-11-23 02:11:24 +01:00
|
|
|
{{#unless @root.options.editCaracComp}}disabled{{/unless}} />
|
2021-05-28 00:55:22 +02:00
|
|
|
<a class="item-control item-edit" title="Modifier"><i class="fas fa-edit"></i></a>
|
2021-11-23 02:11:24 +01:00
|
|
|
{{#if @root.options.isGM}}
|
2021-05-28 00:55:22 +02:00
|
|
|
<a class="item-control item-delete" title="Supprimer"><i class="fas fa-trash"></i></a>
|
2021-11-23 02:11:24 +01:00
|
|
|
{{/if}}
|
2021-05-13 00:38:06 +02:00
|
|
|
</div>
|
2021-11-23 02:11:24 +01:00
|
|
|
{{/if}}
|
2021-05-11 23:41:58 +02:00
|
|
|
</li>
|
2021-03-17 01:21:37 +01:00
|
|
|
{{/if}}
|