diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2014-03-30 03:33:06 +0100 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2014-04-03 14:12:52 +0100 |
commit | bb6752c796fbcc8c7bb9e82ff2bc772eeac75cc2 (patch) | |
tree | c4574426686b8e9f5ffbdf422e7888e06499218a /crawl-ref/source/xom.cc | |
parent | a62aeb63063a6d78de396fb2e13651201dc0c516 (diff) | |
download | crawl-ref-bb6752c796fbcc8c7bb9e82ff2bc772eeac75cc2.tar.gz crawl-ref-bb6752c796fbcc8c7bb9e82ff2bc772eeac75cc2.zip |
Reduce the volume of Xom's noise effect, don't let silence affect it
Diffstat (limited to 'crawl-ref/source/xom.cc')
-rw-r--r-- | crawl-ref/source/xom.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc index f25d43559c..c30d8dec2f 100644 --- a/crawl-ref/source/xom.cc +++ b/crawl-ref/source/xom.cc @@ -3365,17 +3365,15 @@ static int _xom_do_banishment(bool debug = false) static int _xom_noise(bool debug = false) { - if (silenced(you.pos())) - return XOM_DID_NOTHING; - if (debug) return XOM_BAD_NOISE; - // Ranges from shout to shatter volume, roughly. - const int noisiness = 15 + random2(26); + // Ranges from shout to shatter volume. + const int noisiness = 12 + random2(19); god_speaks(GOD_XOM, _get_xom_speech("noise").c_str()); - noisy(noisiness, you.pos()); + // Xom isn't subject to silence. + fake_noisy(noisiness, you.pos()); take_note(Note(NOTE_XOM_EFFECT, you.piety, -1, "noise"), true); return XOM_BAD_NOISE; |