Rework capacite+pouvoir
This commit is contained in:
parent
87c1aa9a06
commit
f816e7bd11
@ -30,6 +30,7 @@ export const HERITIERS_CONFIG = {
|
||||
"Masque": "Masque"
|
||||
},
|
||||
resistancePouvoir: {
|
||||
"aucune": "Aucune",
|
||||
"physiquepassive": "Physique Passive",
|
||||
"physiqueactive": "Physique Active",
|
||||
"psychiquepassive": "Psychique Passive",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "fvtt-les-heritiers",
|
||||
"description": "Les Héritiers pour FoundryVTT",
|
||||
"version": "10.0.3",
|
||||
"version": "10.0.4",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Uberwald/LeRatierBretonnien",
|
||||
@ -19,7 +19,7 @@
|
||||
"gridUnits": "m",
|
||||
"license": "LICENSE.txt",
|
||||
"manifest": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers/raw/branch/master/system.json",
|
||||
"download": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers/archive/fvtt-les-heritiers-10.0.3.zip",
|
||||
"download": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers/archive/fvtt-les-heritiers-10.0.4.zip",
|
||||
"languages": [
|
||||
{
|
||||
"lang": "fr",
|
||||
|
@ -251,8 +251,10 @@
|
||||
"activation": "",
|
||||
"cibles": "",
|
||||
"effet": "",
|
||||
"duree": "",
|
||||
"portee": "",
|
||||
"resistance": "",
|
||||
"resistanceautre":"",
|
||||
"description": ""
|
||||
},
|
||||
"pouvoir": {
|
||||
@ -263,6 +265,7 @@
|
||||
"istest": false,
|
||||
"feeriemasque": "feerie",
|
||||
"carac": "pre",
|
||||
"duree": "",
|
||||
"cibles": "",
|
||||
"effet": "",
|
||||
"portee": "",
|
||||
|
@ -26,34 +26,48 @@
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Activation </label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long"
|
||||
<input type="text" class="padd-right color-class-common item-field-label-long3"
|
||||
name="system.activation" value="{{system.activation}}" data-dtype="String" />
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Cibles </label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long"
|
||||
<input type="text" class="padd-right color-class-common item-field-label-long3"
|
||||
name="system.cibles" value="{{system.cibles}}" data-dtype="String" />
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Effet </label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long"
|
||||
name="system.effet" value="{{system.effet}}" data-dtype="String" />
|
||||
<textarea rows="6" type="text" class="padd-right color-class-common item-field-label-long3" name="system.effet"
|
||||
data-dtype="String">{{system.effet}}</textarea>
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Portée </label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long"
|
||||
<input type="text" class="padd-right color-class-common item-field-label-long3"
|
||||
name="system.portee" value="{{system.portee}}" data-dtype="String" />
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Résistance </label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long"
|
||||
name="system.resistance" value="{{system.resistance}}" data-dtype="String" />
|
||||
<label class="generic-label item-field-label-long2">Résistance</label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text"
|
||||
name="system.resistance" value="{{system.resistance}}" data-dtype="string">
|
||||
{{#select system.resistance}}
|
||||
{{#each config.resistancePouvoir as |categ cKey|}}
|
||||
<option value="{{cKey}}">{{categ}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
{{#if (eq system.resistance "autre")}}
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Résistance (Autre) </label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
|
||||
name="system.resistanceautre" value="{{system.resistanceautre}}" data-dtype="String" />
|
||||
</li>
|
||||
{{/if}}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
@ -50,7 +50,7 @@
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Activation </label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long"
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
|
||||
name="system.activation" value="{{system.activation}}" data-dtype="String" />
|
||||
</li>
|
||||
|
||||
@ -88,19 +88,19 @@
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Cibles </label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long"
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
|
||||
name="system.cibles" value="{{system.cibles}}" data-dtype="String" />
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Effet </label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long"
|
||||
name="system.effet" value="{{system.effet}}" data-dtype="String" />
|
||||
<textarea rows="6" type="text" class="padd-right color-class-common item-field-label-long3" name="system.effet"
|
||||
data-dtype="String">{{system.effet}}</textarea>
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Portée </label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long"
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
|
||||
name="system.portee" value="{{system.portee}}" data-dtype="String" />
|
||||
</li>
|
||||
|
||||
@ -119,7 +119,7 @@
|
||||
{{#if (eq system.resistance "autre")}}
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Résistance (Autre) </label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long"
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
|
||||
name="system.resistanceautre" value="{{system.resistanceautre}}" data-dtype="String" />
|
||||
</li>
|
||||
{{/if}}
|
||||
|
Loading…
Reference in New Issue
Block a user