summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/ouch.cc4
1 files 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)
{