Gestion/assistance aventure/eclat

This commit is contained in:
2022-06-05 15:54:17 +02:00
parent 8a4efaad9a
commit c7a1133334
14 changed files with 280 additions and 61 deletions

View File

@ -48,13 +48,37 @@
</ul>
</div>
<div class="sheet-box color-bg-ame color-text-ame">
<span class="flexrow">
<h4 class="ame-margin title-font">Alignement : {{upperFirst alignement}}</h4>
</span>
<span class="flexrow">
<label class="item-name-label competence-name">Loi</label>
<select class="status-small-label color-class-common" type="text" name="data.balance.loi"
value="{{data.balance.loi}}" data-dtype="Number">
{{#select data.balance.loi}}
{{> systems/fvtt-mournblade/templates/partial-list-niveau.html}}
{{/select}}
</select>
<label class="item-name-label competence-name">Chaos</label>
<select class="status-small-label color-class-common" type="text" name="data.balance.chaos"
value="{{data.balance.chaos}}" data-dtype="Number">
{{#select data.balance.chaos}}
{{> systems/fvtt-mournblade/templates/partial-list-niveau.html}}
{{/select}}
</select>
</span>
</div>
<div class="sheet-box color-bg-ame color-text-ame">
<span class="flexrow">
<h4 class="ame-margin title-font">Bonne Aventure</h4>
</span>
<span class="flexrow">
<label>Base</label><label>{{data.bonneaventure.base}}</label>
<label>Actuelle</label><label>{{data.bonneaventure.actuelle}}</label>
<label>Base</label>
<input type="text" class="padd-right status-small-label color-class-common" name="data.bonneaventure.base" value="{{data.bonneaventure.base}}" data-dtype="Number" />
<label>Actuelle</label>
<input type="text" class="padd-right status-small-label color-class-common" name="data.bonneaventure.actuelle" value="{{data.bonneaventure.actuelle}}" data-dtype="Number" />
</span>
</div>
@ -63,7 +87,8 @@
<h4 class="ame-margin title-font">Eclat</h4>
</span>
<span class="flexrow">
<label>Valeur</label><label>{{data.eclat.value}}</label>
<label>Valeur</label>
<input type="text" class="padd-right status-small-label color-class-common" name="data.eclat.value" value="{{data.eclat.value}}" data-dtype="Number" />
</span>
</div>
@ -72,7 +97,8 @@
<h4 class="ame-margin title-font">Expérience</h4>
</span>
<span class="flexrow">
<label>Valeur</label><label>{{data.experience.value}}</label>
<label>Valeur</label>
<input type="text" class="padd-right status-small-label color-class-common" name="data.experience.value" value="{{data.experience.value}}" data-dtype="Number" />
</span>
</div>

View File

@ -9,7 +9,7 @@
{{#if img}}
<div>
<img class="chat-icon" src="{{img}}" alt="{{name}}" />
<img class="chat-icon" src="{{actionImg}}" alt="{{name}}" />
</div>
{{/if}}
@ -18,12 +18,16 @@
<div>
<ul>
<li>Attribut : {{attr.label}}</li>
<li class="mournblade-roll">Attribut : {{attr.label}}</li>
{{#if competence}}
<li>Compétence : {{competence.name}}</li>
{{/if}}
{{#if bonusRoll}}
<li>{{textBonus}} : {{bonusRoll.total}}</li>
{{/if}}
{{#if weaponName}}
<li>Weapon : {{weaponName}}</li>
{{/if}}
@ -43,7 +47,7 @@
<li>Succés Héroïque!!!</li>
{{/if}}
{{#if isDramatique}}
<li>Succés Dramatique!!!</li>
<li>Echec Dramatique!!!</li>
{{/if}}
</ul>

View File

@ -46,6 +46,13 @@
</select>
</div>
{{#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>