Diverses prise en compte technique
This commit is contained in:
@@ -81,66 +81,23 @@
|
||||
<h4 class="item-name-label competence-name">Santé</h4>
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="item flexrow">
|
||||
<label class="label-name">Bonus</label>
|
||||
<input type="text" class="input-numeric-short" name="system.sante.bonus" value="{{system.sante.bonus}}"
|
||||
data-dtype="Number" />
|
||||
<label class="label-name">Total</label>
|
||||
<label class="label-name">{{system.sante.base}}</label>
|
||||
<label class="label-name item-field-label-short">Vigueur</label>
|
||||
<label class="label-name item-field-label-short">{{system.sante.vigueur}}</label>
|
||||
</li>
|
||||
<li class="item flexrow">
|
||||
<label class="label-name">Non létaux</label>
|
||||
<input type="text" class="input-numeric-short" name="system.sante.nonletaux"
|
||||
value="{{system.sante.nonletaux}}" data-dtype="Number" />
|
||||
<label class="label-name">Létaux</label>
|
||||
<input type="text" class="input-numeric-short" name="system.sante.letaux" value="{{system.sante.letaux}}"
|
||||
data-dtype="Number" />
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h4 class="item-name-label competence-name">Ame</h4>
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="item flexrow">
|
||||
<label class="label-name">Max</label>
|
||||
<input type="text" class="input-numeric-short" name="system.ame.fullmax" value="{{system.ame.fullmax}}"
|
||||
data-dtype="Number" />
|
||||
<label class="label-name">Max Actuel</label>
|
||||
<input type="text" class="input-numeric-short" name="system.ame.currentmax"
|
||||
value="{{system.ame.currentmax}}" data-dtype="Number" />
|
||||
<label class="label-name">Courante</label>
|
||||
<input type="text" class="input-numeric-short" name="system.ame.value" value="{{system.ame.value}}"
|
||||
data-dtype="Number" />
|
||||
<label class="label-name item-field-label-short">Etat</label>
|
||||
<select class="label-name item-field-label-medium" type="text" name="system.sante.etat" value="{{system.sante.etat}}" data-dtype="Number">
|
||||
{{#select system.sante.etat}}
|
||||
{{> systems/fvtt-hawkmoon-cyd/templates/partial-sante-etat.html}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h4 class="item-name-label competence-name">Combat</h4>
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="item flexrow">
|
||||
<label class="competence-name">Initiative</label>
|
||||
<label class="competence-name">{{combat.initBase}}</label>
|
||||
<input type="text" class="input-numeric-short" name="system.combat.initbonus"
|
||||
value="{{system.combat.initbonus}}" data-dtype="Number" />
|
||||
<label class="competence-name">{{combat.initTotal}}</label>
|
||||
</li>
|
||||
<li class="item flexrow">
|
||||
<label class="competence-name">B. Dégats</label>
|
||||
<label class="competence-name">+{{combat.bonusDegats}}</label>
|
||||
<input type="text" class="input-numeric-short" name="system.combat.bonusdegats"
|
||||
value="{{system.combat.bonusdegats}}" data-dtype="Number" />
|
||||
<label class="competence-name">+{{combat.bonusDegatsTotal}}</label>
|
||||
</li>
|
||||
<li class="item flexrow">
|
||||
<label class="competence-name">Vitesse</label>
|
||||
<label class="competence-name">{{combat.vitesseBase}}</label>
|
||||
<input type="text" class="input-numeric-short" name="system.combat.vitessebonus"
|
||||
value="{{system.combat.vitessebonus}}" data-dtype="Number" />
|
||||
<label class="competence-name">{{combat.vitesseTotal}}</label>
|
||||
</li>
|
||||
<li class="item flexrow">
|
||||
<label class="competence-name">Défense</label>
|
||||
<label class="competence-name">{{combat.defenseBase}}</label>
|
||||
<input type="text" class="input-numeric-short" name="system.combat.defensebonus"
|
||||
value="{{system.combat.defensebonus}}" data-dtype="Number" />
|
||||
<label class="competence-name">{{combat.defenseTotal}}</label>
|
||||
<button class="chat-card-button roll-initiative">Lancer l'initiative</button>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -168,32 +125,26 @@
|
||||
{{#each skills as |skill key|}}
|
||||
<li class="item flexrow " data-item-id="{{skill._id}}" data-item-type="competence">
|
||||
<img class="item-name-img" src="{{skill.img}}" />
|
||||
<span class="item-name-label competence-name"><a class="roll-competence"
|
||||
<span class="item-name-label competence-name"><a class="roll-competence item-field-label-short"
|
||||
data-attr-key="tochoose">{{skill.name}}</a></span>
|
||||
<select class="status-small-label color-class-common edit-item-data competence-niveau" type="text"
|
||||
data-item-field="niveau" value="{{skill.system.niveau}}" data-dtype="Number">
|
||||
{{#select skill.system.niveau}}
|
||||
{{> systems/fvtt-hawkmoon-cyd/templates/partial-list-niveau.html}}
|
||||
{{> systems/fvtt-hawkmoon-cyd/templates/partial-list-niveau.html}}
|
||||
{{/select}}
|
||||
</select>
|
||||
|
||||
{{#if (ne skill.system.attribut1 "none")}}
|
||||
<span class="item-field-label-short">
|
||||
<button class="roll-competence button-sheet-roll" data-attr-key="{{skill.system.attribut1}}">{{upper
|
||||
skill.system.attribut1}} : {{skill.system.attribut1total}}</button>
|
||||
</span>
|
||||
{{/if}}
|
||||
{{#if (ne skill.system.attribut2 "none")}}
|
||||
<span class="item-field-label-short">
|
||||
<button class="roll-competence button-sheet-roll" data-attr-key="{{skill.system.attribut2}}">{{upper
|
||||
skill.system.attribut2}} : {{skill.system.attribut2total}}</button>
|
||||
</span>
|
||||
{{/if}}
|
||||
{{#if (ne skill.system.attribut3 "none")}}
|
||||
<span class="item-field-label-short">
|
||||
<button class="roll-competence button-sheet-roll" data-attr-key="{{skill.system.attribut3}}">{{upper
|
||||
skill.system.attribut3}} : {{skill.system.attribut3total}}</button>
|
||||
</span>
|
||||
{{/if}}
|
||||
|
||||
<div class="item-filler"> </div>
|
||||
|
@@ -18,28 +18,27 @@
|
||||
|
||||
<div>
|
||||
<ul>
|
||||
<li class="mournblade-roll">Attribut : {{attr.label}}</li>
|
||||
<li class="hawkmoon-roll">Attribut : {{attr.label}}</li>
|
||||
|
||||
{{#if competence}}
|
||||
<li>Compétence : {{competence.name}}</li>
|
||||
{{/if}}
|
||||
|
||||
{{#if rune}}
|
||||
<li>Rune : {{rune.name}}</li>
|
||||
<li>Mode : {{runemode}}</li>
|
||||
<li>Points d'Ame : {{runeame}}</li>
|
||||
<li>Durée : {{runeduree}} actions complexes</li>
|
||||
{{#if selectedMaitrise}}
|
||||
<li>Maitrise : {{selectedMaitrise.name}}</li>
|
||||
{{/if}}
|
||||
|
||||
{{#if bonusRoll}}
|
||||
<li>{{textBonus}} : {{bonusRoll.total}}</li>
|
||||
{{/if}}
|
||||
|
||||
{{#if arme}}
|
||||
<li>Arme : {{arme.name}} (+{{arme.system.bonusmaniementoff}})</li>
|
||||
{{/if}}
|
||||
|
||||
<li>Formule : {{diceFormula}}</li>
|
||||
|
||||
{{#if bonusRoll}}
|
||||
<li>{{textBonus}} : +{{bonusRoll.total}}</li>
|
||||
{{/if}}
|
||||
|
||||
<li>Total : {{finalResult}}</li>
|
||||
|
||||
{{#if difficulte}}
|
||||
@@ -62,6 +61,7 @@
|
||||
<button class="chat-card-button predilection-reroll" data-predilection-index="{{key}}">Predilection : {{pred.name}}</button>
|
||||
</li>
|
||||
{{/each}}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
@@ -23,8 +23,8 @@
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Attribut 1 </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text" name="system.attribut1"
|
||||
value="{{system.attribut1}}" data-dtype="string">
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text"
|
||||
name="system.attribut1" value="{{system.attribut1}}" data-dtype="string">
|
||||
{{#select system.attribut1}}
|
||||
{{#each attributs as |attrLabel attrKey|}}
|
||||
<option value="{{attrKey}}">{{attrLabel}}</option>
|
||||
@@ -34,8 +34,8 @@
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Attribut 2 </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text" name="system.attribut2"
|
||||
value="{{system.attribut2}}" data-dtype="string">
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text"
|
||||
name="system.attribut2" value="{{system.attribut2}}" data-dtype="string">
|
||||
<option value="none">Aucun</option>
|
||||
{{#select system.attribut2}}
|
||||
{{#each attributs as |attrLabel attrKey|}}
|
||||
@@ -46,8 +46,8 @@
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Attribut 3 </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text" name="system.attribut3"
|
||||
value="{{system.attribut3}}" data-dtype="string">
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text"
|
||||
name="system.attribut3" value="{{system.attribut3}}" data-dtype="string">
|
||||
<option value="none">Aucun</option>
|
||||
{{#select system.attribut3}}
|
||||
{{#each attributs as |attrLabel attrKey|}}
|
||||
@@ -64,19 +64,22 @@
|
||||
<ul>
|
||||
{{#each system.predilections as |predilection key|}}
|
||||
<li class="prediction-item item flexrow" data-prediction-index="{{key}}">
|
||||
<input type="text" class="padd-right color-class-common edit-predilection"
|
||||
value="{{predilection.name}}" data-dtype="String" />
|
||||
<input type="text" class="padd-right color-class-common edit-predilection" value="{{predilection.name}}"
|
||||
data-dtype="String" />
|
||||
</li>
|
||||
<li class="prediction-item item flexrow" data-prediction-index="{{key}}">
|
||||
<textarea row="4" type="text" class="padd-right color-class-common edit-predilection-description"
|
||||
data-dtype="String">{{predilection.description}}</textarea>
|
||||
</li>
|
||||
<li class="prediction-item item flexrow" data-prediction-index="{{key}}">
|
||||
<label class="generic-label">Maitrise ? <input class="predilection-maitrise" type="checkbox"
|
||||
{{checked predilection.maitrise}} /></label>
|
||||
<label class="generic-label">Acquise ? <input class="predilection-acquise" type="checkbox" {{checked
|
||||
predilection.acquise}} /></label>
|
||||
|
||||
<label class="generic-label">Utilisée ? <input class="predilection-used" type="checkbox"
|
||||
{{checked predilection.used}} /></label>
|
||||
<label class="generic-label">Maitrise ? <input class="predilection-maitrise" type="checkbox" {{checked
|
||||
predilection.maitrise}} /></label>
|
||||
|
||||
<label class="generic-label">Utilisée ? <input class="predilection-used" type="checkbox" {{checked
|
||||
predilection.used}} /></label>
|
||||
<a class="item-control delete-prediction" title="Supprimer une predilection"><i
|
||||
class="fas fa-trash"></i></a>
|
||||
</li>
|
||||
|
@@ -18,8 +18,8 @@
|
||||
<ul class="item-list alternate-list">
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Utilisation </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text"
|
||||
<label class="generic-label item-field-label-medium">Utilisation </label>
|
||||
<select class="status-small-label color-class-common item-field-label-medium" type="text"
|
||||
name="system.utilisation" value="{{system.utilisation}}" data-dtype="String">
|
||||
{{#select system.utilisation}}
|
||||
<option value="permanent">Permanent</option>
|
||||
@@ -32,8 +32,13 @@
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Apporte un bonus ? </label>
|
||||
<input type="checkbox" name="system.isbonus" {{checked system.isbonus}} />
|
||||
<label class="generic-label item-field-label-medium">Pré-requis </label>
|
||||
<input type="text" class="padd-right color-class-common item-field-label-medium" name="system.prerequis" value="{{system.prerequis}}" data-dtype="String" />
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-medium">Déja utilisé ? </label>
|
||||
<input class="predilection-maitrise" type="checkbox" name="system.used" {{checked system.used}} />
|
||||
</li>
|
||||
|
||||
{{#if system.isbonus}}
|
||||
|
@@ -25,37 +25,23 @@
|
||||
</div>
|
||||
|
||||
{{#if competence}}
|
||||
<div class="flexrow">
|
||||
<span class="roll-dialog-label">{{competence.name}}</span>
|
||||
<span class="small-label">{{competence.system.niveau}}</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{#if rune}}
|
||||
<div class="flexrow">
|
||||
<span class="roll-dialog-label">{{rune.name}}</span>
|
||||
<span class="small-label">{{rune.system.formule}}</span>
|
||||
</div>
|
||||
<div class="flexrow">
|
||||
<span class="roll-dialog-label">Lancement</span>
|
||||
<select class="roll-dialog-label" id="runemode" type="text" name="runemode" value="{{runemode}}"
|
||||
data-dtype="String">
|
||||
{{#select runemode}}
|
||||
<option value="prononcer">Prononcer la rune</option>
|
||||
<option value="inscrire">Inscrire la rune</option>
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="flexrow">
|
||||
<span class="roll-dialog-label">Points d'Ame</span>
|
||||
<select class="roll-dialog-label" id="runeame" type="text" name="runeame" value="{{runeame}}"
|
||||
data-dtype="Number">
|
||||
{{#select runeame}}
|
||||
{{{pointAmeOptions}}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="flexrow">
|
||||
<span class="roll-dialog-label">{{competence.name}}</span>
|
||||
<span class="small-label">{{competence.system.niveau}}</span>
|
||||
</div>
|
||||
{{#if maitrises}}
|
||||
<div class="flexrow">
|
||||
<span class="roll-dialog-label">Utiliser une maîtrise</span>
|
||||
<select class="status-small-label color-class-common" id ="select-maitrise" type="text" name="select-maitrise" value="maitriseId" data-dtype="string" >
|
||||
{{#select maitriseId}}
|
||||
<option value="none">Aucune</option>
|
||||
{{#each maitrises as |maitrise mKey|}}
|
||||
<option value="{{maitrise.id}}">{{maitrise.name}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
<div class="flexrow">
|
||||
@@ -91,14 +77,6 @@
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{#if canEclatDoubleD20}}
|
||||
<div class="flexrow">
|
||||
<span class="roll-dialog-label">Doubler le d20 (1 Point d'Eclat)</span>
|
||||
<input class="" id="doubleD20" type="checkbox" name="doubleD20" value="{{doubleD20}}" {{checked doubleD20}}/>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</form>
|
Reference in New Issue
Block a user