summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-util.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-util.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-util.h')
-rw-r--r--crawl-ref/source/spl-util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-util.h b/crawl-ref/source/spl-util.h
index 5ab1f381a3..d1e3097312 100644
--- a/crawl-ref/source/spl-util.h
+++ b/crawl-ref/source/spl-util.h
@@ -90,6 +90,9 @@ const char *get_spell_target_prompt( spell_type which_spell );
bool spell_needs_tracer(spell_type spell);
bool spell_needs_foe(spell_type spell);
+bool spell_harms_target(spell_type spell);
+bool spell_harms_area(spell_type spell);
+bool spell_sanctuary_castable(spell_type spell);
int spell_levels_required(spell_type which_spell);
unsigned int get_spell_flags( spell_type which_spell );