10.4.0: Pour Noël, je voudrais plein de cadeaux #598
@ -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…
x
Reference in New Issue
Block a user