From 658e4f45aa69c163a978d078a84b07948421fed0 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Sun, 14 Mar 2021 19:06:43 +0100 Subject: [PATCH] =?UTF-8?q?Attaque=20en=20finesse/rapidit=C3=A9=20pour=20c?= =?UTF-8?q?r=C3=A9atures?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/rdd-combat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/rdd-combat.js b/module/rdd-combat.js index f9408e1d..4a8d8f16 100644 --- a/module/rdd-combat.js +++ b/module/rdd-combat.js @@ -740,7 +740,7 @@ export class RdDCombat { RdDCombat._storeAttaque(this.attackerId, rollData); // Finesse et Rapidité seulement en mêlée et si la difficulté libre est de -1 minimum - const isMeleeDiffNegative = rollData.selectedCarac.label == "Mêlée" && rollData.diffLibre < 0; + const isMeleeDiffNegative = (rollData.competence.type == 'competencecreature' || rollData.selectedCarac.label == "Mêlée") && rollData.diffLibre < 0; ChatMessage.create({ alias: this.attacker.name, whisper: ChatUtility.getWhisperRecipientsAndGMs(this.attacker.name),