Encombrement et malus armure #661

Merged
uberwald merged 3 commits from VincentVk/foundryvtt-reve-de-dragon:v11 into v11 2023-07-11 14:46:15 +02:00
Showing only changes of commit a118dc7334 - Show all commits

View File

@ -1118,7 +1118,7 @@ export class RdDActor extends RdDBaseActor {
case 'entite': case 'vehicule':
return 0;
}
return Math.min(0, this.getEncombrementMax() - Math.round(Number(this.getEncTotal())));
return Math.min(0, Math.floor(this.getEncombrementMax() - this.encTotal));
}
getMessageSurEncombrement() {