Rework capacite+pouvoir

This commit is contained in:
LeRatierBretonnien 2022-12-30 12:13:15 +01:00
parent f816e7bd11
commit 3108c346f4
4 changed files with 34 additions and 2 deletions

View File

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

View File

@ -255,6 +255,8 @@
"portee": "",
"resistance": "",
"resistanceautre":"",
"isvirulence": false,
"virulence":"",
"description": ""
},
"pouvoir": {
@ -271,6 +273,8 @@
"portee": "",
"resistance": "",
"resistanceautre":"",
"isvirulence": false,
"virulence":"",
"description": ""
},
"atoutfeerique": {

View File

@ -68,6 +68,20 @@
</li>
{{/if}}
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Virulence (ie Poison) ? </label>
<input type="checkbox" class="padd-right status-small-label color-class-common item-field-label-short"
name="system.isvirulence" {{checked system.isvirulence}}/>
</li>
{{#if system.isvirulence}}
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Virulence </label>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
name="system.virulence" value="{{system.virulence}}" data-dtype="String" />
</li>
{{/if}}
</ul>
</div>

View File

@ -124,6 +124,20 @@
</li>
{{/if}}
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Virulence (ie Poison) ? </label>
<input type="checkbox" class="padd-right status-small-label color-class-common item-field-label-short"
name="system.isvirulence" {{checked system.isvirulence}}/>
</li>
{{#if system.isvirulence}}
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Virulence </label>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
name="system.virulence" value="{{system.virulence}}" data-dtype="String" />
</li>
{{/if}}
</ul>
</div>