diff options
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/dungeon.cc | 9 | ||||
-rw-r--r-- | crawl-ref/source/enum.h | 4 | ||||
-rw-r--r-- | crawl-ref/source/item_use.cc | 2 |
3 files changed, 11 insertions, 4 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc index 3342bf40fe..ed876851e6 100644 --- a/crawl-ref/source/dungeon.cc +++ b/crawl-ref/source/dungeon.cc @@ -3239,6 +3239,7 @@ static bool _make_room(int sx,int sy,int ex,int ey,int max_doors, int doorlevel) static monster_type _pick_unique(int lev) { + // Doesn't include Polyphemus who only appears in the Shoals. int which_unique = ((lev > 19) ? random_range(MONS_LOUISE, MONS_BORIS) : (lev > 16) ? random_range(MONS_ERICA, MONS_FRANCES) : @@ -3395,13 +3396,17 @@ static void _place_aquatic_monsters(int level_number, char level_type) } } - if (level_number >= 9 && one_chance_in(4)) + // Don't place sharks in the Swamp. + if (!player_in_branch(BRANCH_SWAMP) + && level_number >= 9 && one_chance_in(4)) + { swimming_things[3] = MONS_SHARK; + } if (level_number >= 25 && one_chance_in(5)) swimming_things[0] = MONS_WATER_ELEMENTAL; - if (player_in_branch( BRANCH_COCYTUS )) + if (player_in_branch(BRANCH_COCYTUS)) swimming_things[3] = MONS_WATER_ELEMENTAL; _place_monster_vector(swimming_things, level_number, diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h index 06727e4dca..46d7faa90a 100644 --- a/crawl-ref/source/enum.h +++ b/crawl-ref/source/enum.h @@ -1875,8 +1875,8 @@ enum monster_type // (int) menv[].type MONS_NORRIS, MONS_FREDERICK, MONS_MARGERY, - MONS_POLYPHEMUS, // 310 - MONS_BORIS, + MONS_BORIS, // 310 + MONS_POLYPHEMUS, // BCR - end second batch of uniques. MONS_DRACONIAN, diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index 7ee41d7e46..92de347981 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -4295,6 +4295,8 @@ static void _vulnerability_scroll() mon.add_ench(lowered_mr); // Annoying but not enough to turn friendlies against you. + // XXX: This will turn allies of int >= I_NORMAL hostile. + // Not intended? behaviour_event(&mon, ME_ANNOY, MHITYOU); } } |