From c241fb0aad0723131fd5e84fe336fad5094f3580 Mon Sep 17 00:00:00 2001 From: Malin Freeborn <malinfreeborn@posteo.net> Date: Sat, 18 May 2024 12:45:03 +0200 Subject: [PATCH] give thrown weapons weight This counter has not yet been added to any statblocks. --- arms.sty | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arms.sty b/arms.sty index 3b47d9d9..9b0e753b 100644 --- a/arms.sty +++ b/arms.sty @@ -49,17 +49,21 @@ #1 \weaponName & \absNum{weaponBonus} & \absNum{weaponDamage} & \arabic{heft} & \arabic{weaponWeight} } +\newcounter{secondWeaponWeight} + \newcommand\rangedWeapon[4][0]{% \setcounter{track}{7}% \addtocounter{track}{#1}% \addtocounter{track}{\value{Dexterity}}% \addtocounter{track}{\value{Projectiles}}% + \setcounter{secondWeaponWeight}{#3}% + \addtocounter{secondWeaponWeight}{-4}% \setcounter{enc}{#3}% #2 (\glsentrytext{tn}~\arabic{track}, \dmg{enc}, \glsentrytext{ap}~{#4})% } \newcommand\smolCrossBow{% - \rangedWeapon{Crossbow}{6}{1}% + \rangedWeapon[2]{Crossbow}{6}{1}% } % Shields work much like weapons, except that their Bonus is high, their initiative cost is low, but their attack is poor. -- GitLab