From 772ac383fd95356d6a8a87617b088fcc7444d733 Mon Sep 17 00:00:00 2001
From: Malin Freeborn <malinfreeborn@posteo.net>
Date: Wed, 8 May 2024 04:25:11 +0200
Subject: [PATCH] have \shortSpell display name

---
 magic.sty | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/magic.sty b/magic.sty
index 351afe46..bbae4df1 100644
--- a/magic.sty
+++ b/magic.sty
@@ -190,22 +190,22 @@
 
 \newcommand\shortSpell{%
   \item[\spellName]
-  \spellSum.
+  \textit{\spellSum}.
 
-  (\textbf{Cost:}~\arabic{spellCost},
+  Spend \arabic{spellCost}~\glsentrytext{mp},
+  \iftoggle{opposedSpell}{%
+    \addtocounter{castingBonus}{7}%
+    \ifnum\value{spellTargets}>1\glspl{pc} resist \else target \gls{pc} resists\fi\  with \spellResistance~(\tn[\arabic{castingBonus}])%
+  }{%
+    \name\ rolls with \absNum{castingBonus} (\gls{tn} set by \spellResistance)%
+  }. %
   \textbf{Range:}~\spellRange,
   \ifnum\value{spellTargets}>1%
     \textbf{Area:}~\arabic{spellTargets},
   \fi%
   \iftoggle{Devious}{%
-    \textbf{Onset:} 1~\showOnset,
+    \textbf{Onset:} 1~\showOnset%
   }{}%
-  \iftoggle{opposedSpell}{%
-    \addtocounter{castingBonus}{7}%
-    \textbf{Resisted~by:} \spellResistance, \tn[\arabic{castingBonus}]%
-  }{%
-    \textbf{Roll:} \absNum{castingBonus}, \gls{tn} set by \spellResistance.%
-  })%
 }
 
 \newcommand\spell[7]{%
-- 
GitLab