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

rework shields

parent 68f5d578
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,11 @@
\newtoggle{chart}
\settoggle{chart}{false}
\newcounter{initiative}
\newcounter{weight}
\newcounter{damage}
\newcounter{shieldBonus}
\newcounter{shieldWeight}
\newcounter{shieldInit}
\newcounter{cost}
\newcounter{heft}% used to see how many Init points to swing a weapon
......@@ -45,13 +49,43 @@
\divide\value{cost} by 100
\arabic{cost} sp
\else
\arabic{cost} sp
\arabic{cost} cp
\fi
\fi
\\
}
}
% Shields work much like weapons, except that their Bonus is high, their initiative cost is low, but their attack is poor.
\newcommand\shield[3][]{
\setcounter{shieldBonus}{#3}
\addtocounter{shieldBonus}{2}
\setcounter{shieldWeight}{#3}
\setcounter{shieldInit}{#3}
\addtocounter{shieldInit}{2}
\setcounter{cost}{87}
#1
\iftoggle{bling}{
#2 shield (+\arabic{shieldBonus}/ \arabic{shieldInit})
}{
#2 &
+\arabic{shieldBonus} &
\arabic{shieldInit} &
\arabic{shieldWeight} &
\multiply\value{cost} by 8
\multiply\value{cost} by \value{shieldBonus}
\ifnum\value{cost}>200
\divide\value{cost} by 100
\arabic{cost} sp
\else
\arabic{cost} cp
\fi
\\
}
}
% Use this 'weapon entry' command to place items in the weapons table, like this:
%\weapon{Name}%
%{Bonus}
......@@ -90,8 +124,9 @@
% SHIELDS
\newcommand{\longbow}{Longbow}
\newcommand{\shield}{\addtocounter{dex}{1}shield}
\newcommand{\bucklar}{\addtocounter{dex}{1}bucklar shield}
\newcommand{\bucklar}{\shield{Bucklar}{0}}
\newcommand{\roundshield}{\shield{Round}{1}}
\newcommand{\kiteshield}{\shield{Kite}{2}}
% ARMOUR
......
......@@ -591,7 +591,7 @@ Academics~1, \ifodd\value{page} Crafts~\arabic{r2}, \else \fi Deceit~1, \ifodd\v
\partialchain%
\fi, %
\ifodd\value{r4}
\shield,
\roundshield,
\fi
\ifnum\value{enc}=3\lootMedium\else\lootSmall\fi}% EQUIPMENT
{}
......@@ -637,7 +637,7 @@ Academics~1, \ifodd\value{page} Crafts~\arabic{r2}, \else \fi Deceit~1, \ifodd\v
\fi, %
\partialplate, %
\ifodd\value{r4}
\shield,
\roundshield,
\fi
\ifnum\value{enc}=3\lootMedium\else\lootSmall\fi}% EQUIPMENT
{}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment