summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.cc
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2009-11-05 19:07:51 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2009-11-05 19:09:22 +1000
commit1c37881948d0880f83edeb7429819483766a0a81 (patch)
tree46e0637c33840d49c6883c02a080a191371d996d /crawl-ref/source/mon-util.cc
parentd6b92b199da74a1cb8cfc30322befbfae01f5621 (diff)
downloadcrawl-ref-1c37881948d0880f83edeb7429819483766a0a81.tar.gz
crawl-ref-1c37881948d0880f83edeb7429819483766a0a81.zip
New monsters: golden eyes.
Small, blinking, and fast, these eyes come in packs and are found natively in Slime (though somewhat rarely). Their confusion ability does check MR before passing, however, and can be completely avoided by having Clarity.
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r--crawl-ref/source/mon-util.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index f8fedade1a..52befdeb7f 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -2703,7 +2703,8 @@ bool mons_has_los_ability(int mclass)
return (true);
// These eyes only need LOS, as well. (The other eyes use spells.)
- if (mclass == MONS_GIANT_EYEBALL || mclass == MONS_EYE_OF_DRAINING)
+ if (mclass == MONS_GIANT_EYEBALL || mclass == MONS_EYE_OF_DRAINING
+ || mclass == MONS_GOLDEN_EYE)
return (true);
// Although not using spells, these are exceedingly dangerous.