diff options
author | DracoOmega <draco_omega@live.com> | 2013-06-14 19:46:46 -0230 |
---|---|---|
committer | DracoOmega <draco_omega@live.com> | 2013-06-24 02:21:10 -0230 |
commit | 4e5bd8880c3e5709d063750f6690df4346fcd343 (patch) | |
tree | 38339a55933e6f12c2d661b719e3d71c5e69c067 /crawl-ref/source/mon-pathfind.cc | |
parent | 1896d8223e30f4b49cb88e68a40db3c404eb9d14 (diff) | |
download | crawl-ref-4e5bd8880c3e5709d063750f6690df4346fcd343.tar.gz crawl-ref-4e5bd8880c3e5709d063750f6690df4346fcd343.zip |
Make haunting creatures better at tracking their targets
Primarily this is for spirit wolves, since player haunt summons out
of LoS aren't going to be attacking anything anyway, and monster
haunt summons don't actually use the 'haunt lock' effect currently.
Diffstat (limited to 'crawl-ref/source/mon-pathfind.cc')
-rw-r--r-- | crawl-ref/source/mon-pathfind.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-pathfind.cc b/crawl-ref/source/mon-pathfind.cc index 751c5ad105..02aecc2b86 100644 --- a/crawl-ref/source/mon-pathfind.cc +++ b/crawl-ref/source/mon-pathfind.cc @@ -67,7 +67,7 @@ int mons_tracking_range(const monster* mon) if (you.penance[GOD_ASHENZARI]) range *= 5; - if (mons_foe_is_marked(mon)) + if (mons_foe_is_marked(mon) || mon->has_ench(ENCH_HAUNTING)) range *= 5; return range; |