Draconic que pour les Haut rêvant #174

This commit is contained in:
Vincent Vandemeulebrouck
2021-04-03 03:04:48 +02:00
parent d353b6ccaf
commit 72f8c83caf
2 changed files with 18 additions and 11 deletions

View File

@ -61,7 +61,7 @@
<span class="gm-only remise-a-neuf"><a title="Remise à neuf"><img class="button-img" src="icons/svg/regen.svg" alt="Remise à neuf"/></a></span>
<span id="dormir-une-heure"><a title="Dormir une heure"><img class="button-img" src="icons/svg/sleep.svg" alt="Dormir une heure"/></a></span>
<span id="dormir-chateau-dormant"><a title="Chateau Dormant"><img class="button-img" src="systems/foundryvtt-reve-de-dragon/icons/heures/hd12.svg" alt="Chateau Dormant"/></a></span>
{{#if (eq data.attributs.hautrevant.value 'Haut rêvant')}}
{{#if data.attributs.hautrevant.value}}
<span id="monte-tmr"><a title="Montée dans les Terres M&eacute;dianes !"><img class="button-img" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/icon-tmr-normal.svg" alt="Montée dans les Terres M&eacute;dianes !"/></a></span>
<span id="monte-tmr-rapide"><a title="Montée accélérée dans les Terres M&eacute;dianes !"><img class="button-img" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/icon-tmr-rapide.svg" alt="Montée accélérée dans les Terres M&eacute;dianes !"/></a></span>
<span id="visu-tmr"><a title="Regarder les Terres M&eacute;dianes"><img class="button-img" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/icon-tmr-view.svg" alt="Regarder les Terres M&eacute;dianes"/></a></span>
@ -164,15 +164,17 @@
</span>
</li>
{{#each data.attributs as |attr key|}}
{{#unless (eq key 'hautrevant')}}
<li class="competence flexrow list-item" data-attribute="{{key}}">
<span class="competence-label flexrow" name="data.attributs.{{key}}.label">{{attr.label}} :
{{#if (eq key 'protection')}}
{{#if (eq key 'protection')}}
<input id="attribut-protection-edit" type="text" name="{{key}}" value="{{attr.value}}" data-dtype="number"/><span/>
{{else}}
{{else}}
{{attr.value}}
{{/if}}
{{/if}}
</span>
</li>
{{/unless}}
{{/each}}
</ul>
<ul class="carac-list alterne-list">
@ -299,7 +301,7 @@
{{/each}}
</ul>
{{#if (eq data.attributs.hautrevant.value 'Haut rêvant')}}
{{#if data.attributs.hautrevant.value}}
<header class="competence-header flexrow">
<span class="competence-title">Draconic</span>
</header>
@ -553,9 +555,11 @@
{{!-- hautreve Tab --}}
<div class="tab hautreve " data-group="primary" data-tab="hautreve" style="height:200px">
<div>
<h3>Haut rêve:</h3>
{{#if data.attributs.hautrevant.value}}
<h3>Haut rêvant</h3>
{{/if}}
<ul class="item-list">
{{#if (eq data.attributs.hautrevant.value 'Haut rêvant')}}
{{#if data.attributs.hautrevant.value}}
<li class="item flexrow">
<span class="competence-label">Position en TMR :</span>
<span>
@ -590,7 +594,7 @@
</ul>
</div>
<hr>
{{#if (eq data.attributs.hautrevant.value 'Haut rêvant')}}
{{#if data.attributs.hautrevant.value}}
<div>
<h3>Sorts:</h3>
<ul class="item-list">