summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index 90474958fc..512903840b 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -953,6 +953,21 @@ bool did_god_conduct( conduct_type thing_done, int level )
switch (thing_done)
{
+ case DID_DRINK_BLOOD:
+ switch (you.religion)
+ {
+ case GOD_ZIN:
+ case GOD_SHINING_ONE:
+ case GOD_ELYVILON:
+ // no penance as this can happen accidentally
+ piety_change = -2*level;
+ ret = true;
+ break;
+ default:
+ break;
+ }
+ break;
+
case DID_NECROMANCY:
case DID_UNHOLY:
case DID_ATTACK_HOLY: