diff options
author | DracoOmega <draco_omega@live.com> | 2014-03-29 01:18:33 -0230 |
---|---|---|
committer | DracoOmega <draco_omega@live.com> | 2014-03-29 06:30:37 -0230 |
commit | dd35d23968f6db5c5361f817d5043ae2e4e3808e (patch) | |
tree | f513fc8f2bc32f535ce065ca55f37affbac97a33 /crawl-ref/source/spl-clouds.cc | |
parent | 52661a8da4720939f538e942994c954cc5fd8334 (diff) | |
download | crawl-ref-dd35d23968f6db5c5361f817d5043ae2e4e3808e.tar.gz crawl-ref-dd35d23968f6db5c5361f817d5043ae2e4e3808e.zip |
Adjust/normalize Rod of Clouds cloud durations
The way it used shotgun rays meant that clouds placed directly in
front of you could have extremely high durations compared to clouds
just slightly to the side (an average of about 97 turns at 16 evo!).
This commit makes all the clouds in the cone have the same base
duration as each other (individually randomized and lower overall).
Diffstat (limited to 'crawl-ref/source/spl-clouds.cc')
-rw-r--r-- | crawl-ref/source/spl-clouds.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-clouds.cc b/crawl-ref/source/spl-clouds.cc index dca58e9652..1f80423d6e 100644 --- a/crawl-ref/source/spl-clouds.cc +++ b/crawl-ref/source/spl-clouds.cc @@ -542,7 +542,7 @@ spret_type cast_cloud_cone(const actor *caster, int pow, const coord_def &pos, if (p->second <= 0) continue; place_cloud(cloud, p->first, - random2avg(p->second * div_rand_round(pow, 3), 2), + 5 + random2avg(12 + div_rand_round(pow * 3, 4), 3), caster); } |