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

more random and gold standard elf

parent 6be022cf
No related branches found
No related tags found
No related merge requests found
......@@ -575,7 +575,7 @@
{1}%SPEED
{{\arabic{age}}{2}{1}}%MENTAL ATTRIBUTES
{0}{\ifodd\value{list}1\else2\fi}%
{\ifodd\thepage\else Projectiles, \arabic{age}\fi Academics \arabic{age}, Athletics 1, \ifodd \thechapter Crafts \arabic{age}\else Performance \arabic{age}\fi, Stealth 1, Survival 2, Vigilance \arabic{age}\Path{Blood \ifodd\thechapter\else \& Song\fi}{\setcounter{enc}{\value{age}}\addtocounter{enc}{2}Aldaron \arabic{enc}, \addtocounter{age}{1}Enchantment \arabic{age}}\addtocounter{age}{-1} \ifodd\thechapter\else Fate \arabic{enc}\fi, \ifodd\thepage Polymorph \arabic{age}\else Invocation \arabic{age}\fi}{\ifnumcomp{\value{enc}}{>}{-1}{\rapier, dagger, shortbow}{} %
{\ifodd\value{gold}\else Projectiles, \arabic{age}\fi Academics \arabic{age}, Athletics 1, \ifodd \thechapter Crafts \arabic{age}\else Performance \arabic{age}\fi, Stealth 1, Survival 2, Vigilance \arabic{age}\Path{Blood \ifodd\thechapter\else \& Song\fi}{\addtocounter{enc}{1} Aldaron \arabic{enc}, \addtocounter{age}{1}Enchantment \arabic{age}}\addtocounter{age}{-1} \ifodd\value{gold}\else Fate \arabic{random}\fi\addtocounter{gold}{1}, \ifodd\value{gold} Polymorph \arabic{age}\else Invocation \arabic{age}\fi}{\ifnumcomp{\value{list}}{>}{2}{\rapier, dagger, shortbow}{} %
\ifnumcomp{\thechapter}{=}{\value{bestiarychapter}}{$3D6$sp worth of jewellery}{\ifnumcomp{\thechapter}{>}{3}{\multiply\value{gold} by \thepage \ifnumcomp{\value{gold}}{>}{100}{\divide\value{gold} by 100 \ifnumcomp{\value{enc}}{>}{4}{\arabic{gold} sp worth of earrings and bracelets}{random magical item}}{Ornamental dagger, worth \thepage sp}}{one necklace worth \thechapter sp}}}%
{\multiply\value{age} by 2 \mana{\value{age}}}
}
......@@ -854,6 +854,19 @@
{}
}
\newcommand{\nurawoodspy}{
\randomtwo\addtocounter{enc}{4}\addtocounter{random}{1}
\animal{\arabic{random}}% STRENGTH
{\arabic{enc}}% DEXTERITY
{3}% SPEED
{2}% WITS
{3}% DR
{\arabic{random}}% AGGRESSION
{Athletics 2, Stealth 4, Survival 2, Tactics 2}% SKILLS
{None}% ABILITIES
{}
}
\newcommand{\nurawolf}{
\animal{1}% STRENGTH
{1}% DEXTERITY
......
......@@ -228,14 +228,22 @@ Roll & Result \\
%%% Random Number by grabbing last page digit
\newcounter{random}
\setcounter{random}{1}
\newcounter{increment}
\setcounter{increment}{1}
\newcommand{\random}{
\addtocounter{random}{\value{page}}\addtocounter{random}{1}
\multiply\value{random} by \value{chapter}
\addtocounter{random}{\value{page}}
\multiply\value{random} by \value{chapter}\addtocounter{random}{\value{increment}}
\whileboolexpr{
test {\ifnumcomp{\value{random}}{>}{100}}
}
{\addtocounter{random}{-100}}
\whileboolexpr{
test {\ifnumcomp{\value{random}}{>}{10}}
}
{\addtocounter{random}{-10}}
\addtocounter{increment}{1}
}
\newcommand{\randomthree}{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment