From 92d186a4a14872f7fcf680b8533491f99354efaf Mon Sep 17 00:00:00 2001 From: sladecraven Date: Fri, 4 Dec 2020 22:27:11 +0100 Subject: [PATCH] Gestion des points d'XP en voie --- system.json | 2 +- template.json | 3 ++- templates/item-competence-sheet.html | 6 ++++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/system.json b/system.json index c3ed785f..c8936a38 100644 --- a/system.json +++ b/system.json @@ -5,7 +5,7 @@ "version": "1.1.0", "minimumCoreVersion": "0.7.5", "compatibleCoreVersion": "0.7.7", - "templateVersion": 55, + "templateVersion": 56, "author": "LeRatierBretonnien", "esmodules": [ "module/rdd-main.js", "module/hook-renderChatLog.js" ], "styles": ["styles/simple.css"], diff --git a/template.json b/template.json index 0d3aba8c..33853851 100644 --- a/template.json +++ b/template.json @@ -591,7 +591,8 @@ "xp": 0, "description": "Compétence : ...", "defaut_carac": "", - "niveau_archetype": 0 + "niveau_archetype": 0, + "xp_sort": 0 }, "competencecreature": { "niveau": 0, diff --git a/templates/item-competence-sheet.html b/templates/item-competence-sheet.html index 80af2fd5..764801c0 100644 --- a/templates/item-competence-sheet.html +++ b/templates/item-competence-sheet.html @@ -40,6 +40,12 @@ {{/select}} + {{#if (eq data.categorie 'draconic')}} +
+ + +
+ {{/if}}