Gestion des signes draconiques #455
@ -321,8 +321,8 @@ export class RdDActorSheet extends ActorSheet {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Roll Skill
|
// Roll Skill
|
||||||
html.find('.competence-label a').click((event) => {
|
html.find('a.competence-label').click((event) => {
|
||||||
let compName = event.currentTarget.text;
|
let compName = event.currentTarget.name;
|
||||||
this.actor.rollCompetence(compName);
|
this.actor.rollCompetence(compName);
|
||||||
});
|
});
|
||||||
html.find('.tache-label a').click((event) => {
|
html.find('.tache-label a').click((event) => {
|
||||||
|
@ -4,16 +4,19 @@
|
|||||||
{{else}}
|
{{else}}
|
||||||
<li class="item flexrow list-item" data-item-id="{{_id}}">
|
<li class="item flexrow list-item" data-item-id="{{_id}}">
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<img class="sheet-competence-img" src="{{img}}" />
|
<a class="competence-label" name="{{name}}">
|
||||||
{{#if data.isLevelUp}}
|
<img class="sheet-competence-img" src="{{img}}" />
|
||||||
<span class="competence-label tooltip">
|
{{#if data.isLevelUp}}
|
||||||
<span class="tooltiptext ttt-xp">
|
<span class="competence-label tooltip">
|
||||||
Vous pouvez dépenser {{data.xpNext}} points d'Experience pour augmenter de 1 votre compétence {{name}}
|
<span class="tooltiptext ttt-xp">
|
||||||
|
Vous pouvez dépenser {{data.xpNext}} points d'Experience pour augmenter de 1 votre compétence {{name}}
|
||||||
|
</span>
|
||||||
|
{{name}}
|
||||||
</span>
|
</span>
|
||||||
<a name={{key}}>{{name}}</a></span>
|
{{else}}
|
||||||
{{else}}
|
<span class="competence-label">{{name}}</span>
|
||||||
<span class="competence-label"><a>{{name}}</a></span>
|
{{/if}}
|
||||||
{{/if}}
|
</a>
|
||||||
<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-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}} />
|
<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')}}
|
{{#if (eq data.categorie 'draconic')}}
|
||||||
|
Loading…
Reference in New Issue
Block a user