diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-06 21:21:30 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-06 21:21:30 +0000 |
commit | 7d423aef8123a887cb2d3188206aeea9b628bd84 (patch) | |
tree | 9c856fc3d14000851951b7920c20011f72c6e5d2 /crawl-ref/source/monplace.cc | |
parent | 44d7fbb36c55859117824fe25a298afbe437221b (diff) | |
download | crawl-ref-7d423aef8123a887cb2d3188206aeea9b628bd84.tar.gz crawl-ref-7d423aef8123a887cb2d3188206aeea9b628bd84.zip |
Fix 2011722: Reallow targetting beams such that you may be hit. (There's
a new prompt now, but don't prompt a second time if you already
confirmed another one before.)
Fix some issues when creating items in the Abyss during GDT_GAME_START.
This may or may not have played a role in 2008976.
Lower spawning rate in the Abyss during GDT_GAME_START (10% spawning
chance instead of guaranteed spawning per 5 turns).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6434 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monplace.cc')
-rw-r--r-- | crawl-ref/source/monplace.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/monplace.cc b/crawl-ref/source/monplace.cc index 2eb35162b0..3b0bf92364 100644 --- a/crawl-ref/source/monplace.cc +++ b/crawl-ref/source/monplace.cc @@ -261,7 +261,8 @@ void spawn_random_monsters() // Place Abyss monsters. (Now happens regularly every 5 turns which might // look a bit strange for a place as chaotic as the Abyss. Then again, // the player is unlikely to meet all of them and notice this.) - if (you.level_type == LEVEL_ABYSS) + if (you.level_type == LEVEL_ABYSS + && (you.char_direction != GDT_GAME_START || one_chance_in(10))) { mons_place(mgen_data(WANDERING_MONSTER)); viewwindow(true, false); |