summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/religion.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index 9b5cb0d13d..be13374bce 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -2568,11 +2568,15 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known,
switch (you.religion)
{
case GOD_SHINING_ONE:
+ case GOD_OKAWARU:
+ case GOD_MAKHLEB:
simple_god_message(" accepts your collateral kill.");
ret = true;
- // only holy gods care about this, so no XP level deduction
- if (random2(level + 10) > 5)
+ if (random2(level + 10 - (is_good_god(you.religion) ? 0 :
+ you.experience_level/3)) > 5)
+ {
piety_change = 1;
+ }
break;
default:
break;