summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godconduct.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-04-18 19:37:05 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2014-05-07 18:23:24 -0600
commit39cf8eb8c7de842f9fe9c974bda610dae497c80e (patch)
treeb82824e9fdc560029bb53eae168b69455ca279ab /crawl-ref/source/godconduct.cc
parentf6243313170804d143b8d8d0bc946d71a8223c2b (diff)
downloadcrawl-ref-39cf8eb8c7de842f9fe9c974bda610dae497c80e.tar.gz
crawl-ref-39cf8eb8c7de842f9fe9c974bda610dae497c80e.zip
Qazlal: piety gain on (collateral) kills.
Hopefully a more interesting alternative to this will present itself.
Diffstat (limited to 'crawl-ref/source/godconduct.cc')
-rw-r--r--crawl-ref/source/godconduct.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/crawl-ref/source/godconduct.cc b/crawl-ref/source/godconduct.cc
index 591d74dea2..972ffabc41 100644
--- a/crawl-ref/source/godconduct.cc
+++ b/crawl-ref/source/godconduct.cc
@@ -337,6 +337,7 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known,
case GOD_BEOGH:
case GOD_LUGONU:
case GOD_DITHMENOS:
+ case GOD_QAZLAL:
if (you_worship(GOD_DITHMENOS)
&& mons_class_flag(victim->type, M_SHADOW))
{
@@ -371,6 +372,7 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known,
case GOD_BEOGH:
case GOD_LUGONU:
case GOD_DITHMENOS:
+ case GOD_QAZLAL:
if (you_worship(GOD_DITHMENOS)
&& mons_class_flag(victim->type, M_SHADOW))
{
@@ -406,6 +408,7 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known,
case GOD_BEOGH:
case GOD_LUGONU:
case GOD_DITHMENOS:
+ case GOD_QAZLAL:
if (you_worship(GOD_DITHMENOS)
&& mons_class_flag(victim->type, M_SHADOW))
{
@@ -543,6 +546,7 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known,
case GOD_BEOGH:
case GOD_LUGONU:
case GOD_DITHMENOS:
+ case GOD_QAZLAL:
if (you_worship(GOD_DITHMENOS)
&& mons_class_flag(victim->type, M_SHADOW))
{
@@ -614,6 +618,7 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known,
case GOD_MAKHLEB:
case GOD_BEOGH:
case GOD_LUGONU:
+ case GOD_QAZLAL:
if (god_hates_attacking_friend(you.religion, victim))
break;
@@ -655,6 +660,7 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known,
case GOD_TROG:
case GOD_BEOGH:
case GOD_LUGONU:
+ case GOD_QAZLAL:
simple_god_message(" accepts your collateral kill.");
retval = true;
piety_denom = level + 10 - you.experience_level/3;
@@ -692,6 +698,7 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known,
case GOD_MAKHLEB:
case GOD_BEOGH:
case GOD_LUGONU:
+ case GOD_QAZLAL:
simple_god_message(" accepts your collateral kill.");
retval = true;
piety_denom = level + 10 - (is_good_god(you.religion) ? 0 :
@@ -732,6 +739,7 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known,
case GOD_TROG:
case GOD_BEOGH:
case GOD_LUGONU:
+ case GOD_QAZLAL:
simple_god_message(" accepts your collateral kill.");
retval = true;
piety_denom = level + 10 - (is_good_god(you.religion) ? 0 :