summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/acr.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-11-02 00:47:12 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-11-02 00:47:12 +0100
commit858419aa4e3ffaa7b70da5795c255af134ab6cd9 (patch)
tree9de558cfadbb26c659a9b4a4d24f9cd044ba4f1a /crawl-ref/source/acr.cc
parentdde86f0f2b3ecbb4535c450bc68771c6df90c578 (diff)
downloadcrawl-ref-858419aa4e3ffaa7b70da5795c255af134ab6cd9.tar.gz
crawl-ref-858419aa4e3ffaa7b70da5795c255af134ab6cd9.zip
Let Cb slow down ghoul decay. Make the message about biology appropiate for undead.
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r--crawl-ref/source/acr.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index 74d14eb3e1..7e0da4b3a1 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -2517,6 +2517,7 @@ static void _decrement_durations()
// XXX: Mummies have an ability (albeit an expensive one) that
// can fix rotted HPs now... it's probably impossible for them
// to even start rotting right now, but that could be changed. -- bwr
+ // It's not normal biology, so Cheibriados won't help.
if (you.species == SP_MUMMY)
you.rotting = 0;
else if (x_chance_in_y(you.rotting, 20))
@@ -2535,7 +2536,8 @@ static void _decrement_durations()
// attacks somewhat less painful, but that seems wrong-headed {dlb}:
if (you.species == SP_GHOUL)
{
- if (one_chance_in(400))
+ if (one_chance_in((you.religion == GOD_CHEIBRIADOS && you.piety >
+ piety_breakpoint(0)) ? 600 : 400))
{
mpr("You feel your flesh rotting away.", MSGCH_WARN);
ouch(1, NON_MONSTER, KILLED_BY_ROTTING);