summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-11-07 21:33:57 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-11-07 21:33:57 +0100
commitf4fae4b5632df892e9e28f865d24acbd631c62e1 (patch)
tree34ea849ca18455bd0221d6fcdc4f145677a7da3c /crawl-ref/source/player.cc
parent5775da5b7de46dbfb59a2f9a8e2ecb0a971e28ee (diff)
downloadcrawl-ref-f4fae4b5632df892e9e28f865d24acbd631c62e1.tar.gz
crawl-ref-f4fae4b5632df892e9e28f865d24acbd631c62e1.zip
Increase the hunger hit of troll armour, to be consistent with rings of regen.
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 596174d6d4..3813727c25 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -1204,7 +1204,8 @@ int player_hunger_rate(void)
// troll leather armour
if (you.species != SP_TROLL && you.hp < you.hp_max)
- hunger += player_equip( EQ_BODY_ARMOUR, ARM_TROLL_LEATHER_ARMOUR );
+ if (player_equip( EQ_BODY_ARMOUR, ARM_TROLL_LEATHER_ARMOUR ))
+ hunger += coinflip() ? 2 : 1;
// randarts
hunger += scan_artefacts(ARTP_METABOLISM);