diff --git a/magic.sty b/magic.sty index 49520a26a63d4b12b328e7f54caa50f1f2df9643..27dcb3810bcb9dee9d88a2e788c8b9403f6fc2c6 100644 --- a/magic.sty +++ b/magic.sty @@ -249,4 +249,37 @@ \lootMagic% } - +\newcommand\artefact[9]{ + \settoggle{fullSpells}{false} + \foreach \s in {Air, Fire, Earth, Water, Fate}% + {\setcounter{\s}{0}} + \paragraph{\adforn{54}~#1~\adforn{26}} + \index{Artefacts!#1} + #2 + \setcounter{Intelligence}{#3} + \setcounter{Wits}{#4} + \setcounter{Charisma}{#5} + \par + #7 + \begin{tabularx}{\linewidth}{lL} + \hiderowcolors + \textbf{Mission:} & \emph{#6!} \\ + \textbf{Mind:} & + Intelligence \arabic{Intelligence}, Wits \arabic{Wits}, Charisma \arabic{Charisma} + \\ + \textbf{Spheres:} & + \foreach \s in {Air, Fire, Earth, Water, Fate}% + {\ifnum\value{\s}>0 + \s~\arabic{\s}, + \fi} + \\ + \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 +}