10.4.0: Pour Noël, je voudrais plein de cadeaux #598

Merged
uberwald merged 15 commits from VincentVk/foundryvtt-reve-de-dragon:v10 into v10 2022-12-23 09:50:27 +01:00
Showing only changes of commit 8e6d4fbb89 - Show all commits

View File

@ -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;