From e3be5fb6f2556512157ea8336035b38fe9e151a7 Mon Sep 17 00:00:00 2001
From: Malin Freeborn <malinfreeborn@posteo.net>
Date: Wed, 17 Jan 2024 00:20:03 +0100
Subject: [PATCH] remove typed spells from artefacts

---
 magic.sty | 6 +++---
 test.tex  | 1 -
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/magic.sty b/magic.sty
index 99461e5f..655ab538 100644
--- a/magic.sty
+++ b/magic.sty
@@ -250,9 +250,9 @@
   \lootMagic%
 }
 
-\newcommand\artefact[8]{
+\newcommand\artefact[7]{
   \settoggle{fullSpells}{false}
-  \setcounter{mp}{0}
+  \clean
   \foreach \s in {Air, Fire, Earth, Water, Fate}%
     {\setcounter{\s}{0}}
   \paragraph{\adforn{54}~#1~\adforn{26}}
@@ -277,7 +277,7 @@
         \addtocounter{mp}{3}%
       \fi}%
       \\%
-    \textbf{Skills:} & #8 \\
+    \textbf{Skills:} & \showSkills \\
     \textbf{\glspl{mp}:} &
     \ifnum\value{mp}>0
       \boxStat{mp}
diff --git a/test.tex b/test.tex
index 33b1a385..3b10cabd 100644
--- a/test.tex
+++ b/test.tex
@@ -568,7 +568,6 @@ When using a bestiary chapter, the stats appear as dice rolls, rather than fixed
     \setcounter{Air}{2}
     \setcounter{Water}{1}
   }% Spheres
-  {Projectiles~2, Academics~1, Crafts~1, Vigilance~2}% Skills
 
 
 \humanbard
-- 
GitLab