From 4f09c278e93adb0ce6fdb2e0a1aa9e7176d24e5f Mon Sep 17 00:00:00 2001 From: sladecraven Date: Sun, 15 Nov 2020 11:17:38 +0100 Subject: [PATCH] =?UTF-8?q?#19=20:=20Gestion=20des=20entit=C3=A9s=20dans?= =?UTF-8?q?=20les=20combats?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/actor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/actor.js b/module/actor.js index 4fd1aa9d..18f284c9 100644 --- a/module/actor.js +++ b/module/actor.js @@ -159,7 +159,7 @@ export class RdDActor extends Actor { if (attCategory.match("epee") && (defCategory == "hache" || defCategory == "lance")) need_resist = true; } - if (this.data.data.sante.sonne.value || rollData.particuliereAttaque == "finesse") { + if (this.data.type != 'entite' && (this.data.data.sante.sonne.value || rollData.particuliereAttaque == "finesse")) { rollData.needSignificative = true; }