2021-03-17 01:21:37 +01:00
|
|
|
{{#if visible}}
|
|
|
|
{{#if data.isLevelUp}}
|
|
|
|
<li class="item flexrow xp-level-up" data-item-id="{{_id}}">
|
|
|
|
{{else}}
|
|
|
|
<li class="item flexrow list-item" data-item-id="{{_id}}">
|
|
|
|
{{/if}}
|
2021-05-09 19:00:43 +02:00
|
|
|
<a class="competence-label" name="{{name}}">
|
|
|
|
<img class="sheet-competence-img" src="{{img}}" />
|
|
|
|
{{#if data.isLevelUp}}
|
|
|
|
<span class="competence-label tooltip">
|
|
|
|
<span class="tooltiptext ttt-xp">
|
|
|
|
Vous pouvez dépenser {{data.xpNext}} points d'Experience pour augmenter de 1 votre compétence {{name}}
|
|
|
|
</span>
|
|
|
|
{{name}}
|
2021-03-17 01:21:37 +01:00
|
|
|
</span>
|
2021-05-09 19:00:43 +02:00
|
|
|
{{else}}
|
|
|
|
<span class="competence-label">{{name}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</a>
|
2021-03-17 01:21:37 +01:00
|
|
|
<input class="competence-value" type="text" compname="{{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}}" value="{{numberFormat data.xp decimals=0 sign=false}}" data-dtype="number" {{#unless @root.options.editCaracComp}}disabled{{/unless}} />
|
|
|
|
{{#if (eq data.categorie 'draconic')}}
|
|
|
|
<input class="competence-xp-sort" type="text" compname="{{name}}" value="{{numberFormat data.xp_sort decimals=0 sign=false}}" data-dtype="number" {{#unless @root.options.editCaracComp}}disabled{{/unless}}/>
|
|
|
|
{{/if}}
|
|
|
|
<div class="item-controls">
|
|
|
|
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
|
|
|
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
|
|
|
</div>
|
|
|
|
{{#if @root.options.montrerArchetype}}
|
|
|
|
<input class="competence-archetype" type="text" compname="{{name}}"
|
|
|
|
value="{{numberFormat data.niveau_archetype decimals=0 sign=true}}" data-dtype="number" {{#unless @root.options.editCaracComp}}disabled{{/unless}} />
|
|
|
|
{{/if}}
|
|
|
|
</li>
|
|
|
|
{{/if}}
|