Fix calcul valeur équipement

This commit is contained in:
Vincent Vandemeulebrouck 2022-12-02 21:15:19 +01:00
parent 344540ea8e
commit ac77c6da9e

View File

@ -1362,7 +1362,7 @@ export class RdDActor extends Actor {
const valeur = this.items.filter(it => it.isEquipement()) const valeur = this.items.filter(it => it.isEquipement())
.map(it => it.valeurTotale()) .map(it => it.valeurTotale())
.reduce(Misc.sum(), 0); .reduce(Misc.sum(), 0);
return valeur / 100; return valeur;
} }
/* -------------------------------------------- */ /* -------------------------------------------- */