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

set minimum value for \lootMedium

parent f8130f9d
Branches
Tags
No related merge requests found
...@@ -16,7 +16,10 @@ ...@@ -16,7 +16,10 @@
\newcommand{\lootMedium}{% \newcommand{\lootMedium}{%
\iftoggle{bestiarychapter}{% \iftoggle{bestiarychapter}{%
\ifodd\value{r2}$3D6$\else$2D6$\fi sp}{% \ifodd\value{r2}$3D6$\else$2D6$\fi sp}{%
\setcounter{gold}{\thepage}\divide\value{gold} by \value{r3}\arabic{gold} sp}% \setcounter{gold}{\thepage}\divide\value{gold} by \value{r4}%
\ifnum\value{gold}<4%
\setcounter{gold}{7}\fi%
\arabic{gold} sp}%
} }
\newcommand{\lootBig}{% \newcommand{\lootBig}{%
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment