diff --git a/module/apps/rdd-import-stats.js b/module/apps/rdd-import-stats.js index bb0b9509..71b29ce7 100644 --- a/module/apps/rdd-import-stats.js +++ b/module/apps/rdd-import-stats.js @@ -429,9 +429,9 @@ export class RdDStatBlockParser { actorData.taille = taille.value; } // Get weight - const poids = XRegExp.exec(statString, XRegExp("(?\\d+ kg)", 'giu')); + const poids = XRegExp.exec(statString, XRegExp(",\\s+(?\\d+)\\s+kg", 'giu')); if (poids?.value) { - actorData.poids = poids.value; + actorData.poids = poids.value + ' kg'; } // Get cheveux const cheveux = XRegExp.exec(statString, XRegExp("kg,\\s+(?[A-Za-zÀ-ÖØ-öø-ÿ\\s\\-]+),\\s+yeux", 'giu'));