From 3d98d57fb57e5026bac2b9e3bc6994f1c35a5d3f Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Sun, 3 Jan 2021 19:31:06 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20xp=5Fsort=20=C3=A0=20xp=20total?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/rdd-utility.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/module/rdd-utility.js b/module/rdd-utility.js index 8c939dc3..69d65567 100644 --- a/module/rdd-utility.js +++ b/module/rdd-utility.js @@ -431,6 +431,9 @@ export class RdDUtility { xp += competence_xp_par_niveau[i+10]; //console.log(i, i+10, competence_xp_par_niveau[i+10]); } + if (competence.data.categorie == 'draconic') { + xp+= competence.data.xp_sort; + } return xp; }