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

reformat spell index entry

parent 98d66edf
No related branches found
No related tags found
No related merge requests found
......@@ -95,7 +95,7 @@
\setcounter{spellPlusThree}{\value{spellCost}}%
\addtocounter{spellPlusThree}{3}%
\conDmg{spellPlusTwo}%
\renewcommand\spellEnhancements{#2}%
\ifstrequal{#2}{}{\renewcommand\spellEnhancements{}}{\renewcommand\spellEnhancements{#2,\space}}%
\renewcommand\spellAction{#3}%
\renewcommand\spellSphere{#4}%
% What bonus does the caster receive? Some spells will display the caster's current Bonus, so we must calculate it. We start by setting it sky-high, then for each element in {Earth,Fire}, et c. we check if this is lower than the current castingBonus, if (if so), lower the bonus.
......@@ -122,7 +122,7 @@
\iftoggle{talisman}{%
\index[talismans]{\textbf{#1} (\spellEnhancements\ \spellAction~\spellSphere) Range: \spellRange, Area: \arabic{spellTargets}, Resisted by: \detokenize{#5}, Bonus: \arabic{spellCost}. \spellSum|adfclosedflourishleft~p.~}%
}{%
\index[spells]{\textbf{#1} (Cost: \arabic{spellCost}, \spellEnhancements\ \spellAction~\spellSphere) Range: \spellRange, Targets: \arabic{spellTargets}, Resisted by: \detokenize{#5}, \spellSum|adfclosedflourishleft~p.~}%
\index[spells]{\textbf{#1} {\sffamily (\spellEnhancements \spellAction~\spellSphere)} \textit{Cost: \arabic{spellCost}, Range: \spellRange, Targets: \arabic{spellTargets}, Resisted by: \detokenize{#5}.} \spellSum|adfclosedflourishleft~p.~}%
}%
}
......
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