Fix: affichage de la fortune avec arrondis

Affichage en sols + deniers
This commit is contained in:
Vincent Vandemeulebrouck
2022-12-18 19:16:23 +01:00
parent f40dbd5d7b
commit 886307f24c
3 changed files with 10 additions and 2 deletions

View File

@ -57,7 +57,7 @@ export class RdDActorSheet extends ActorSheet {
notes: await TextEditor.enrichHTML(this.object.system.notes, { async: true }),
notesmj: await TextEditor.enrichHTML(this.object.system.notesmj, { async: true }),
calc: {
fortune: Monnaie.getFortune(this.actor),
fortune: Monnaie.getFortuneSolsDeniers(this.actor),
encTotal: await this.actor.computeEncombrementTotalEtMalusArmure(),
surenc: this.actor.computeMalusSurEncombrement(),
prixTotalEquipement: this.actor.computePrixTotalEquipement(),