summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source')
-rw-r--r--crawl-ref/source/monstuff.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index b79eb7338c..b198d39281 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -598,9 +598,9 @@ void monster_die(monsters *monster, killer_type killer, int i, bool silent)
// Divine health and mp restoration doesn't happen when killing
// born-friendly monsters. The mutation still applies, however.
if (you.mutation[MUT_DEATH_STRENGTH]
- || (!created_friendly &&
- you.religion == GOD_MAKHLEB && you.duration[DUR_PRAYER] &&
- (!player_under_penance() && random2(you.piety) >= 30)))
+ || (!created_friendly
+ && you.religion == GOD_MAKHLEB
+ && (!player_under_penance() && random2(you.piety) >= 30)))
{
if (you.hp < you.hp_max)
{
@@ -612,7 +612,6 @@ void monster_die(monsters *monster, killer_type killer, int i, bool silent)
if (!created_friendly
&& (you.religion == GOD_MAKHLEB || you.religion == GOD_VEHUMET)
- && you.duration[DUR_PRAYER]
&& (!player_under_penance() && random2(you.piety) >= 30))
{
if (you.magic_points < you.max_magic_points)