Ajout "kg" au poids

This commit is contained in:
Vincent Vandemeulebrouck 2024-12-06 22:58:37 +01:00
parent 5bf1ecaea3
commit d5686b81ed

View File

@ -322,7 +322,7 @@ export class RdDStatBlockParser {
actorData.taille = taille.value;
}
// Get weight
const poids = XRegExp.exec(statString, XRegExp("(?<value>\\d+) kg", 'giu'));
const poids = XRegExp.exec(statString, XRegExp("(?<value>\\d+ kg)", 'giu'));
if (poids?.value) {
actorData.poids = poids.value;
}