summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.h
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-29 05:16:39 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-29 05:16:39 +0000
commit6e8c4b9c5c42d35f71c444b524a9bb366f70e9cd (patch)
treeb888e9f208d93a196908516417fa99a21a1f0573 /crawl-ref/source/spl-cast.h
parent020b21eee05af9a8e23d9f1f4053a3f1c06519aa (diff)
downloadcrawl-ref-6e8c4b9c5c42d35f71c444b524a9bb366f70e9cd.tar.gz
crawl-ref-6e8c4b9c5c42d35f71c444b524a9bb366f70e9cd.zip
Bug 2005002: Allow friendly and neutral-good monsters to cast spells while in
sanctuary, and allow hostile and neutral monsters to cast spells once outside of sanctuary as long as it won't harm anything inside of sanctuary. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6205 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-cast.h')
-rw-r--r--crawl-ref/source/spl-cast.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-cast.h b/crawl-ref/source/spl-cast.h
index 036f99045f..5c891a0a38 100644
--- a/crawl-ref/source/spl-cast.h
+++ b/crawl-ref/source/spl-cast.h
@@ -28,7 +28,10 @@ enum spflag_type
SPFLAG_NEUTRAL = 0x0020, // TARG_ANY used
SPFLAG_NOT_SELF = 0x0040, // aborts on isMe
SPFLAG_UNHOLY = 0x0080, // counts at "unholy"
- SPFLAG_MAPPING = 0x0100 // a mapping spell of some kind
+ SPFLAG_MAPPING = 0x0100, // a mapping spell of some kind
+ SPFLAG_ESCAPE = 0x0200, // useful for running away
+ SPFLAG_RECOVERY = 0x0400, // healing or recovery spell
+ SPFLAG_AREA = 0x0800 // area affect
};
enum spret_type