From da982678b7322006cf9a8600b1aef8bfc7595ddb Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Fri, 31 Jan 2025 20:20:55 +0100 Subject: [PATCH] =?UTF-8?q?Fix:=20appel=20exp=C3=A9rience=20sur=20/rdd?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/actor.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/module/actor.js b/module/actor.js index 225c9c7c..c4f82a84 100644 --- a/module/actor.js +++ b/module/actor.js @@ -1800,17 +1800,14 @@ export class RdDActor extends RdDBaseActorSang { }; RollDataAjustements.calcul(rollData, this); await RdDResolutionTable.rollData(rollData); - this._gererExperience(rollData); + this.gererExperience(rollData); await RdDRollResult.displayRollData(rollData, this) return rollData.rolled; } /* -------------------------------------------- */ gererExperience(rollData) { - const callback = this.createCallbackExperience(); - if (callback.condition(rollData)) { - callback.action(rollData); - } + this.createCallbackExperience().action(rollData); } /* -------------------------------------------- */