summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-09-18 09:56:54 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-09-18 09:56:54 +0000
commit1c59fb1479a724c0969c54e0365856b1cff77c00 (patch)
treef1a28fcfd3aa8a44f7a15916b287272759239594 /crawl-ref/source/mon-util.h
parent30335e8ff7bfd82cdc2dfea9721d3262bbc5d81d (diff)
downloadcrawl-ref-1c59fb1479a724c0969c54e0365856b1cff77c00.tar.gz
crawl-ref-1c59fb1479a724c0969c54e0365856b1cff77c00.zip
Don't treat electric eels as safe just because they're aquatic.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10711 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mon-util.h')
-rw-r--r--crawl-ref/source/mon-util.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/crawl-ref/source/mon-util.h b/crawl-ref/source/mon-util.h
index 62146ac041..61de3b7117 100644
--- a/crawl-ref/source/mon-util.h
+++ b/crawl-ref/source/mon-util.h
@@ -730,17 +730,18 @@ bool ms_direct_nasty(spell_type monspell);
* called from: monstuff
* *********************************************************************** */
-bool ms_useful_fleeing_out_of_sight( const monsters *mon, spell_type monspell );
-bool ms_quick_get_away( const monsters *mon, spell_type monspell );
-bool ms_waste_of_time( const monsters *mon, spell_type monspell );
-bool ms_low_hitpoint_cast( const monsters *mon, spell_type monspell );
+bool ms_useful_fleeing_out_of_sight(const monsters *mon, spell_type monspell);
+bool ms_quick_get_away(const monsters *mon, spell_type monspell);
+bool ms_waste_of_time(const monsters *mon, spell_type monspell);
+bool ms_low_hitpoint_cast(const monsters *mon, spell_type monspell);
-bool mons_is_magic_user( const monsters *mon );
-bool mons_has_los_ability( int mclass );
+bool mons_is_magic_user(const monsters *mon);
+bool mons_has_los_ability(int mclass);
bool mons_has_los_attack(const monsters *mon);
-bool mons_has_ranged_spell( const monsters *mon, bool attack_only = false,
- bool ench_too = true );
-bool mons_has_ranged_attack( const monsters *mon );
+bool mons_has_ranged_spell(const monsters *mon, bool attack_only = false,
+ bool ench_too = true);
+bool mons_has_ranged_attack(const monsters *mon);
+bool mons_has_ranged_ability(const monsters *mon);
// last updated 06mar2001 (gdl)
/* ***********************************************************************