From 3cac9e0279f431795aefd2eb28309fa37f51bd26 Mon Sep 17 00:00:00 2001 From: sladecraven Date: Mon, 14 Dec 2020 10:04:14 +0100 Subject: [PATCH] #52 Gestion astrologie --- module/actor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/actor.js b/module/actor.js index 2465332c..f925d61c 100644 --- a/module/actor.js +++ b/module/actor.js @@ -1516,9 +1516,9 @@ export class RdDActor extends Actor { /* -------------------------------------------- */ appliquerExperience( rolled, caracName, competenceName = undefined ) { - // TODO gestion derobe/tir/lance/melee + // TODO gestion tir/lance/melee if (caracName == 'derobee') caracName = 'agilite'; - + if ( rolled.isPart && rolled.finalLevel < 0) { if ( !compentenceName) { this.actor.data.data.carac[caracName].xp += 1;