summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godconduct.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-02-04 10:36:24 -0700
committerSteve Melenchuk <smelenchuk@gmail.com>2014-02-04 10:36:24 -0700
commit45efeda4196edc9dddb1ff5f6370485dad9c4866 (patch)
tree67fe3d538c1d9967e750d7ce213f773139c92329 /crawl-ref/source/godconduct.cc
parent94aeabdc11f5d2c70906dcb443b04aac1255807f (diff)
downloadcrawl-ref-45efeda4196edc9dddb1ff5f6370485dad9c4866.tar.gz
crawl-ref-45efeda4196edc9dddb1ff5f6370485dad9c4866.zip
Halve base Dith piety gain from kills.
i.e. the additive modifier for fiery/illuminating enemies is still the same, but the base gain for kills is cut in half. Prior to this it's been too easy to earn and maintain Dith piety, which is bad in light of the power of some of Dith's abilities. This may be *too* much of a nerf - we'll have to see how this pans out.
Diffstat (limited to 'crawl-ref/source/godconduct.cc')
-rw-r--r--crawl-ref/source/godconduct.cc32
1 files changed, 18 insertions, 14 deletions
diff --git a/crawl-ref/source/godconduct.cc b/crawl-ref/source/godconduct.cc
index 749dc14cf6..a6cedb2366 100644
--- a/crawl-ref/source/godconduct.cc
+++ b/crawl-ref/source/godconduct.cc
@@ -1043,22 +1043,26 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known,
break;
}
- if (you_worship(GOD_OKAWARU)
- // currently no constructs and plants
- && (thing_done == DID_KILL_LIVING
- || thing_done == DID_KILL_UNDEAD
- || thing_done == DID_KILL_DEMON
- || thing_done == DID_KILL_HOLY)
+ // currently no constructs and plants
+ if ((thing_done == DID_KILL_LIVING
+ || thing_done == DID_KILL_UNDEAD
+ || thing_done == DID_KILL_DEMON
+ || thing_done == DID_KILL_HOLY)
&& !god_hates_attacking_friend(you.religion, victim))
{
- piety_change = get_fuzzied_monster_difficulty(victim);
- dprf("fuzzied monster difficulty: %4.2f", piety_change * 0.01);
- piety_denom = 700;
- if (piety_change > 3200)
- simple_god_message(" appreciates your kill.");
- else if (piety_change > 9) // might still be miniscule
- simple_god_message(" accepts your kill.");
- retval = true;
+ if (you_worship(GOD_OKAWARU))
+ {
+ piety_change = get_fuzzied_monster_difficulty(victim);
+ dprf("fuzzied monster difficulty: %4.2f", piety_change * 0.01);
+ piety_denom = 700;
+ if (piety_change > 3200)
+ simple_god_message(" appreciates your kill.");
+ else if (piety_change > 9) // might still be miniscule
+ simple_god_message(" accepts your kill.");
+ retval = true;
+ }
+ if (you_worship(GOD_DITHMENGOS))
+ piety_denom *= 2;
}
#ifdef DEBUG_DIAGNOSTICS