From 3108c346f4bbbffc70113998ca2eccf516359217 Mon Sep 17 00:00:00 2001 From: LeRatierBretonnien Date: Fri, 30 Dec 2022 12:13:15 +0100 Subject: [PATCH] Rework capacite+pouvoir --- system.json | 4 ++-- template.json | 4 ++++ templates/item-capacitenaturelle-sheet.html | 14 ++++++++++++++ templates/item-pouvoir-sheet.html | 14 ++++++++++++++ 4 files changed, 34 insertions(+), 2 deletions(-) diff --git a/system.json b/system.json index c2c28d9..2a356f1 100644 --- a/system.json +++ b/system.json @@ -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", diff --git a/template.json b/template.json index ba797a2..47e98f1 100644 --- a/template.json +++ b/template.json @@ -255,6 +255,8 @@ "portee": "", "resistance": "", "resistanceautre":"", + "isvirulence": false, + "virulence":"", "description": "" }, "pouvoir": { @@ -271,6 +273,8 @@ "portee": "", "resistance": "", "resistanceautre":"", + "isvirulence": false, + "virulence":"", "description": "" }, "atoutfeerique": { diff --git a/templates/item-capacitenaturelle-sheet.html b/templates/item-capacitenaturelle-sheet.html index 7da1936..8ba66f9 100644 --- a/templates/item-capacitenaturelle-sheet.html +++ b/templates/item-capacitenaturelle-sheet.html @@ -68,6 +68,20 @@ {{/if}} +
  • + + +
  • + + {{#if system.isvirulence}} +
  • + + +
  • + {{/if}} + diff --git a/templates/item-pouvoir-sheet.html b/templates/item-pouvoir-sheet.html index 914c1d2..7d5674d 100644 --- a/templates/item-pouvoir-sheet.html +++ b/templates/item-pouvoir-sheet.html @@ -124,6 +124,20 @@ {{/if}} +
  • + + +
  • + + {{#if system.isvirulence}} +
  • + + +
  • + {{/if}} +