diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-17 20:52:54 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-17 20:52:54 +0000 |
commit | 4b806f77ff9f7da60fd0faf201b8ab83f76ce457 (patch) | |
tree | c0ea487b56eb55ac5f4bb3929f85ec1e5a961213 /crawl-ref/source/spells1.cc | |
parent | 4280b1792236d066241fd6c6f36e4900f032180a (diff) | |
download | crawl-ref-4b806f77ff9f7da60fd0faf201b8ab83f76ce457.tar.gz crawl-ref-4b806f77ff9f7da60fd0faf201b8ab83f76ce457.zip |
A number of small bug fixes:
* 2811005: unknown mimics being stabbable
* 2818709: restrict monsters picking up stuff to 2 items per turn
* 2820097: reintroduce prompts for firing _in the direction_ of allies
and fix message
* 2821462: returning from tutorial screen swallowing a keypress
* 2822771: fire elementals could be placed in shallow water
Also, Azrael is no longer generated in the Shoals/Swamp
Also, implement the second part of FR 2820876: Xom will no longer
confuse the player if there's adjacent deep water or lava. This
restriction doesn't apply if Xom is feeling nasty (penance or bored)
and there's also no checks for water/lava further away.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10255 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells1.cc')
-rw-r--r-- | crawl-ref/source/spells1.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc index c4085823d4..c0cb9fe8aa 100644 --- a/crawl-ref/source/spells1.cc +++ b/crawl-ref/source/spells1.cc @@ -138,7 +138,12 @@ int blink(int pow, bool high_level_controlled_blink, bool wizard_blink) continue; } - if (see_grid_no_trans(beam.target)) + if (!wizard_blink && grd(beam.target) == DNGN_OPEN_SEA) + { + mesclr(); + mpr("You can't blink into the sea!"); + } + else if (see_grid_no_trans(beam.target)) { // Grid in los, no problem. break; |