summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-clouds.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2014-02-23 14:17:36 +0000
committerChris Campbell <chriscampbell89@gmail.com>2014-02-23 14:17:36 +0000
commit8486232052837962cdde3d496ec8775ef7cda594 (patch)
treeb841ee8fc4e572ab72e4581d1e34eed4617b0bf7 /crawl-ref/source/spl-clouds.cc
parenta4b783efdc617fe01f8c1aeddf2c0fa2134960c5 (diff)
downloadcrawl-ref-8486232052837962cdde3d496ec8775ef7cda594.tar.gz
crawl-ref-8486232052837962cdde3d496ec8775ef7cda594.zip
Reduce and randomise ophan holy flame duration
Diffstat (limited to 'crawl-ref/source/spl-clouds.cc')
-rw-r--r--crawl-ref/source/spl-clouds.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-clouds.cc b/crawl-ref/source/spl-clouds.cc
index f19c3f2b0e..b99ff49423 100644
--- a/crawl-ref/source/spl-clouds.cc
+++ b/crawl-ref/source/spl-clouds.cc
@@ -357,6 +357,7 @@ int holy_flames(monster* caster, actor* defender)
{
const coord_def pos = defender->pos();
int cloud_count = 0;
+ const int dur = 8 + random2avg(caster->hit_dice * 3, 2);
for (adjacent_iterator ai(pos); ai; ++ai)
{
@@ -369,7 +370,7 @@ int holy_flames(monster* caster, actor* defender)
continue;
}
- place_cloud(CLOUD_HOLY_FLAMES, *ai, caster->hit_dice * 5, caster);
+ place_cloud(CLOUD_HOLY_FLAMES, *ai, dur, caster);
cloud_count++;
}