diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-21 09:07:46 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-21 09:07:46 +0000 |
commit | 71509500b1ec921faf74b64f7bcad6ab96ab6f51 (patch) | |
tree | 92d6c1085738a847aa8a45a91038b1a0806b04bd /crawl-ref/source/monplace.cc | |
parent | 7d74044829242da97e6db5c87b336f4c1a17883e (diff) | |
download | crawl-ref-71509500b1ec921faf74b64f7bcad6ab96ab6f51.tar.gz crawl-ref-71509500b1ec921faf74b64f7bcad6ab96ab6f51.zip |
Don't note monsters of HD <= 2. (Butterflies may be extremely rare, but
when they appear, it's not interesting enough to be noted.)
Tweak wizmode monster placement to never place monsters at the player
position. Rather, change one of the neighbouring square's terrain type,
if need be.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6032 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monplace.cc')
-rw-r--r-- | crawl-ref/source/monplace.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/crawl-ref/source/monplace.cc b/crawl-ref/source/monplace.cc index f5f2d1a0cb..01eb5d962c 100644 --- a/crawl-ref/source/monplace.cc +++ b/crawl-ref/source/monplace.cc @@ -1785,9 +1785,10 @@ void mark_interesting_monst(struct monsters* monster, beh_type behaviour) { interesting = true; } - else if ((you.level_type == LEVEL_DUNGEON || - you.level_type == LEVEL_ABYSS) + else if ((you.level_type == LEVEL_DUNGEON + || you.level_type == LEVEL_ABYSS) && mons_rarity(monster->type) <= Options.rare_interesting + && monster->hit_dice > 2 // Don't note the really low-hd monsters. && mons_rarity(monster->type) > 0) { interesting = true; @@ -2150,7 +2151,7 @@ bool empty_surrounds(int emx, int emy, dungeon_feature_type spc_wanted, if (tx == you.x_pos && ty == you.y_pos) continue; - if ( !in_bounds(tx,ty) ) + if (!in_bounds(tx,ty)) continue; if (mgrd[tx][ty] != NON_MONSTER) |