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

make \showWweapon command

parent 953c0cb4
Branches
Tags
No related merge requests found
......@@ -36,6 +36,14 @@
#2%
}
%% Use this to show weapons in tables.
%% Remember to close it with '\\' after.
%% It remains unterminated so you can add Costs.
\newcommand\showWeapon[1]{%
#1 & \arabic{weaponBonus} & \arabic{damage} & \arabic{heft} & \arabic{weight}
}
% Shields work much like weapons, except that their Bonus is high, their initiative cost is low, but their attack is poor.
\newcommand\shield[3][]{
......
......@@ -299,11 +299,11 @@ When when a creature wields the weapon, those stats raise the creature's stats.
\textbf{Name} & \textbf{Attack Bonus} & \textbf{Dam.} & \textbf{\Glsentrytext{ap} Cost} & \textbf{Weight} \\\hline
\Dagger & \arabic{weaponBonus} & \arabic{damage} & \arabic{heft} & \arabic{weight} \\
\showWeapon{\Dagger} \\
\greataxe & \arabic{weaponBonus} & \arabic{damage} & \arabic{heft} & \arabic{weight} \\
\showWeapon{\greataxe} \\
\spear & \arabic{weaponBonus} & \arabic{damage} & \arabic{heft} & \arabic{weight} \\
\showWeapon{\spear} \\
\end{nametable}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment