From 8186b973f546209c2bab9b330ec958a4246d7094 Mon Sep 17 00:00:00 2001
From: Malin Freeborn <malinfreeborn@posteo.net>
Date: Mon, 6 May 2024 16:20:59 +0200
Subject: [PATCH] update jellies

---
 monsters.sty | 6 +++---
 stats.sty    | 5 ++---
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/monsters.sty b/monsters.sty
index 151f27ae..a3299f84 100644
--- a/monsters.sty
+++ b/monsters.sty
@@ -1319,11 +1319,11 @@
     {\undead}% ABILITIES
 }
 
-\newcommand\jelly{%
+\newcommand\jelly[1][\value{r4}]{%
   \swarm[\gloopy%
-  \ifnum\value{r4}=3%
+  \ifnum#1=3%
     \acidSpray%
-  \fi]{\ifcase\value{r4}\relax\or%
+  \fi]{\ifcase#1\relax\or%
     Transluscent %
   \or%
     Red%
diff --git a/stats.sty b/stats.sty
index f21e8367..5cc6f396 100644
--- a/stats.sty
+++ b/stats.sty
@@ -961,7 +961,6 @@
     ]
   \randomize
   \clean
-  #1
   \set{hp}{#3}
   \set{Dexterity}{#4}
   \set{att}{#4}
@@ -970,7 +969,8 @@
   \set{ap}{#5}
   \addtocounter{ap}{3}
   \set{Wits}{#6}
-
+  #1
+  \set{freeHP}{hp}
   \scshape
   \begin{tabularx}{.8\textwidth}{YYYY}
   \hiderowcolors
@@ -993,7 +993,6 @@
   \end{tabularx}
   \ifdefempty{\Abilities}{}{%
     \normalfont
-    \par
     \par\textbf{Abilities:} \Abilities
   }%
   \end{tcolorbox}%
-- 
GitLab