forked from public/foundryvtt-reve-de-dragon
Correction sur arrondi sur-encombrement
This commit is contained in:
@ -1114,7 +1114,7 @@ export class RdDActor extends RdDBaseActor {
|
||||
case 'entite': case 'vehicule':
|
||||
return 0;
|
||||
}
|
||||
return Math.min(0, this.getEncombrementMax() - Math.ceil(Number(this.getEncTotal())));
|
||||
return Math.min(0, this.getEncombrementMax() - Math.round(Number(this.getEncTotal())));
|
||||
}
|
||||
|
||||
getMessageSurEncombrement() {
|
||||
|
Reference in New Issue
Block a user