From 1cf4feae607b003ba00afee934ba1407ce7a41a5 Mon Sep 17 00:00:00 2001
From: Malin Freeborn <malinfreeborn@posteo.net>
Date: Sun, 19 Nov 2023 14:43:27 +0100
Subject: [PATCH] allow swarm as genExample

---
 stats.sty | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/stats.sty b/stats.sty
index e4bcea5b..444d618e 100644
--- a/stats.sty
+++ b/stats.sty
@@ -825,7 +825,7 @@
     \renewcommand\abilities{#1}
 
     \scshape
-    \begin{tabularx}{.8\textwidth}{Yccc}
+    \begin{tabularx}{.8\textwidth}{YYYY}
     \hiderowcolors
 
     \Gls{ap}: \arabic{ap} & Att: $\arabic{att} - HP$ 
@@ -836,7 +836,13 @@
       & Dam: 1
     }
     \\
-    & \showBoxes & \\
+    &
+    \iftoggle{genExamples}%
+      {HP: \arabic{hp}
+      \\
+      }%
+      {\showBoxes }
+      & \\ 
     \end{tabularx}
 
     \normalfont
-- 
GitLab