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

update \showAttribute

parent 75404708
No related branches found
No related tags found
No related merge requests found
......@@ -53,12 +53,12 @@
\addtolength{\tabcolsep}{-0.53em}
\begin{tabular}{lcccccccccc}
& \tiny{-4} & \tiny{-3} & \tiny{-2} & \tiny{-1} & \tiny{0} & \tiny{1} & \tiny{2} & \tiny{3} & \tiny{4} \\
\showAttribute{Strength}{Strength}
\showAttribute{Dexterity}{Dexterity}
\showAttribute{Speed}{Speed}
\showAttribute{Intelligence}{Intelligence}
\showAttribute{Wits}{Wits}
\showAttribute{Charisma}{Charisma}
\showAttribute{Strength}
\showAttribute{Dexterity}
\showAttribute{Speed}
\showAttribute{Intelligence}
\showAttribute{Wits}
\showAttribute{Charisma}
\end{tabular}
}
......
......@@ -1014,7 +1014,7 @@ Roll & Result \\
\newcommand\currentCircle{}
\newcommand{\weeline}{\line(1,0){30} \hspace{.6cm}}
\newcommand\showAttribute[2]{
\newcommand\showAttribute[1]{
\setcounter{track}{-4}%
{#1}%
\whileboolexpr{%
......@@ -1023,7 +1023,7 @@ Roll & Result \\
{%
&%
\ifnum\value{track}>0%
\ifnum\value{track}>\value{#2}%
\ifnum\value{track}>\value{#1}%
\statCircle%
\else%
\statDot%
......@@ -1032,7 +1032,7 @@ Roll & Result \\
\ifnum\value{track}=0%
\raisebox{2pt}{\statDot[\footnotesize]}%
\else%
\ifnum\value{#2}>\value{track}%
\ifnum\value{#1}>\value{track}%
{\Large\Square}%
\else%
{\Large\XBox}%
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment