From a4a115f58078d24f146d230d038106887f555788 Mon Sep 17 00:00:00 2001
From: Malin Freeborn <malinfreeborn@posteo.net>
Date: Wed, 7 Feb 2024 00:57:52 +0100
Subject: [PATCH] give cats more lives

---
 monsters.sty | 35 ++++++++++++++++++++++-------------
 stats.sty    |  7 ++++++-
 2 files changed, 28 insertions(+), 14 deletions(-)

diff --git a/monsters.sty b/monsters.sty
index 77bf32db..f26eb961 100644
--- a/monsters.sty
+++ b/monsters.sty
@@ -1983,19 +1983,28 @@
 }
 
 \newcommand{\cat}[1][\npc{\A}{Cat}]{
-  #1
-  \randomtwo
-  \randomtwoB
-  \addtocounter{r2b}{2}
-\animal{-5}% STRENGTH
-{\arabic{enc}}% DEXTERITY 
-{\arabic{r2b}}% SPEED
-{3}% WITS
-{0}% DR
-{\arabic{r2}}% AGGRESSION
-{Vigilance~2, Wyldcrafting~2}% SKILLS
-{\quadraped, \claws}% ABILITIES
-{}%
+    #1
+    \randomtwo
+    \randomtwoB
+    \randomtwoC
+    \addtocounter{r2b}{2}
+  \animal{-5}% STRENGTH
+  {\arabic{enc}}% DEXTERITY 
+  {\arabic{r2b}}% SPEED
+  {3}% WITS
+  {0}% DR
+  {\arabic{r2}}% AGGRESSION
+  {}% SKILLS
+  {\quadraped, \claws}% ABILITIES
+  {
+    \setcounter{Wyldcrafting}{2}
+    \setcounter{Vigilance}{\value{r2c}}
+    \setcounter{Charisma}{\value{r2c}}
+    \ifodd\value{r3}
+      \setcounter{Fate}{\value{r2c}}
+      \setcounter{fp}{3}
+    \fi
+  }%
 }
 
 \newcommand{\huntingdog}[1][\npc{\T[\arabic{r4b}]\A}{\arabic{r4b} Hunting Dogs}]{
diff --git a/stats.sty b/stats.sty
index 324e3bc0..82ca34d0 100644
--- a/stats.sty
+++ b/stats.sty
@@ -631,7 +631,12 @@
 	Strength & \arabic{Strength} & Dexterity & \arabic{Dexterity} & Speed & \arabic{Speed} \\
 \iftoggle{mind}{
 	Intelligence & \arabic{Intelligence}  & Wits & \arabic{Wits} & Charisma & \arabic{Charisma}  \\}{%
-	&& Wits & \arabic{Wits} \\
+	&& Wits & \arabic{Wits} 
+  &
+  \ifnum\value{Charisma}>0
+  Charisma & \arabic{Charisma}
+  \fi
+  \\
 	}
 
 \end{tabularx}
-- 
GitLab