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

edit full spell presentation

parent e00dc52f
Branches
Tags
No related merge requests found
......@@ -11,6 +11,8 @@
% Some spells inflict X fatigue, where X is the spell level plus 2.
\newcounter{spellCost}
\setcounter{spellCost}{1}
\newcounter{spellPlusOne}
\setcounter{spellPlusOne}{1}
\newcounter{spellPlusTwo}
\setcounter{spellPlusTwo}{1}
\newcounter{spellPlusThree}
......@@ -86,6 +88,8 @@
\ifdefstring{\d}{duplicated}{\global\toggletrue{duplicated}}{}%
\stepcounter{spellCost}%
}%
\setcounter{spellPlusOne}{\value{spellCost}}%
\addtocounter{spellPlusOne}{1}%
\setcounter{spellPlusTwo}{\value{spellCost}}%
\addtocounter{spellPlusTwo}{2}%
\setcounter{spellPlusThree}{\value{spellCost}}%
......@@ -124,31 +128,23 @@
\newcommand\fullSpell{%
\needspace{4em}
\begin{tabularx}{\linewidth}{YX}
\adforn{24}~\textbf{\scshape\large\spellName}~\adforn{52}
\begin{tabularx}{\linewidth}{m{.28\linewidth}X}
\raggedright
\textbf{\titleFont\large\spellName}
&
\small
\noindent
\textbf{\scshape Requirements}
\spellSphere
\textbf{\scshape Requirements:}
\spellSphere~\arabic{spellCost}
\noindent
\textbf{\scshape Cost}
\arabic{spellCost} \glsentrytext{mp}
\textbf{\scshape Resisted~by:}
\spellResistance
\noindent
\textbf{\scshape Range}
\textbf{\scshape Range:}
\spellRange%
\ifnumcomp{\value{spellTargets}}{>}{1}{%
\noindent
\textbf{\scshape Targets}
\ifnumcomp{\value{spellTargets}}{>}{1}{
\textbf{\scshape Targets:}
\arabic{spellTargets}%
}{}
\noindent
\textbf{\scshape Resisted~by:}
\spellResistance
\\
\end{tabularx}
\noindent
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment