From a4dbeb4dc33620a973524772346bc0620fb14e1a Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Sat, 1 Feb 2020 22:17:27 -0500 Subject: [PATCH] Add explanatory comments --- src/spell.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/spell.hpp b/src/spell.hpp index 1af64896..648e8e2b 100644 --- a/src/spell.hpp +++ b/src/spell.hpp @@ -12,7 +12,9 @@ #include #include "skills_traits.hpp" +// This controls how a spell is cast in combat; YES means it's the same as in town, IMMED means it has a special implementation in town, and TARGET / FANCY both mean it requires target selection. enum eSpellRefer {REFER_YES, REFER_IMMED, REFER_TARGET, REFER_FANCY}; +// This specifies whether a spell targets a party member and whether dead PCs can be chosen. enum eSpellSelect {SELECT_NO, SELECT_ACTIVE, SELECT_ANY}; // This one is meant for indexing a bit field enum eSpellWhen {WHEN_COMBAT = 1, WHEN_TOWN = 2, WHEN_OUTDOORS = 4};