2021-03-17 01:21:37 +01:00
|
|
|
{{#if visible}}
|
2021-05-11 23:41:58 +02:00
|
|
|
<li class="item flexrow list-item {{#if data.isLevelUp}}xp-level-up tooltip{{/if}}" data-item-id="{{_id}}">
|
|
|
|
<a class="competence-label" name="{{name}}">
|
|
|
|
<img class="sheet-competence-img" src="{{img}}"/>
|
|
|
|
<span class="competence-label">{{name}}</span>
|
|
|
|
</a>
|
2021-05-28 00:55:22 +02:00
|
|
|
{{#if data.isLevelUp}}
|
|
|
|
<span class="tooltiptext ttt-xp">Vous pouvez dépenser {{data.xpNext}} points d'Experience pour augmenter de 1 votre compétence {{name}}</span>
|
|
|
|
<a class="item-control competence-xp-augmenter" compname="{{name}}" title="Augmenter">
|
|
|
|
<i class="fas fa-arrow-alt-circle-up"></i>
|
|
|
|
</a>
|
|
|
|
{{/if}}
|
2021-06-01 20:02:26 +02:00
|
|
|
<input class="competence-value" type="text" compname="{{name}}" name="comp-value-{{name}}"
|
|
|
|
value="{{numberFormat data.niveau decimals=0 sign=true}}" data-dtype="number"
|
|
|
|
{{#unless @root.options.editCaracComp}}disabled{{/unless}} />
|
|
|
|
<input class="competence-xp" type="text" compname="{{name}}" name="comp-xp-{{name}}"
|
|
|
|
value="{{numberFormat data.xp decimals=0 sign=false}}" data-dtype="number"
|
|
|
|
{{#unless @root.options.editCaracComp}}disabled{{/unless}} />
|
2021-05-11 23:41:58 +02:00
|
|
|
{{#if (eq data.categorie 'draconic')}}
|
2021-06-01 20:02:26 +02:00
|
|
|
<input class="competence-xp-sort" type="text" compname="{{name}}" name="comp-xp-sort-{{name}}"
|
|
|
|
value="{{numberFormat data.xp_sort decimals=0 sign=false}}" data-dtype="number"
|
|
|
|
{{#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">
|
2021-11-23 02:11:24 +01:00
|
|
|
{{#if data.stressXpMax}}
|
|
|
|
<a class="item-control competence-stress-augmenter" compname="{{name}}"
|
|
|
|
title="Dépenser {{data.stressXpMax}} points de stress {{#if data.isStressLevelUp}} pour augmenter d'un niveau {{/if}}">
|
|
|
|
<i class="fas fa-arrow-alt-circle-up allouer-stress{{#if data.isStressLevelUp}}-level-up{{/if}}"></i>
|
|
|
|
</a>
|
|
|
|
{{/if}}
|
|
|
|
<input class="competence-archetype niveau-archetype" type="text" compname="{{name}}" name="comp-archetype-{{name}}"
|
|
|
|
value="{{numberFormat data.niveau_archetype decimals=0 sign=true}}" data-dtype="number"
|
|
|
|
{{#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}}
|