summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-act.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/mon-act.cc')
-rw-r--r--crawl-ref/source/mon-act.cc11
1 files changed, 8 insertions, 3 deletions
diff --git a/crawl-ref/source/mon-act.cc b/crawl-ref/source/mon-act.cc
index 4a67c4d57c..4ed2fe4afa 100644
--- a/crawl-ref/source/mon-act.cc
+++ b/crawl-ref/source/mon-act.cc
@@ -2231,10 +2231,15 @@ static bool _monster_eat_item(monsters *monster, bool nearby)
for (int m = 0; m < quantity; ++m)
{
- if (x_chance_in_y(value / 2 + 1, 30 + you.piety / 4))
+ if (x_chance_in_y(value / 4 + 1, 30 + you.piety / 4))
{
if (timeout <= 0)
- pg += random2(item_value(*si) / 6);
+ {
+ if (value < 100)
+ pg += random2(item_value(*si) / 5);
+ else
+ pg += random2(item_value(*si) / 30);
+ }
else
timeout -= value / 5;
}
@@ -2270,7 +2275,7 @@ static bool _monster_eat_item(monsters *monster, bool nearby)
if (success)
{
- timeout = (100 + roll_dice(2, 4));
+ timeout = (700 + roll_dice(2, 4));
you.num_gifts[you.religion]++;
take_note(Note(NOTE_GOD_GIFT, you.religion));
}