Ajout et fixes divers

This commit is contained in:
LeRatierBretonnien 2023-03-07 20:33:31 +01:00
parent 7b5d7c9119
commit c5f021a941
4 changed files with 30 additions and 14 deletions

View File

@ -27,7 +27,8 @@ export const HERITIERS_CONFIG = {
},
baseTestPouvoir: {
"feerie": "Féerie",
"Masque": "Masque"
"Masque": "Masque",
"autre": "Autre"
},
resistancePouvoir: {
"aucune": "Aucune",

View File

@ -1,7 +1,7 @@
{
"id": "fvtt-les-heritiers",
"description": "Les Héritiers pour FoundryVTT",
"version": "10.0.14",
"version": "10.0.15",
"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.14.zip",
"download": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers/archive/fvtt-les-heritiers-10.0.15.zip",
"languages": [
{
"lang": "fr",

View File

@ -281,6 +281,7 @@
"activation": "",
"istest": false,
"feeriemasque": "feerie",
"testautre": "",
"carac": "pre",
"duree": "",
"cibles": "",

View File

@ -73,17 +73,25 @@
</select>
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long2">+ Carac </label>
<select class="status-small-label color-class-common item-field-label-long" type="text"
name="system.carac" value="{{system.carac}}" data-dtype="string">
{{#select system.carac}}
{{#each config.caracList as |categ cKey|}}
<option value="{{cKey}}">{{categ}}</option>
{{/each}}
{{/select}}
</select>
</li>
{{#if (eq system.feeriemasque "autre")}}
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Jet </label>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3" name="system.testautre" value="{{system.testautre}}" data-dtype="String" />
</li>
{{else}}
<li class="flexrow item">
<label class="generic-label item-field-label-long2">+ Carac </label>
<select class="status-small-label color-class-common item-field-label-long" type="text"
name="system.carac" value="{{system.carac}}" data-dtype="string">
{{#select system.carac}}
{{#each config.caracList as |categ cKey|}}
<option value="{{cKey}}">{{categ}}</option>
{{/each}}
{{/select}}
</select>
</li>
{{/if}}
{{/if}}
<li class="flexrow item">
@ -91,6 +99,12 @@
<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">Durée </label>
<textarea rows="6" type="text" class="padd-right color-class-common item-field-label-long3" name="system.duree"
data-dtype="String">{{system.duree}}</textarea>
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Effet </label>