This commit is contained in:
sladecraven 2021-12-18 10:06:24 +01:00
parent 1fcc4f60a1
commit aca949ca92
3 changed files with 7 additions and 3 deletions

View File

@ -1316,8 +1316,11 @@ export class RdDActor extends Actor {
/* -------------------------------------------- */ /* -------------------------------------------- */
async computeEncombrementTotalEtMalusArmure() { async computeEncombrementTotalEtMalusArmure() {
await this.computeMalusArmure(); if ( !this.pack ) {
return this.computeEncombrement(); await this.computeMalusArmure();
return this.computeEncombrement();
}
return 0;
} }
/* -------------------------------------------- */ /* -------------------------------------------- */

File diff suppressed because one or more lines are too long

View File

@ -2,7 +2,7 @@
"name": "foundryvtt-reve-de-dragon", "name": "foundryvtt-reve-de-dragon",
"title": "Rêve de Dragon", "title": "Rêve de Dragon",
"description": "Rêve de Dragon RPG for FoundryVTT", "description": "Rêve de Dragon RPG for FoundryVTT",
"version": "1.5.50", "version": "1.5.51",
"manifestPlusVersion": "1.0.0", "manifestPlusVersion": "1.0.0",
"minimumCoreVersion": "0.8.0", "minimumCoreVersion": "0.8.0",
"compatibleCoreVersion": "9", "compatibleCoreVersion": "9",