From 57afc103c6685fcfc51452318f3f7fb92b9eadf4 Mon Sep 17 00:00:00 2001 From: sladecraven Date: Sun, 23 Jan 2022 21:39:30 +0100 Subject: [PATCH] Do not add carac value --- modules/yggdrasill-utility.js | 4 +--- system.json | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/modules/yggdrasill-utility.js b/modules/yggdrasill-utility.js index 1ba30b0..0f1742e 100644 --- a/modules/yggdrasill-utility.js +++ b/modules/yggdrasill-utility.js @@ -206,9 +206,7 @@ export class YggdrasillUtility { // Select niveau de competence/arme/carac if ( rollData.mode != "carac" ) { niveauCompetence = rollData.competence.data.niveau; - } else { - niveauCompetence = rollData.selectedCarac.value; - } + } // Bonus/Malus total rollData.finalBM = rollData.bonusMalus; diff --git a/system.json b/system.json index 2e7c1d5..3e19216 100644 --- a/system.json +++ b/system.json @@ -1,8 +1,8 @@ { "name": "fvtt-yggdrasill", "title": "Yggdrasill", - "description": "Système non-officiel Yggdrasill (7ièm Cercle) pour FoundryVTT", - "version": "1.1.15", + "description": "Système non-officiel Yggdrasill (7ième Cercle) pour FoundryVTT", + "version": "1.1.16", "manifestPlusVersion": "1.0.0", "minimumCoreVersion": "0.8.0", "compatibleCoreVersion": "9",