summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godconduct.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-06-04 03:39:33 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-06-04 03:49:16 +0200
commitc0f278eb2b0491728de7d08bdf881128c637b64a (patch)
treeebeb2f67ef23c9c8deef2469c5ce229b750d91ec /crawl-ref/source/godconduct.cc
parent515d3b260f04f388ef4de88421a0c62551e6c8cb (diff)
downloadcrawl-ref-c0f278eb2b0491728de7d08bdf881128c637b64a.tar.gz
crawl-ref-c0f278eb2b0491728de7d08bdf881128c637b64a.zip
Grant Okawaru piety (and gifts) for quality not quantity.
This is currently problematic on dungeon levels up to around D:8 as you find loads of popcorn interspersed with few actual challenges (which in turn are often enough to kill you), which gives hardly any piety. I'm forcing this for now to give us an incentive to do something to monster generation, if it won't be fixed we can disable this for a yet another release. Note that contrary to what some think, this formula would make little sense for most other gods, especially that they already give more piety for higher HD enemies. Making it almost exclusive for hardest battles can be explained for Okawaru, other gods have no theme reasons to reward recklessly running into danger. It'd need major balancing, too.
Diffstat (limited to 'crawl-ref/source/godconduct.cc')
-rw-r--r--crawl-ref/source/godconduct.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/crawl-ref/source/godconduct.cc b/crawl-ref/source/godconduct.cc
index 486f06d65e..972d98495a 100644
--- a/crawl-ref/source/godconduct.cc
+++ b/crawl-ref/source/godconduct.cc
@@ -344,9 +344,6 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known,
case GOD_KIKUBAAQUDGHA:
case GOD_YREDELEMNUL:
-#ifndef NEW_OKAWARU_PIETY
- case GOD_OKAWARU:
-#endif
case GOD_VEHUMET:
case GOD_MAKHLEB:
case GOD_TROG:
@@ -375,9 +372,6 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known,
switch (you.religion)
{
case GOD_SHINING_ONE:
-#ifndef NEW_OKAWARU_PIETY
- case GOD_OKAWARU:
-#endif
case GOD_VEHUMET:
case GOD_MAKHLEB:
case GOD_BEOGH:
@@ -404,9 +398,6 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known,
switch (you.religion)
{
case GOD_SHINING_ONE:
-#ifndef NEW_OKAWARU_PIETY
- case GOD_OKAWARU:
-#endif
case GOD_MAKHLEB:
case GOD_TROG:
case GOD_KIKUBAAQUDGHA:
@@ -541,9 +532,6 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known,
case GOD_MAKHLEB:
case GOD_BEOGH:
case GOD_LUGONU:
-#ifndef NEW_OKAWARU_PIETY
- case GOD_OKAWARU:
-#endif
if (god_hates_attacking_friend(you.religion, victim))
break;
@@ -1008,7 +996,6 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known,
break;
}
-#ifdef NEW_OKAWARU_PIETY
if (you.religion == GOD_OKAWARU
// currently no constructs and plants
&& (thing_done == DID_KILL_LIVING
@@ -1027,7 +1014,6 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known,
simple_god_message(" accepts your kill.");
retval = true;
}
-#endif
#ifdef DEBUG_DIAGNOSTICS
int old_piety = you.piety;