summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-stealth.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2011-09-02 23:58:53 +0100
committerChris Campbell <chriscampbell89@gmail.com>2011-09-03 01:31:42 +0100
commit596895e2a04c3add0aaac3d0735861e50d8bb3ec (patch)
treef499af76bb27e7a8684aca11d4c00ed94db25527 /crawl-ref/source/mon-stealth.cc
parentef03937baeaf4fd05f12d0686a523551145888b2 (diff)
downloadcrawl-ref-596895e2a04c3add0aaac3d0735861e50d8bb3ec.tar.gz
crawl-ref-596895e2a04c3add0aaac3d0735861e50d8bb3ec.zip
Eronarn's profane servitors and antihaloes
Profane servitor: An angel twisted into an undead monster by Yredelemnul. He gifts these as a new tier above bone dragons. They are in Yred's elemental colors, generated wielding a demon whip, probably slightly better than a bone dragon in melee, and have res holy instead of holy vuln like most undead. It also generates an umbra. Only Yred gifts spawn them currently though they'd be great for some vaults. umbra: An 'antihalo' composed of flickering darkness, which is the opposite of a halo. Creatures in an umbra are harder to hit with both ranged/melee, but get a stealth bonus. Currently only profane servitors generate an umbra. Demons, undead, and worshipers of Yredelemnul (at **+ for players, but all monsters) aren't harmed by an umbra but still get the stealth boost. The patch also changes the "Glow" status light to "Contam", and displays "Glow" when actually backlit (for whatever reason: halo, sticky flame, corona).
Diffstat (limited to 'crawl-ref/source/mon-stealth.cc')
-rw-r--r--crawl-ref/source/mon-stealth.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-stealth.cc b/crawl-ref/source/mon-stealth.cc
index 05cc640ac7..0c4d6db4e4 100644
--- a/crawl-ref/source/mon-stealth.cc
+++ b/crawl-ref/source/mon-stealth.cc
@@ -70,6 +70,10 @@ int monster::stealth() const
if (glows_naturally() || halo_radius2() != -1)
actual_stealth -= 3;
+ // Having an antihalo makes you more stealthy, on the other hand.
+ if (antihalo_radius2() != -1)
+ actual_stealth += 3;
+
// Some specific overrides
if (type == MONS_UNSEEN_HORROR)
actual_stealth = 3;