diff options
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r-- | crawl-ref/source/mon-util.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc index 14721142ff..9da8ae5473 100644 --- a/crawl-ref/source/mon-util.cc +++ b/crawl-ref/source/mon-util.cc @@ -3324,6 +3324,14 @@ bool mons_has_ranged_spell( const monsters *mon, bool attack_only, return (false); } +bool mons_has_ranged_ability( const monsters *mon) +{ + if (mon->type == MONS_ELECTRIC_EEL || mon->type == MONS_LAVA_SNAKE) + return (true); + + return (false); +} + bool mons_has_ranged_attack( const monsters *mon ) { // Ugh. |