summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 148af8e8f3..3f196501c7 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -5179,6 +5179,12 @@ void contaminate_player(int change, bool controlled, bool status_only)
if (change > 0)
xom_is_stimulated(new_level * 32);
+
+ if (new_level == 0 && you.duration[DUR_INVIS] && !you.backlit())
+ {
+ mpr("You fade completely from view now that you are no longer "
+ "glowing from magical contamination.");
+ }
}
else if (old_level == 0 && old_amount > 0 && you.magic_contamination == 0)
mpr("Your magical contamination has completely faded away.");