summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells2.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-08 16:18:41 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-08 16:18:41 +0000
commit56a71346d6b688e17d98b70cf10461e87810e648 (patch)
treee21b6bab9dfd5b068ad7ac17a6b454ae2e47856f /crawl-ref/source/spells2.cc
parente18be9c249daa49488b6f8c8937425a4d3056075 (diff)
downloadcrawl-ref-56a71346d6b688e17d98b70cf10461e87810e648.tar.gz
crawl-ref-56a71346d6b688e17d98b70cf10461e87810e648.zip
Make vampiric draining alert and anger its target, just as Yred's life
draining does with its targets. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7189 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r--crawl-ref/source/spells2.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc
index 9935e216f8..f9a2adc796 100644
--- a/crawl-ref/source/spells2.cc
+++ b/crawl-ref/source/spells2.cc
@@ -807,6 +807,7 @@ bool vampiric_drain(int pow, const dist &vmove)
mprf("You feel life coursing from %s into your body!",
monster->name(DESC_NOCAP_THE).c_str());
+ behaviour_event(monster, ME_WHACK, MHITYOU, you.pos());
monster->hurt(&you, inflicted);
if (monster->alive())