summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 015c96b96a..1eb78f9f73 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -1050,8 +1050,11 @@ int player_regen()
rr += 40 * player_equip(EQ_RINGS, RING_REGENERATION);
// Spell.
- if (you.duration[DUR_REGENERATION])
+ if (you.duration[DUR_REGENERATION]
+ && !you.attribute[ATTR_DIVINE_REGENERATION])
+ {
rr += 100;
+ }
// Troll leather (except for trolls).
if (player_equip(EQ_BODY_ARMOUR, ARM_TROLL_LEATHER_ARMOUR)
@@ -1093,9 +1096,9 @@ int player_regen()
rr /= 3;
}
- // Trog's Hand. This overrides everything above.
+ // Trog's Hand. This circumvents the slow healing effect.
if (you.attribute[ATTR_DIVINE_REGENERATION])
- rr = 100;
+ rr += 100;
return (rr);
}