summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-pathfind.cc
diff options
context:
space:
mode:
authorDracoOmega <draco_omega@live.com>2013-02-05 20:02:03 -0330
committerDracoOmega <draco_omega@live.com>2013-03-03 17:06:46 -0330
commit7f122b9c1a71e8b19da7abb5570002bd38a7d26e (patch)
tree3b4d5e49ebebae4713261787324198ef98ab0487 /crawl-ref/source/mon-pathfind.cc
parentdca8a20a79645afecb7801a8e547e218ff16222e (diff)
downloadcrawl-ref-7f122b9c1a71e8b19da7abb5570002bd38a7d26e.tar.gz
crawl-ref-7f122b9c1a71e8b19da7abb5570002bd38a7d26e.zip
Add Vault Sentinels
These are individuals charged with patroling the Vaults branch and keeping it alert for intruders. They have two abilities: They can blow on a signal horn, which generates a lot of noise and thus will wake creatures up and possibly attract them to the sentinel's location. They can cast Sentinel's Mark, which is a hex that makes all awake creatures on a level (especially those of normal or better intelligence) aware of the player's current location at all times. Which means that, no matter where you are, the level will come hunting for you. Stat-wise, they are fairly unremarkable fighters with average equipment, but have a 1 in 3 chance of also spawning with a crossbow.
Diffstat (limited to 'crawl-ref/source/mon-pathfind.cc')
-rw-r--r--crawl-ref/source/mon-pathfind.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-pathfind.cc b/crawl-ref/source/mon-pathfind.cc
index 658d03d84e..4f81116f80 100644
--- a/crawl-ref/source/mon-pathfind.cc
+++ b/crawl-ref/source/mon-pathfind.cc
@@ -66,6 +66,9 @@ int mons_tracking_range(const monster* mon)
if (you.penance[GOD_ASHENZARI])
range *= 5;
+ if (mons_foe_is_marked(mon))
+ range *= 5;
+
return range;
}