diff options
-rw-r--r-- | crawl-ref/source/effects.cc | 2 | ||||
-rw-r--r-- | crawl-ref/source/player.cc | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc index 65245158fa..347cd130ed 100644 --- a/crawl-ref/source/effects.cc +++ b/crawl-ref/source/effects.cc @@ -3624,7 +3624,7 @@ void handle_time(long time_delta) // not actually do anything. if (one_chance_in(30) && !(you.religion == GOD_CHEIBRIADOS - && piety_rank(you.piety) >= 1 + && you.piety >= piety_breakpoint(1) && coinflip())) { mpr("Your disease is taking its toll.", MSGCH_WARN); diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 377c3f5752..e74c72aecd 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -1200,7 +1200,7 @@ int player_hunger_rate(void) // If Cheibriados has slowed your life processes, there's a // chance you'll hunger a bit less. if (GOD_CHEIBRIADOS == you.religion - && piety_rank(you.piety) >= 1 + && you.piety >= piety_breakpoint(1) && coinflip()) hunger--; @@ -5297,7 +5297,7 @@ void dec_poison_player() // chance that your poison level is simply unaffected and // you aren't hurt by poison. if (GOD_CHEIBRIADOS == you.religion - && piety_rank(you.piety) >= 1 + && you.piety >= piety_breakpoint(1) && coinflip()) return; @@ -5568,7 +5568,7 @@ void dec_disease_player() // If Cheibriados has slowed your life processes, there's a // chance that your disease level is unaffected. if (GOD_CHEIBRIADOS == you.religion - && piety_rank(you.piety) >= 1 + && you.piety >= piety_breakpoint(1) && coinflip()) { return; |