Fix des malus encombrement

This commit is contained in:
Vincent Vandemeulebrouck
2022-11-19 01:35:01 +01:00
parent f953348f4e
commit 5565bb7a48
5 changed files with 28 additions and 15 deletions

View File

@ -1280,6 +1280,10 @@ export class RdDActor extends Actor {
await item.delete();
}
isSurenc() {
return this.isPersonnage() ? (this.system.compteurs.surenc.value < 0) : false
}
/* -------------------------------------------- */
computeMalusSurEncombrement() {
switch (this.type) {