From c577fa5f29b5041d243bf371ad059f6e556723cd Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Sat, 14 Dec 2024 00:51:32 +0100 Subject: [PATCH] Correction import niveau 0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Correction d'import pour armes au niveau 0 (ou négatif) --- module/apps/rdd-import-stats.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/apps/rdd-import-stats.js b/module/apps/rdd-import-stats.js index 8d56b42e..fc91665b 100644 --- a/module/apps/rdd-import-stats.js +++ b/module/apps/rdd-import-stats.js @@ -267,7 +267,7 @@ export class RdDStatBlockParser { } let weapMatch = XRegExp.exec(statString, XRegExp(weapon.name + "(\\s*" + XREGEXP_WEAPON_MANIEMENT + ")?" - + "\\s+(?\\+\\d+)", 'giu')); + + "\\s+(?[\\+\\-]?\\d+)", 'giu')); if (weapMatch) { weapon = weapon.toObject(); weapon.system.equipe = 'true';