summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-04 13:07:08 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-04 13:07:08 +0000
commit046629b0edf14b2ad341bb02872d7db4acbee151 (patch)
tree35e91a759394fdec8c892457d7715eacd9a80a0e /crawl-ref/source/dungeon.cc
parenta8bc607994f1cfeb8f9fe554c2e89f0b551290af (diff)
downloadcrawl-ref-046629b0edf14b2ad341bb02872d7db4acbee151.tar.gz
crawl-ref-046629b0edf14b2ad341bb02872d7db4acbee151.zip
Added Polyphemus, a unique Cyclops who can show up where high-end uniques
do and is especially common in the Shoals. No talk text yet. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1749 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r--crawl-ref/source/dungeon.cc10
1 files changed, 9 insertions, 1 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index 1b314bf98d..3e07b2873f 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -1886,7 +1886,11 @@ static int pick_unique(int lev)
if (player_in_branch(BRANCH_HALL_OF_ZOT) && one_chance_in(3))
which_unique = MONS_TIAMAT;
-
+
+ if (player_in_branch(BRANCH_SHOALS) && player_branch_depth() > 1 &&
+ coinflip())
+ which_unique = MONS_POLYPHEMUS;
+
return (which_unique);
}
@@ -1930,6 +1934,10 @@ static int place_uniques(int level_number, char level_type)
BEH_SLEEP, MHITNOT, false, 1, 1, true,
PROX_ANYWHERE, 250, 0, no_monster_zones ))
{
+#ifdef DEBUG_DIAGNOSTICS
+ mprf(MSGCH_DIAGNOSTICS, "Placed %s",
+ menv[not_used].name(DESC_NOCAP_A).c_str());
+#endif
++num_placed;
}
}