From 306ecacc98060767234e730620fccc97d4d1ad1a Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Fri, 13 Jan 2023 01:45:00 +0100 Subject: [PATCH] =?UTF-8?q?Les=20commerces=20ne=20g=C3=A8rent=20pas=20d'en?= =?UTF-8?q?combrement?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/actor/base-actor.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/module/actor/base-actor.js b/module/actor/base-actor.js index b360811c..21c682c0 100644 --- a/module/actor/base-actor.js +++ b/module/actor/base-actor.js @@ -350,6 +350,14 @@ export class RdDBaseActor extends Actor { } /* -------------------------------------------- */ + computeMalusSurEncombrement() { + return 0; + } + + getEncombrementMax() { + return 0; + } + async computeEncTotal() { if (!this.pack) { this.encTotal = this.items.map(it => it.getEncTotal()).reduce(Misc.sum(), 0);