summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index 92729148ef..577b5e21da 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -2510,7 +2510,14 @@ void handle_time(long time_delta)
// the original roll of 150 for 4.1.2, but I think players are
// sufficiently used to beta 26's unkindness that we can use a lower
// roll.)
- if (you.magic_contamination >= 5
+ if (is_sanctuary(you.x_pos, you.y_pos)
+ && you.magic_contamination >= 5
+ && random2(25) <= you.magic_contamination)
+ {
+ mpr("Your body momentarily shudders from a surge of wild "
+ "energies until Zin's power calms it.", MSGCH_GOD);
+ }
+ else if (you.magic_contamination >= 5
&& random2(25) <= you.magic_contamination)
{
mpr("Your body shudders with the violent release "