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.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 4f5f0a1346..7d11542b83 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -1096,7 +1096,7 @@ int player_hunger_rate(void)
if (you.species == SP_TROLL)
hunger += 3; // in addition to the +3 for fast metabolism
- if (you.duration[DUR_REGENERATION] > 0)
+ if (you.duration[DUR_REGENERATION])
hunger += 4;
// Moved here from acr.cc... maintaining the >= 40 behaviour.
@@ -1270,6 +1270,10 @@ int player_res_magic(void)
if (you.attribute[ATTR_TRANSFORMATION] == TRAN_LICH)
rm += 50;
+ // Trog's Hand
+ if (you.attribute[ATTR_DIVINE_REGENERATION])
+ rm += 70;
+
// Enchantment effect
if (you.duration[DUR_LOWERED_MR])
rm /= 2;