diff --git a/Warhammer Fantasy Roleplay 4e Official/wfrp4.html b/Warhammer Fantasy Roleplay 4e Official/wfrp4.html index 1a93932722..8a9d10b62e 100644 --- a/Warhammer Fantasy Roleplay 4e Official/wfrp4.html +++ b/Warhammer Fantasy Roleplay 4e Official/wfrp4.html @@ -5636,8 +5636,8 @@
@@ -10214,7 +10214,7 @@ const enc = parseInt(values[`repeating_armour_${id}_armour_enc`]) const total = (worn === "on") ? enc - 1 : enc || 0 - total_enc += total; + total_enc += total >= 0 ? total : 0; }); weapons_array.forEach(id => { @@ -10231,7 +10231,7 @@ const total = (worn === "on") ? (enc - 1) * amount : enc * amount; - if (inenc === "on") total_enc += total; + if (inenc === "on") total_enc += total >= 0 ? total : 0; }); setAttrs({encumbrance:total_enc})