Gestion de jets de competences et modificateurs associés
This commit is contained in:
@ -38,34 +38,34 @@
|
||||
<div class="tab principal" data-group="primary" data-tab="principal">
|
||||
|
||||
<div class="grid grid-2col">
|
||||
<ul>
|
||||
|
||||
<ul class="item-list alternate-list">
|
||||
{{#each caracList as |char key|}}
|
||||
<li class="flexrow">
|
||||
<label class="item-field-label-medium">{{char.name}}</label>
|
||||
<li class="item flexrow list-item carac-box">
|
||||
<label class="item-left-pad item-field item-field-label-medium">{{char.name}}</label>
|
||||
<select type="text" class="input-numeric-short" name="system.caracteristiques.{{key}}.value"data-dtype="Number" />
|
||||
{{selectOptions @root.config.descriptionValeur selected=char.value labelAttr="valeur"}}
|
||||
</select>
|
||||
<label class="">{{char.qualite}}</label>
|
||||
<label class="">{{char.dice}}</label>
|
||||
<label class="">{{char.negativeDice}}</label>
|
||||
<label class="item-field item-field-label-medium">{{char.qualite}}</label>
|
||||
<label class="item-field item-field-label-medium">{{char.dice}} ({{char.negativeDice}})</label>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li class="flexrow">
|
||||
<label class="item-field-label-medium">Providence</label>
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="item flexrow list-item carac-box">
|
||||
<label class="item-left-pad item-field item-field-label-medium">Providence</label>
|
||||
<select type="text" class="input-numeric-short" name="system.providence.value" data-dtype="Number" />
|
||||
{{selectOptions @root.config.providence selected=providence.value nameAttr="value" valueAttr="value" labelAttr="value"}}
|
||||
</select>
|
||||
<label class="item-field-label-long">{{providence.qualite}}</label>
|
||||
<label class="item-field-label-short">{{providence.dice}}</label>
|
||||
<label class="item-field item-field-label-long">{{providence.qualite}}</label>
|
||||
<label class="item-field item-field-label-short">{{providence.dice}}</label>
|
||||
</li>
|
||||
<li class="flexrow">
|
||||
<label class="">Bienveillance</label>
|
||||
<li class="item flexrow list-item carac-box">
|
||||
<label class="item-left-pad item-field item-field-label-medium">Bienveillance</label>
|
||||
<input class="input-numeric-short" type="text" name="system.bienveillance.value" data-dtype="Number" />
|
||||
<label class="item-field-label-long"></label>
|
||||
<label class="item-field-label-short"></label>
|
||||
<label class="item-field item-field-label-long"></label>
|
||||
<label class="item-field item-field -label-short"></label>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@ -79,76 +79,27 @@
|
||||
{{#each arbreCompetences as |carac key|}}
|
||||
<ul>
|
||||
<li class="flexrow">
|
||||
<h3 class="item-field-label-medium" data-tooltip="Caracteristique">{{carac.name}}</h3>
|
||||
<label class="">{{carac.value}}</label>
|
||||
<label class="">{{carac.qualite}}</label>
|
||||
<label class="">{{carac.dice}}</label>
|
||||
<label class="">{{carac.negativeDice}}</label>
|
||||
<h3 class="item-field-label-long14" data-tooltip="Caracteristique">{{carac.name}} : {{carac.qualite}}</h3>
|
||||
<label class="item-field item-field-label-short">{{carac.value}}</label>
|
||||
<label class="item-field item-field-label-medium">{{carac.dice}} (xp : {{carac.experience}})</label>
|
||||
</li>
|
||||
<ul class="comp-column-list">
|
||||
<ul class="ul-level1 flexrow item-list alternate-list">
|
||||
{{#each carac.competences as |comp skillkey|}}
|
||||
<li class="flexrow comp-li">
|
||||
<label class="item-field-label-medium">{{comp.name}}</label>
|
||||
<label class="item-field-label-medium">{{comp.system.score}}</label>
|
||||
<li class="flexrow carac-box comp-box item-id" data-item-id="{{comp.id}}">
|
||||
<label class="item-left-pad item-field item-field-label-long">
|
||||
<a class="roll-competence" data-comp-id="{{comp.id}}">{{comp.name}} {{comp.system.formula}} </a>
|
||||
</label>
|
||||
<span> </span>
|
||||
<a class="item-control item-edit" title="Editer"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Supprimer"><i class="fas fa-trash"></i></a>
|
||||
</li>
|
||||
{{/each}}
|
||||
|
||||
</ul>
|
||||
</ul>
|
||||
</ul>
|
||||
{{/each}}
|
||||
|
||||
</div>
|
||||
|
||||
{{#if hasCephaly}}
|
||||
{{!-- Cephaly Tab --}}
|
||||
<div class="tab cephaly" data-group="primary" data-tab="cephaly">
|
||||
|
||||
<div class="grid grid-2col">
|
||||
|
||||
<div>
|
||||
|
||||
<h3>{{localize "ECRY.ui.cephaly"}}</h3>
|
||||
<ul class="stat-list alternate-list item-list">
|
||||
{{#each cephalySkills as |skill skillkey|}}
|
||||
<li class="item flexrow list-item">
|
||||
<span class="item-name-label-long">
|
||||
<a class="roll-cephaly" data-category-key="cephaly" data-skill-key="{{skillkey}}">
|
||||
<i class="fa-solid fa-dice-d6"></i>
|
||||
{{localize skill.name}}
|
||||
</a></span>
|
||||
<select class="item-field-label-short" type="text" name="system.cephaly.skilllist.{{skillkey}}.value"
|
||||
value="{{skill.value}}" data-dtype="Number">
|
||||
{{#select skill.value}}
|
||||
{{#each @root.config.skillLevel as |level key| }}
|
||||
<option value="{{level}}">{{level}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
<div>
|
||||
{{#if annency}}
|
||||
<h3>{{localize "ECRY.ui.annency"}} : <a class="open-annency" data-annency-id="{{annency.id}}">{{annency.name}}<i class="fas fa-edit"></i></a></h3>
|
||||
<ul class="stat-list alternate-list item-list">
|
||||
<li class="item flexrow list-item">
|
||||
<span class="item-name-label-long">
|
||||
{{annency.system.base.description}}
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
{{/if}}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<div class="tab traits" data-group="primary" data-tab="traits">
|
||||
|
||||
<ul class="item-list alternate-list">
|
||||
|
Reference in New Issue
Block a user