From bbc7b222fc7b0aa0bb901d1185c1467be595e47c Mon Sep 17 00:00:00 2001 From: Malin Freeborn <malinfreeborn@posteo.net> Date: Mon, 6 Mar 2023 00:26:11 +0100 Subject: [PATCH] allow \weapon command to display in cs --- arms.sty | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/arms.sty b/arms.sty index 4d63ce77..1de1022d 100644 --- a/arms.sty +++ b/arms.sty @@ -39,15 +39,18 @@ \arabic{weaponBonus} & \ifnum\value{damage}>0 +\fi\arabic{damage} & \arabic{heft} & - \arabic{weight} & - \ifnum#6<1\else - \ifnum#6>200 - \divide\value{cost} by 100 - \arabic{cost} sp - \else - \arabic{cost} cp + \arabic{weight} + \iftoggle{examplecharacter}{}{% Example characters have all the weapon stats except cost, so we only need cost for the weapon charts in the core book. + & + \ifnum#6<1\else + \ifnum#6>200 + \divide\value{cost} by 100 + \arabic{cost} sp + \else + \arabic{cost} cp + \fi \fi - \fi + } \\ } } -- GitLab