summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-selfench.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2013-10-22 10:05:56 +0100
committerChris Campbell <chriscampbell89@gmail.com>2013-10-22 15:32:02 +0100
commit32aaa6d603b185c9e3b76996738a43a6fc07de6b (patch)
treed05ee4f6018507e0cba6c1aba5d6bcb1fc41eb48 /crawl-ref/source/spl-selfench.cc
parenta2f7d0d50f62b156f3c9103cbfa9502ce2319637 (diff)
downloadcrawl-ref-32aaa6d603b185c9e3b76996738a43a6fc07de6b.tar.gz
crawl-ref-32aaa6d603b185c9e3b76996738a43a6fc07de6b.zip
Adjust Song of Slaying
Randomise (and increase on average) the duration, reduce the power cap to 100, and slightly loosen the requirements for monster difficulty (each monster difficulty tier can provide 1 more slaying than before).
Diffstat (limited to 'crawl-ref/source/spl-selfench.cc')
-rw-r--r--crawl-ref/source/spl-selfench.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/crawl-ref/source/spl-selfench.cc b/crawl-ref/source/spl-selfench.cc
index ecb4b1f5f7..7aac0a1ef7 100644
--- a/crawl-ref/source/spl-selfench.cc
+++ b/crawl-ref/source/spl-selfench.cc
@@ -343,9 +343,7 @@ spret_type cast_song_of_slaying(int pow, bool fail)
else
mpr("You start singing a song of slaying.");
- you.increase_duration(DUR_SONG_OF_SLAYING, 20 + pow / 3, 20 + pow / 3);
-
- noisy(10, you.pos());
+ you.set_duration(DUR_SONG_OF_SLAYING, 20 + random2avg(pow, 2));
you.props["song_of_slaying_bonus"] = 0;
return SPRET_SUCCESS;