From 6adeb790a01015bff2d5d138cc7183dc3334b662 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Wed, 28 Dec 2022 23:35:17 +0100 Subject: [PATCH] =?UTF-8?q?Fix:=20pas=20d'actions=20pour=20les=20v=C3=A9hi?= =?UTF-8?q?cules?= 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 b9186d1d..45202088 100644 --- a/module/rdd-combat.js +++ b/module/rdd-combat.js @@ -247,7 +247,7 @@ export class RdDCombatManager extends Combat { } if (actor.isCreatureEntite()) { actions = actions.concat(RdDCombatManager.listActionsCreature(actor.itemTypes['competencecreature'])); - } else { + } else if (actor.isPersonnage()) { // Recupération des items 'arme' const armes = actor.itemTypes['arme'].filter(it => RdDItemArme.isArmeUtilisable(it)) //.concat(RdDItemArme.empoignade())