summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-10-29 21:01:14 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-10-29 21:01:14 +0100
commit82ee11b0726a678945ecad183a5f47b6a4e49aa5 (patch)
treeee82803e41447dc6191eba936a24d60c6059fbf8
parent37cf70232c46f7afc1de25998cc52b979d1cafea (diff)
downloadcrawl-ref-82ee11b0726a678945ecad183a5f47b6a4e49aa5.tar.gz
crawl-ref-82ee11b0726a678945ecad183a5f47b6a4e49aa5.zip
Slow down the monster spawn rate in the Abyss for worshippers of Cheibriados.
Currently, this god makes Abyss a hell, let's let him compensate a bit...
-rw-r--r--crawl-ref/source/misc.cc3
-rw-r--r--crawl-ref/source/monplace.cc3
2 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc
index 03ff51dbb2..c70c8e5ec8 100644
--- a/crawl-ref/source/misc.cc
+++ b/crawl-ref/source/misc.cc
@@ -2325,6 +2325,9 @@ void down_stairs( int old_level, dungeon_feature_type force_stair,
mpr("You enter the Abyss!");
mpr("To return, you must find a gate leading back.");
+ if (you.religion == GOD_CHEIBRIADOS)
+ mpr("You feel Cheibriados slowing down the madness of this place.",
+ MSGCH_GOD, GOD_CHEIBRIADOS);
learned_something_new(TUT_ABYSS);
break;
diff --git a/crawl-ref/source/monplace.cc b/crawl-ref/source/monplace.cc
index 6d6b5a5bc3..e64e04c0b2 100644
--- a/crawl-ref/source/monplace.cc
+++ b/crawl-ref/source/monplace.cc
@@ -293,7 +293,8 @@ void spawn_random_monsters()
// the player is unlikely to meet all of them and notice this.)
if (you.level_type == LEVEL_ABYSS
&& (you.char_direction != GDT_GAME_START
- || x_chance_in_y(5, rate)))
+ || x_chance_in_y(5, rate))
+ && (you.religion != GOD_CHEIBRIADOS || coinflip()))
{
mons_place(mgen_data(WANDERING_MONSTER));
viewwindow(true, false);