Fix: la valeur de l'inventaire hors fortune
La valeur de l'inventaire ne tient plus compte de la fortune
This commit is contained in:
parent
886307f24c
commit
8e6d4fbb89
@ -1406,6 +1406,7 @@ export class RdDActor extends Actor {
|
||||
/* -------------------------------------------- */
|
||||
computePrixTotalEquipement() {
|
||||
const valeur = this.items.filter(it => it.isInventaire())
|
||||
.filter(it => !it.isMonnaie())
|
||||
.map(it => it.valeurTotale())
|
||||
.reduce(Misc.sum(), 0);
|
||||
return valeur;
|
||||
|
Loading…
Reference in New Issue
Block a user