diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-04-13 20:40:39 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-04-13 20:40:39 +0000 |
commit | 9fecb788095cc5315ef5f1485e0b736563a21460 (patch) | |
tree | 4dd717741b428607d8b91ce4a5dd05044c2e0d2f /crawl-ref/source/stuff.cc | |
parent | cab797009b47f77520b8db9f8b427ba9ea14f63c (diff) | |
download | crawl-ref-9fecb788095cc5315ef5f1485e0b736563a21460.tar.gz crawl-ref-9fecb788095cc5315ef5f1485e0b736563a21460.zip |
* Add stair repelling as a bad Xom effect.
* Experimentally make tension increase the odds for good effects.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9600 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/stuff.cc')
-rw-r--r-- | crawl-ref/source/stuff.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/stuff.cc b/crawl-ref/source/stuff.cc index d7dbcd38e1..9413dd1460 100644 --- a/crawl-ref/source/stuff.cc +++ b/crawl-ref/source/stuff.cc @@ -403,9 +403,11 @@ static int follower_tag_radius2() // If only friendlies are adjacent, we set a max radius of 6, otherwise // only adjacent friendlies may follow. for (adjacent_iterator ai; ai; ++ai) + { if (const monsters *mon = monster_at(*ai)) if (!mons_friendly(mon)) return (2); + } return (6 * 6); } |