diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-02 14:35:45 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-02 14:35:45 +0000 |
commit | 6a8469f3af9fff8fd6670be7bab4b7652ef3f957 (patch) | |
tree | 35a4e1e2e49016d8c3a31d0052e6c341b95582f4 | |
parent | 783d701df6b0352a730c211be593d91c27b07b4a (diff) | |
download | crawl-ref-6a8469f3af9fff8fd6670be7bab4b7652ef3f957.tar.gz crawl-ref-6a8469f3af9fff8fd6670be7bab4b7652ef3f957.zip |
Let pacified monsters wander again, although less often than other
monsters, in case the way to the exit is blocked and they need to find
another way there.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6337 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/monstuff.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index c20888d58e..e015897ed8 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -3108,7 +3108,7 @@ static void _handle_behaviour(monsters *mon) // wandering monsters at least appear to have some sort of // attention span. -- bwr if (mon->x == mon->target_x && mon->y == mon->target_y - || mons_is_batty(mon) || (!isPacified && one_chance_in(20))) + || mons_is_batty(mon) || one_chance_in(isPacified ? 30 : 20)) { bool need_target = true; if (travelling) |