From 6dd67b54ebc2a03482a88d6664e273dfbf03533f Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Mon, 10 May 2021 18:41:45 +0200 Subject: [PATCH] =?UTF-8?q?M=C3=A9ditation=20-1=20d=C3=A8s=20echec=20parti?= =?UTF-8?q?culier?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CF règles page 215 > En cas d’échec total ou particulier, un malus définitif de -1 est > désormais appliqué au jet de méditation de cette méthode --- module/actor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/actor.js b/module/actor.js index da276847..8180fee1 100644 --- a/module/actor.js +++ b/module/actor.js @@ -2573,7 +2573,7 @@ export class RdDActor extends Actor { label: "Jet de méditation", callbacks: [ this.createCallbackExperience(), - { condition: r => r.rolled.isETotal, action: r => this._meditationETotal(r) }, + { condition: r => r.rolled.isEPart, action: r => this._meditationEPart(r) }, { action: r => this._meditationResult(r) } ] }); @@ -2594,7 +2594,7 @@ export class RdDActor extends Actor { } /* -------------------------------------------- */ - _meditationETotal(meditationData) { + _meditationEPart(meditationData) { meditationData.meditation.data.malus--; this.updateEmbeddedDocuments('Item', [meditationData.meditation]); }