From 47611cbca1eb5cc742a50765f4d6eac9a3a8f85c Mon Sep 17 00:00:00 2001 From: sladecraven Date: Sun, 3 Jan 2021 09:59:30 +0100 Subject: [PATCH] #95 : Utilisation uniquement des armes equipees pour attaque/initiative/combat --- 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 ef069170..634d3371 100644 --- a/module/rdd-combat.js +++ b/module/rdd-combat.js @@ -287,7 +287,7 @@ export class RdDCombat { /* -------------------------------------------- */ _filterArmesParade(items, competence) { - let itemsEquipped = items.filter(item => item.equipe == true ); + let itemsEquipped = items.filter(item => item.data.equipe == true ); switch (competence.data.categorie) { case 'tir': case 'lancer':