summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells4.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-09-23 21:21:11 +0000
committerDarshan Shaligram <dshaligram@users.sourceforge.net>2009-09-24 02:58:10 +0530
commitf176a95f03207f9225ba1d4085005f3756df35a3 (patch)
tree72977967f7be44bd447a04813b44a679a1820c5a /crawl-ref/source/spells4.cc
parent2e8eedbf4838b52d091c4a0a1754ec85813794ff (diff)
downloadcrawl-ref-f176a95f03207f9225ba1d4085005f3756df35a3.tar.gz
crawl-ref-f176a95f03207f9225ba1d4085005f3756df35a3.zip
* Also allow Maurice to steal the occasional spellbook or piece of
jewellery. * As per FR 1937144, leave a purple cloud if the player or a monster blinks or teleports away. For some reason this doesn't yet work correctly with scrolls of blinking, even though wizard blink (which uses the same function) does work. -- (from svn) Signed-off-by: Darshan Shaligram <dshaligram@users.sourceforge.net>
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r--crawl-ref/source/spells4.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc
index 40b416d397..c2e87806fb 100644
--- a/crawl-ref/source/spells4.cc
+++ b/crawl-ref/source/spells4.cc
@@ -1962,6 +1962,9 @@ static int _quadrant_blink(coord_def where, int pow, int, actor *)
if (!found)
return(0);
+ // Leave a purple cloud.
+ place_cloud(CLOUD_PURP_SMOKE, you.pos(), 1 + random2(3), KC_YOU);
+
you.moveto(target);
return 1;
}