summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/spells1.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc
index b9f2928f53..179f4b4224 100644
--- a/crawl-ref/source/spells1.cc
+++ b/crawl-ref/source/spells1.cc
@@ -755,9 +755,7 @@ static int _healing_spell(int healed, bool divine_ability,
else
print_wounds(monster);
- if (divine_ability
- && you.religion == GOD_ELYVILON
- && !_mons_hostile(monster))
+ if (you.religion == GOD_ELYVILON && !_mons_hostile(monster))
{
simple_god_message(" appreciates your healing of a fellow "
"creature.");
@@ -766,8 +764,8 @@ static int _healing_spell(int healed, bool divine_ability,
}
}
- if (divine_ability
- && you.religion == GOD_ELYVILON
+ if (you.religion == GOD_ELYVILON
+ && _can_pacify_monster(monster, healed)
&& _mons_hostile(monster))
{
did_something = true;