diff --git a/arms.sty b/arms.sty index d572c0fa1bfc9afe887069d518c528ae3c8300e1..5b875e0d99bd10c7df4934563570d044a8cc7a8a 100644 --- a/arms.sty +++ b/arms.sty @@ -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 diff --git a/monsters.sty b/monsters.sty index a447ba74592b65edb97601c115caf5c6d8d4027a..0b5c79766fbc0c714dfe4f01feb5fcf8f51c3628 100644 --- a/monsters.sty +++ b/monsters.sty @@ -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 {}