From a6c68ce416673b74b4d9b774bf6e3a2ad88869d0 Mon Sep 17 00:00:00 2001 From: Malin Freeborn <malinfreeborn@posteo.net> Date: Fri, 19 Jan 2024 00:30:37 +0100 Subject: [PATCH] give artefacts default weight --- magic.sty | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/magic.sty b/magic.sty index b54eb312..66b6d473 100644 --- a/magic.sty +++ b/magic.sty @@ -250,25 +250,25 @@ \lootMagic% } -\newcommand\artefact[8]{ +\newcommand\artefact[9][3]{ \settoggle{fullSpells}{false} \clean \foreach \s in {Air, Fire, Earth, Water, Fate}% {\setcounter{\s}{0}} - \setcounter{Intelligence}{#3} - \setcounter{Wits}{#4} - \setcounter{Charisma}{#5} - #8 - \paragraph{\adforn{54}~#1~\adforn{26}\hspace{1em}} - \label{#1} - \index{Artefacts!#1} - #2 + \setcounter{Intelligence}{#4} + \setcounter{Wits}{#5} + \setcounter{Charisma}{#6} + #9 + \paragraph{\adforn{54}~#2~\adforn{26}\hspace{1em}} + \label{#2} + \index{Artefacts!#2} + #3 \hint{\gls{weight} #1} \par \noindent \begin{tabularx}{\linewidth}{rX} \hiderowcolors - \textbf{Mission:} & \emph{#6!} \\ - \textbf{Base Spell:} & #7 \\ + \textbf{Mission:} & \emph{#7!} \\ + \textbf{Base Spell:} & #8 \\ \textbf{Mind:} & Intelligence \arabic{Intelligence}, Wits \arabic{Wits}, Charisma \arabic{Charisma} \\ -- GitLab