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