Big WIP...
This commit is contained in:
@ -109,7 +109,7 @@ export class RdDItemCompetence extends Item {
|
||||
|
||||
/* -------------------------------------------- */
|
||||
static isMalusEncombrementTotal(competence) {
|
||||
return competence.name.toLowerCase().match(/(natation|acrobatie)/);
|
||||
return competence?.name.toLowerCase().match(/(natation|acrobatie)/) || 0;
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
|
Reference in New Issue
Block a user