diff options
-rw-r--r-- | crawl-ref/source/spells2.cc | 3 | ||||
-rw-r--r-- | crawl-ref/source/spells3.cc | 2 |
2 files changed, 3 insertions, 2 deletions
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()) diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index ac9505d13d..8739c7f965 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -210,7 +210,7 @@ int cast_smiting(int power, dist &beam) mprf("You smite %s!", monster->name(DESC_NOCAP_THE).c_str()); behaviour_event(monster, ME_ANNOY, MHITYOU); - if (mons_is_mimic( monster->type )) + if (mons_is_mimic(monster->type)) mimic_alert(monster); } |