summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cloud.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-01-27 16:23:58 -0700
committerSteve Melenchuk <smelenchuk@gmail.com>2014-01-27 16:23:58 -0700
commitcfacb1039cb948b213ff066e7d6bbd7b8c55f0aa (patch)
tree5f8162989f66cef4ce5a0f5a360fadf7c4f22044 /crawl-ref/source/cloud.cc
parentc7e39278c09070980bc29b4ebe06058dc6e3c077 (diff)
downloadcrawl-ref-cfacb1039cb948b213ff066e7d6bbd7b8c55f0aa.tar.gz
crawl-ref-cfacb1039cb948b213ff066e7d6bbd7b8c55f0aa.zip
Harshen piety hits for Dith firestarting; fix some edge cases.
Forest fires, Conjure Flame, and Ring of Flames now incur piety hits properly, and the piety hits for everything else are much harsher (you're probably going to get penance for trying to do anything fire-related).
Diffstat (limited to 'crawl-ref/source/cloud.cc')
-rw-r--r--crawl-ref/source/cloud.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/cloud.cc b/crawl-ref/source/cloud.cc
index fcea890200..3397a53fcd 100644
--- a/crawl-ref/source/cloud.cc
+++ b/crawl-ref/source/cloud.cc
@@ -247,7 +247,10 @@ static void _spread_fire(const cloud_struct &cloud)
cloud.killer, cloud.source, cloud.spread_rate,
cloud.colour, cloud.name, cloud.tile, cloud.excl_rad);
if (cloud.whose == KC_YOU)
+ {
did_god_conduct(DID_KILL_PLANT, 1);
+ did_god_conduct(DID_FIRE, 6);
+ }
else if (cloud.whose == KC_FRIENDLY && !crawl_state.game_is_arena())
did_god_conduct(DID_PLANT_KILLED_BY_SERVANT, 1);
}