Skip to content
Snippets Groups Projects
Commit 386299d8 authored by Malin Freeborn's avatar Malin Freeborn
Browse files

stop r12 going below 0

parent f39eb2cb
No related branches found
No related tags found
No related merge requests found
......@@ -344,7 +344,8 @@ Roll & Result \\
\newcommand{\randomdozen}{%
\ifnum\value{r12}>12\setcounter{r12}{2}\fi%
\ifnum\value{age}>0\addtocounter{r12}{\value{age}}\else\addtocounter{r12}{\value{r4}}\fi%
\ifnum\value{r12}<4\setcounter{r12}{2}\fi%
\ifnum\value{age}>0\addtocounter{r12}{\value{age}}\else\ifnum\value{r4}>0\addtocounter{r12}{\value{r4}}\else\addtocounter{r12}{3}\fi\fi%
}
\newcommand{\mapentry}[1]{\addtocounter{list}{1}\subsubsection{\arabic{list}: #1}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment