From 417257d1e987bbcf11587d1d2b346ee4d65a4aa5 Mon Sep 17 00:00:00 2001 From: Malin Freeborn <malinfreeborn@posteo.net> Date: Fri, 12 Jan 2024 17:46:37 +0100 Subject: [PATCH] remove required spells under \artefact --- magic.sty | 11 +---------- test.tex | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/magic.sty b/magic.sty index 03eba8d9..df8c9b9d 100644 --- a/magic.sty +++ b/magic.sty @@ -250,7 +250,7 @@ \lootMagic% } -\newcommand\artefact[9]{ +\newcommand\artefact[8]{ \settoggle{fullSpells}{false} \foreach \s in {Air, Fire, Earth, Water, Fate}% {\setcounter{\s}{0}} @@ -261,9 +261,7 @@ \setcounter{Intelligence}{#3} \setcounter{Wits}{#4} \setcounter{Charisma}{#5} - \par #7 - \par \noindent \begin{tabularx}{\linewidth}{rX} \hiderowcolors @@ -279,11 +277,4 @@ \\ \textbf{Skills:} & #8 \\ \end{tabularx} - \begin{center}% - \textcolor{\pageSideColor}{\large\Pentagram} \textbf{Spells} \textcolor{\pageSideColor}{\large\Pentagram} - \end{center}% - \begin{description} - #9 - \end{description} - \bigLine } diff --git a/test.tex b/test.tex index 2ae0bfa7..d5a74708 100644 --- a/test.tex +++ b/test.tex @@ -558,6 +558,21 @@ When using a bestiary chapter, the stats appear as dice rolls, rather than fixed \lipsum[\arabic{r4}] +\artefact{The Bladder Skull}% Name + {Three human skulls, tied together with their guts, each stuffed with their own inflated bladder. + The Preservation spell cast upon it stops the bladders deflating.}% Body + {2}% Intelligence + {0}% Wits + {3}% Charisma + {to make everyone see as the dead see}% Mission + { + \setcounter{Fate}{2} + \setcounter{Air}{2} + \setcounter{Water}{1} + }% Spheres + {Projectiles~2, Academics~1, Crafts~1, Vigilance~2}% Skills + + \humanbard \lipsum[2] -- GitLab