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

stop weapons getting too heavy

parent a26aff05
Branches
No related tags found
No related merge requests found
...@@ -29,15 +29,17 @@ ...@@ -29,15 +29,17 @@
\setcounter{heft}{#4}% \setcounter{heft}{#4}%
\setcounter{weaponWeight}{#4}% \setcounter{weaponWeight}{#4}%
\ifnum#3>-1% If the weapon's attack bonus is positive, \ifnum#3>-1% If the weapon's attack bonus is positive,
\addtocounter{heft}{#3}% add it to the AP cost and
\addtocounter{weaponWeight}{#3}% weight rating, \addtocounter{weaponWeight}{#3}% weight rating,
\addtocounter{weaponWeight}{#3}% weight rating again, \addtocounter{weaponWeight}{-2}% weight rating,
\roundUp{weaponWeight}% half weight rating \addtocounter{heft}{#3}% add it to the AP cost and
\roundUp{heft}% then the AP cost by 2. \roundUp{heft}% then the AP cost by 2.
\fi% \fi%
#1% #1%
\addtocounter{att}{\value{weaponBonus}}% \addtocounter{att}{\value{weaponBonus}}%
\ifnum\value{heft}<1\setcounter{heft}1\fi% \ifnum\value{heft}<1\setcounter{heft}1\fi%
\ifnum\value{weaponWeight}<#3\setcounter{weaponWeight}#3\fi%
\ifnum\value{weaponWeight}<1\setcounter{weaponWeight}1\fi%
\ifnum#4<0\addtocounter{weaponWeight}{-1}\fi%
\renewcommand\weaponName{#2}% \renewcommand\weaponName{#2}%
} }
...@@ -117,7 +119,7 @@ ...@@ -117,7 +119,7 @@
% SHIELDS % SHIELDS
\newcommand{\buckler}{\weapon{Buckler}{2}{-2}} \newcommand{\buckler}{\weapon{Buckler}{2}{-2}}
\newcommand{\roundshield}{\weapon{Round Shield}{2}{-1}} \newcommand{\roundshield}{\weapon{Round Shield}{2}{0}}
\newcommand{\kiteshield}{\weapon{Kite Shield}{3}{0}} \newcommand{\kiteshield}{\weapon{Kite Shield}{3}{0}}
% RANGED WEAPONS % RANGED WEAPONS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment