summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-04 10:31:33 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-04 10:31:33 +0000
commit4b68713dd0ad45dbcbd80f383ac2d582835d9ebc (patch)
tree0a5a4909c1b233ff98bf92b3d85616533cd4648b /crawl-ref
parentb2226ab9c80895a591f3dbade4c61d72c4bab642 (diff)
downloadcrawl-ref-4b68713dd0ad45dbcbd80f383ac2d582835d9ebc.tar.gz
crawl-ref-4b68713dd0ad45dbcbd80f383ac2d582835d9ebc.zip
Don't make ultra-fast Pandemonium demons in the main dungeon (syllogism).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4865 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/mon-util.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index a78de2527f..438a31f08e 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -4313,7 +4313,13 @@ void monsters::pandemon_init()
max_hit_points = ghost->max_hp;
ac = ghost->ac;
ev = ghost->ev;
- speed = (one_chance_in(3) ? 10 : 8 + roll_dice(2, 9));
+ // Don't make greased-lightning Pandemonium demons in the dungeon (max
+ // speed = 17). Demons in Pandemonium can be up to speed 24.
+ if (you.level_type == LEVEL_DUNGEON)
+ speed = (one_chance_in(3)? 10 : 7 + roll_dice(2, 5));
+ else
+ speed = (one_chance_in(3) ? 10 : 10 + roll_dice(2, 7));
+
speed_increment = 70;
if (you.char_direction == GDT_ASCENDING && you.level_type == LEVEL_DUNGEON)