diff --git a/layout.sty b/layout.sty index 37048c5ba368782168e387d5a9acbcf764f7f8ca..1243a2d6530e76d18cba68ade4fd06782c504f7c 100644 --- a/layout.sty +++ b/layout.sty @@ -324,10 +324,19 @@ bookmarks=true]% %%% \tn shows a tie number. -\newcommand\tn[1]{% +\newcounter{tn} +\setcounter{tn}{7} +\newcommand\tn[1][\arabic{tn}]{% \gls{tn}~#1% } +\newcommand\roll[2]{% + \setcounter{tn}{7}% + \addtocounter{tn}{\value{#1}}% + \addtocounter{tn}{\value{#2}}% + #1 + #2% +} + %%% The dice-face (\dicef) command shows an actual die, or multiple %%% dice, equal to a number. The optional argument lets it show %%% as \large or similar. diff --git a/stats.sty b/stats.sty index 4e01db252f7ff3fa32332d892a4a4649c4298796..b4c3c2342991534cdeabfea64f800c48df1425f8 100644 --- a/stats.sty +++ b/stats.sty @@ -854,7 +854,7 @@ Viscid (on a tie, the attacker \emph{must} inflict Damage, but the weapon sticks into the body, \setcounter{track}{\value{str}}% \addtocounter{track}{7}% - \tn{\arabic{track}} to pull out)% + \tn[\arabic{track}] to pull out)% } \newcommand{\amphibious}{