From d7b13090b263281377853559c02ea81c9c5ebe1a Mon Sep 17 00:00:00 2001
From: Malin Freeborn <malinfreeborn@posteo.net>
Date: Fri, 3 May 2024 18:34:44 +0200
Subject: [PATCH] fully compute encumbrance

---
 stats.sty | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/stats.sty b/stats.sty
index d508cf53..19fc3236 100644
--- a/stats.sty
+++ b/stats.sty
@@ -25,6 +25,8 @@
   MP: \arabic{mp},
   Grand Total: \arabic{xp}
   \par
+  Armour DR: \arabic{armourDR}
+  Armour Weight: \arabic{armourWeight}
 }
 
 %      _        _   
@@ -792,6 +794,7 @@
 \newcommand\computeStats{
   \setcounter{hp}{6}%
   \addtocounter{hp}{\value{Strength}}%
+  \addtocounter{hp}{\value{wounds}}%
   % Stats for allies don't need to show Combat +1 as 'TN 8 to hit', they just need to show '+1'.
   \ifnum\value{weaponBonus}>0\set{att}{Combat}\else\set{att}{Brawl}\fi%
   \addtocounter{att}{\value{Dexterity}}%
@@ -840,6 +843,7 @@
     \addtocounter{encumbrance}{-\value{hp}}%
   \fi%
   \addtocounter{ap}{-\value{encumbrance}}%
+  \addtocounter{toHit}{-\value{encumbrance}}%
 }
 
 %%     _               _        _
-- 
GitLab