From c21390bbeac0526cf25bc32123f38c2b8a059d02 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Mon, 18 Jan 2021 11:24:39 +0100 Subject: [PATCH] =?UTF-8?q?Init=20des=20cr=C3=A9atures?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/rdd-utility.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/rdd-utility.js b/module/rdd-utility.js index 65a6b8a7..31d1f8be 100644 --- a/module/rdd-utility.js +++ b/module/rdd-utility.js @@ -663,11 +663,12 @@ export class RdDUtility { } else if (arme.name == "Draconic") { initOffset = 7; } else { - initOffset = 2; // Melée = 3.XX + initOffset = 3; // Melée = 3.XX let competence = RdDItemCompetence.findCompetence(combatant.actor.data.items, arme.data.competence); compNiveau = competence.data.niveau; if (actor.data.type == 'creature' || actor.data.type == 'entite') { + initOffset = 3; // Melée = 3.XX caracForInit = competence.data.carac_value; } else { caracForInit = actor.data.data.carac[competence.data.defaut_carac].value;