From effb50e778e934678dfd7777be587ec50a3e3c7e Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Thu, 27 May 2021 01:13:42 +0200 Subject: [PATCH] =?UTF-8?q?Permettre=20des=20conditions=20sur=20une=20t?= =?UTF-8?q?=C3=A2che?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/actor.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/module/actor.js b/module/actor.js index 51d719df..1cdbd3d7 100644 --- a/module/actor.js +++ b/module/actor.js @@ -2400,8 +2400,9 @@ export class RdDActor extends Actor { let rollData = { competence: compData, tache: tacheData, - diffConditions: tacheData.data.difficulte, - use: { libre: false, conditions: false }, + diffLibre: tacheData.data.difficulte, + diffConditions: 0, + use: { libre: false, conditions: true }, carac: {} }; rollData.carac[tacheData.data.carac] = duplicate(actorData.data.carac[tacheData.data.carac]); // Single carac