From b02230ce497f96dbb7fdf3975e7b38b3dd3ce3a0 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Mon, 2 Nov 2009 21:27:30 -0600 Subject: Apply n78291's patch in [2891024] to fix Jiyva's piety gain. --- crawl-ref/source/mon-act.cc | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/mon-act.cc') 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)); } -- cgit v1.2.3-54-g00ecf