summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cloud.cc
diff options
context:
space:
mode:
authorelliptic <hyperelliptical@gmail.com>2014-05-07 17:18:24 -0400
committerSteve Melenchuk <smelenchuk@gmail.com>2014-05-07 18:23:34 -0600
commitec6b85c8be4f1bd2e62b3c95427ecd02014c7101 (patch)
tree3c8d9ff97cfb27cb2d6aaf7e3d9886ef0805fe0c /crawl-ref/source/cloud.cc
parent9f644f50689e34d167bc33805f9ccd5c2719002c (diff)
downloadcrawl-ref-ec6b85c8be4f1bd2e62b3c95427ecd02014c7101.tar.gz
crawl-ref-ec6b85c8be4f1bd2e62b3c95427ecd02014c7101.zip
Qazlal worshippers don't notice storm cloud noise (Grunt).
The message "Lightning arcs down from a storm cloud!" only indicates to the player that a loud noise just happened, and Q worshippers can just assume that loud noises are happening around them very frequently rather than be distracted by the message every few turns. This change can be justified by saying that Q worshippers are so used to being around a storm that they don't notice the thunder and lightning (unless lightning actually strikes a monster).
Diffstat (limited to 'crawl-ref/source/cloud.cc')
-rw-r--r--crawl-ref/source/cloud.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/crawl-ref/source/cloud.cc b/crawl-ref/source/cloud.cc
index ebcffdd0eb..967cac2160 100644
--- a/crawl-ref/source/cloud.cc
+++ b/crawl-ref/source/cloud.cc
@@ -375,11 +375,11 @@ void manage_clouds()
if (x_chance_in_y(dissipate, 400) && !actor_at(cloud.pos))
{
bool you_see = you.see_cell(cloud.pos);
- if (you_see)
+ if (you_see && !you_worship(GOD_QAZLAL))
mpr("Lightning arcs down from a storm cloud!");
noisy(25, cloud.pos,
- you_see ? NULL
- : "You hear a mighty clap of thunder!");
+ you_see || you_worship(GOD_QAZLAL) ? NULL
+ : "You hear a mighty clap of thunder!");
}
if (grd(cloud.pos) == DNGN_LAVA)
dissipate *= 4;
@@ -1156,6 +1156,7 @@ static int _actor_cloud_damage(actor *act,
}
noisy(25, act->pos(),
act->is_player() || you.see_cell(act->pos())
+ || you_worship(GOD_QAZLAL)
? NULL
: "You hear a clap of thunder!");