diff options
author | elliptic <hyperelliptical@gmail.com> | 2014-05-06 20:14:00 -0400 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2014-05-07 18:23:33 -0600 |
commit | ae1d2ea754454f624a2f7841651ad7c8cd22cc31 (patch) | |
tree | eb0cde426da2a08ab0314f8658872bb6244ffe4c /crawl-ref/source/godpassive.cc | |
parent | 6190135a351f9fcf963ee8247132cecda12dd58b (diff) | |
download | crawl-ref-ae1d2ea754454f624a2f7841651ad7c8cd22cc31.tar.gz crawl-ref-ae1d2ea754454f624a2f7841651ad7c8cd22cc31.zip |
More Qazlal storm tweaks.
The corridor check catches corners and corridor mouths now. As compensation,
increase the number of clouds created, especially at lower piety levels.
Diffstat (limited to 'crawl-ref/source/godpassive.cc')
-rw-r--r-- | crawl-ref/source/godpassive.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/crawl-ref/source/godpassive.cc b/crawl-ref/source/godpassive.cc index c1f296b3fb..691f879648 100644 --- a/crawl-ref/source/godpassive.cc +++ b/crawl-ref/source/godpassive.cc @@ -723,15 +723,13 @@ void qazlal_storm_clouds() if (!cell_is_solid(*ai)) count++; - if (count >= 3) + if (count >= 5) candidates.push_back(*ri); } const int count = - div_rand_round((min((int)you.piety, piety_breakpoint(5)) - - piety_breakpoint(0)) + div_rand_round(min((int)you.piety, piety_breakpoint(5)) * candidates.size() * you.time_taken, - (piety_breakpoint(5) - piety_breakpoint(0)) - * 10 * BASELINE_DELAY); + piety_breakpoint(5) * 7 * BASELINE_DELAY); if (count < 0) return; shuffle_array(candidates); |