From 5dbcbe0214981dfad90fc3e5fc95a6d9eebfa51f Mon Sep 17 00:00:00 2001 From: dolorous Date: Thu, 3 Sep 2009 22:03:40 +0000 Subject: Add noise levels for sound-related random uselessness messages, hell effect messages, and spell miscast messages. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10618 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/effects.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crawl-ref/source/effects.cc') diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc index b2a55d8932..c1f25c48cb 100644 --- a/crawl-ref/source/effects.cc +++ b/crawl-ref/source/effects.cc @@ -853,11 +853,13 @@ void random_uselessness(int scroll_slot) case 6: mpr("You hear the tinkle of a tiny bell.", MSGCH_SOUND); + noisy(10, you.pos()); cast_summon_butterflies(100); break; case 7: mprf(MSGCH_SOUND, "You hear %s.", weird_sound().c_str()); + noisy(10, you.pos()); break; } } @@ -2644,6 +2646,9 @@ static void _hell_effects() temp_rand < 15 ? MSGCH_WARN : MSGCH_SOUND)); + if (temp_rand >= 15) + noisy(15, you.pos()); + temp_rand = random2(27); if (temp_rand > 17) // 9 in 27 odds {dlb} -- cgit v1.2.3-54-g00ecf