From 440a6de3f83a043c8fbdb90bc3fda48abf326077 Mon Sep 17 00:00:00 2001 From: Malin Freeborn <malinfreeborn@posteo.net> Date: Fri, 2 Aug 2024 17:20:38 +0200 Subject: [PATCH] adjust statblock spacing --- stats.sty | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/stats.sty b/stats.sty index ba754957..ba2ae05a 100644 --- a/stats.sty +++ b/stats.sty @@ -30,13 +30,13 @@ } \newcommand\afterStatBlock{% - \iftoggle{genExamples}{\vspace{1em}}{% + \iftoggle{genExamples}{}{% \setcounter{enc}{\value{noAppearing}}% \addtocounter{enc}{4}% \needspace{\value{enc}\baselineskip}% - \showBoxes - }% - \ifdefempty{\NPCdescription}{}{% + \showBoxes% + }% + \ifdefempty{\NPCdescription}{\vspace{.5em}}{% \begin{multicols}{2}% \raggedright% \textbf{Description:}~\NPCdescription\nobreak% @@ -204,17 +204,15 @@ \setcounter{wounds}{0}% } -\newcommand\showBoxes{ +\newcommand\showBoxes{% \begin{center}% \renewcommand{\arraystretch}{0.9}% - \noindent% \ifnum\value{mp}>0% \Repeat{\value{noAppearing}}{\hpStat~\mpStat\quad}% \else% \Repeat{\value{noAppearing}}{\hpStat\quad}% \fi% \end{center}% - \par% } \newcounter{wounds} -- GitLab