diff --git a/magic.sty b/magic.sty index 0938b8e2f4dc9820a534341c2eb5d9942514ce16..c4abf50b782c7c86e669d65540047b274a5c9cc9 100644 --- a/magic.sty +++ b/magic.sty @@ -173,7 +173,8 @@ } \newcommand\spell[7]{% - \togglefalse{talisman} + \togglefalse{talisman}% + \stepcounter{enc}% \calcSpell{#1}{#2}{#3}{#4}{#5}{#6}{#7}% \iftoggle{fullSpells}{% \fullSpell% @@ -193,14 +194,13 @@ \settoggle{fullSpells}{false} #1 \foreach \n in {3,2,1}{ - \ifnum\value{enc}<3 - \foreach \s in {Light,Death,Life,Mind,Force,Earth,Air,Fire,Water,Fate}{ - \ifnumcomp{\value{\s}}{=}{\n}{ - \input{config/spells/\s\n.tex} - \stepcounter{enc} - }{} - } - \fi + \foreach \s in {Light,Death,Life,Mind,Force,Earth,Air,Fire,Water,Fate}{ + \ifnumcomp{\value{\s}}{=}{\n}{ + \ifnum\value{enc}<3 + \input{config/spells/\s\n.tex} + \fi + }{} + } } \end{description} \textcolor{\pageSideColor}{\hrulefill\raisebox{-3pt}{\npcsymbol}} diff --git a/spells/Death1.tex b/spells/Death1.tex index 378efe72b0a856bc8eefc47b71bad8f65b586c2f..c890b0eedb178a9ea41f679eab77d19c33bc50b4 100644 --- a/spells/Death1.tex +++ b/spells/Death1.tex @@ -1,3 +1,4 @@ +\ifodd\value{diceNo} \spell{Boke}% Name {}% Enhancements {Wax}% Action @@ -7,6 +8,8 @@ The target gains \arabic{spellPlusOne}~\glspl{fatigue}}% Description {} +\else + \spell{Care Less}% Name {}% Enhancements {Warp}% Action @@ -28,4 +31,5 @@ {The spell preserves someone's natural bodily functions in the face of decay, tiredness, or poison. However, they still accumulate \glspl{fatigue} as normal, and cannot heal any through rest, or other means.} - +\fi +\stepcounter{diceNo}