From 889a46f0ec75b8b3fad729248ceab78e50c6a853 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Fri, 6 Nov 2009 21:27:59 -0600 Subject: Simplify the formula for Jiyva-worshipping players' royal jelly spawns. --- crawl-ref/source/ouch.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc index f8cc5d73f9..507a57e837 100644 --- a/crawl-ref/source/ouch.cc +++ b/crawl-ref/source/ouch.cc @@ -919,12 +919,12 @@ static void _maybe_spawn_jellies(int dam, const char* aux, if (you.religion == GOD_JIYVA && you.piety > 160 && ptr == NULL) { int how_many = 0; - if (dam >= you.hp_max * 0.75) + if (dam >= you.hp_max * 3 / 4) how_many = random2(4) + 2; else if (dam >= you.hp_max / 2) how_many = random2(2) + 2; else if (dam >= you.hp_max / 4) - how_many = random2(1) + 1; + how_many = 1; if (how_many > 0) { -- cgit v1.2.3-54-g00ecf