From 667845d77d12cd7c9434efdad087f0f13093e464 Mon Sep 17 00:00:00 2001 From: sladecraven Date: Sat, 23 Jan 2021 17:23:56 +0100 Subject: [PATCH] Correction combat --- module/item-arme.js | 2 +- system.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/item-arme.js b/module/item-arme.js index 72a9eed0..4e9fbd76 100644 --- a/module/item-arme.js +++ b/module/item-arme.js @@ -54,7 +54,7 @@ export class RdDItemArme extends Item { return arme.data.categorie_parade; } // pour compatibilité avec des personnages existants - if (arme.type == 'competencecreature') { + if (arme.type == 'competencecreature' || arme.data.categorie == 'creature' ) { return arme.data.categorie_parade || (arme.data.isparade ? 'sans-armes' : ''); } if (!arme.type.match(/arme|competencecreature/)) { diff --git a/system.json b/system.json index c42e0ac6..45f0f806 100644 --- a/system.json +++ b/system.json @@ -2,7 +2,7 @@ "name": "foundryvtt-reve-de-dragon", "title": "Rêve de Dragon", "description": "Rêve de Dragon RPG for FoundryVTT", - "version": "1.2.34", + "version": "1.2.35", "manifestPlusVersion": "1.0.0", "minimumCoreVersion": "0.7.5", "compatibleCoreVersion": "0.7.8",