From 62f2a21c01e807393c1fea287095ee8009f7d5b3 Mon Sep 17 00:00:00 2001 From: sladecraven Date: Tue, 15 Dec 2020 23:08:13 +0100 Subject: [PATCH] =?UTF-8?q?#67=20Ajout=20d'un=20bouton=20de=20cr=C3=A9atio?= =?UTF-8?q?n=20d'objet=20sur=20les=20fiches=20de=20personnage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/actor.js | 2 ++ module/rdd-roll.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/module/actor.js b/module/actor.js index 2ab3a930..b6f9c58d 100644 --- a/module/actor.js +++ b/module/actor.js @@ -1820,6 +1820,8 @@ export class RdDActor extends Actor { forceValue : attackerRoll ? this.getForceValue() : 0, // Utilisé pour le jet de recul diffLibre: (attackerRoll) ? attackerRoll.diffLibre : 0, attackerRoll: attackerRoll, + editLibre: true, + editConditions: true, finalLevel: 0, coupsNonMortels: false, malusArmureValue: 0, diff --git a/module/rdd-roll.js b/module/rdd-roll.js index 54f280bf..da037010 100644 --- a/module/rdd-roll.js +++ b/module/rdd-roll.js @@ -48,7 +48,7 @@ export class RdDRoll extends Dialog { encValueForNatation: actor.encombrementTotal ? Math.floor(actor.encombrementTotal) : 0, ajustementAstrologique: actor.ajustementAstrologique() } - mergeObject(rollData, defaultRollData, { overwrite: false, insertValues:false } ); + mergeObject(rollData, defaultRollData, { overwrite: false } ); } /* -------------------------------------------- */