summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells1.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells1.cc')
-rw-r--r--crawl-ref/source/spells1.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc
index 9105864c1d..0bcc604378 100644
--- a/crawl-ref/source/spells1.cc
+++ b/crawl-ref/source/spells1.cc
@@ -138,7 +138,7 @@ int blink(int pow, bool high_level_controlled_blink, bool wizard_blink)
continue;
}
- if (!wizard_blink && grd(beam.target) == DNGN_OPEN_SEA)
+ if (grd(beam.target) == DNGN_OPEN_SEA)
{
mesclr();
mpr("You can't blink into the sea!");
@@ -182,6 +182,8 @@ int blink(int pow, bool high_level_controlled_blink, bool wizard_blink)
}
else
{
+ // Leave a purple cloud.
+ place_cloud(CLOUD_PURP_SMOKE, you.pos(), 1 + random2(3), KC_YOU);
move_player_to_grid(beam.target, false, true, true);
// Controlling teleport contaminates the player. -- bwr
@@ -237,6 +239,9 @@ void random_blink(bool allow_partial_control, bool override_abyss)
mpr("You blink.");
success = true;
+
+ // Leave a purple cloud.
+ place_cloud(CLOUD_PURP_SMOKE, you.pos(), 1 + random2(3), KC_YOU);
you.moveto(target);
if (you.level_type == LEVEL_ABYSS)