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

fix targets numbers

parent b3874005
Branches
Tags
No related merge requests found
......@@ -105,13 +105,10 @@
\renewcommand\spellSum{#6}%
\renewcommand\spellNotes{#7}%
\setRange%
\multiply\value{spellTargets} by \value{spellCost}%
\multiply\value{spellTargets} by \value{spellCost}%
\addtocounter{spellTargets}{0}%
\iftoggle{distant}{%
\foreach \x in {1,...,\arabic{spellCost}}%
{\multiply\value{spellTargets} by 10\addtocounter{spellTargets}{0}}%
}{}%
\iftoggle{duplicated}{
\foreach \i in {1,...,\arabic{spellCost}}%
{\multiply\value{spellTargets} by \value{spellCost}\addtocounter{spellTargets}{0}}
}{}
\iftoggle{talisman}{}{%
\index[spells]{\textbf{#1} (Cost: \arabic{spellCost}, \spellEnhancements\ \spellAction~\spellSphere) Range: \spellRange, Targets: \arabic{spellTargets}, Resisted by: \detokenize{#5}, \spellSum}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment