From 9aef1290d58dd282eb25ae663a55b089e4eac378 Mon Sep 17 00:00:00 2001 From: dolorous Date: Wed, 8 Oct 2008 19:17:11 +0000 Subject: And enable the "attack friend" conduct in the right place. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7191 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spells2.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/spells2.cc') diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc index d8264d3d2c..a3fb391407 100644 --- a/crawl-ref/source/spells2.cc +++ b/crawl-ref/source/spells2.cc @@ -785,6 +785,8 @@ bool vampiric_drain(int pow, const dist &vmove) { set_attack_conducts(conducts, monster); + behaviour_event(monster, ME_ANNOY, MHITYOU, you.pos()); + if (mons_is_unholy(monster)) { mpr("Aaaarggghhhhh!"); @@ -813,7 +815,6 @@ 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_ANNOY, MHITYOU, you.pos()); monster->hurt(&you, inflicted); if (monster->alive()) -- cgit v1.2.3-54-g00ecf