Encombrement et malus armure #661
@ -1118,7 +1118,7 @@ export class RdDActor extends RdDBaseActor {
|
|||||||
case 'entite': case 'vehicule':
|
case 'entite': case 'vehicule':
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return Math.min(0, this.getEncombrementMax() - Math.round(Number(this.getEncTotal())));
|
return Math.min(0, Math.floor(this.getEncombrementMax() - this.encTotal));
|
||||||
}
|
}
|
||||||
|
|
||||||
getMessageSurEncombrement() {
|
getMessageSurEncombrement() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user