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

make lootJewellery more random

parent 68a513a2
Branches
No related tags found
No related merge requests found
......@@ -73,13 +73,17 @@
\newcommand{\lootJewellery}{%
\iftoggle{bestiarychapter}{jewellery worth \ifodd\value{r2}$3D6$sp\else$1D6+2$\glspl{gp}\fi}%
{\ifnumcomp{\value{r2}}{>}{1}{\ifodd\value{r3}%
{\ifnumcomp{\value{r2}}{>}{1}{\randomtwo\ifodd\value{r3}%
\randomthree%
\ifodd\value{r4}%
\randomfour%
golden necklace worth \arabic{r12}~\glspl{sp}\else%
golden ring worth \thechapter~\glspl{sp}\fi\else%
jewel encrusted dagger worth \thepage~\glspl{sp}\fi}%
{\ifodd\value{r3}%
\randomthree%
\ifodd\value{r4}%
\randomfour%
ornate silver earrings worth 1 \glspl{gp}\else
gem encrusted broach worth \thechapter \glspl{gp}\fi\else%
\randomthreeB saphire pendant worth \arabic{r3b}\glspl{gp}\fi}}}
......
......@@ -733,7 +733,6 @@ Academics~1, \ifodd\value{page} Crafts~\arabic{r2}, \else \fi Deceit~1, \ifodd\v
\ifnum\value{noAppearing}=1
\ifnum\value{r3}>2
\ifnum\value{r12}>6
\knacks{\songCaster}
\Path{%
\ifodd\value{r3b}%
\enchantment, %
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment