summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-19 09:46:26 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-19 09:46:26 +0000
commit05a9956798b9ccc82b5ed32412d99f53c60b3b4d (patch)
tree615f50bf4b85428ecd3b84c0950fc62a07be70e6 /crawl-ref/source/monstuff.cc
parent361d79f1078a756eb41ddf14294cc017c38676a8 (diff)
downloadcrawl-ref-05a9956798b9ccc82b5ed32412d99f53c60b3b4d.tar.gz
crawl-ref-05a9956798b9ccc82b5ed32412d99f53c60b3b4d.zip
* Change Roxanne's spells to include Blink Other (instead of Sandblast)
as spell to fall back on if all others are out of range. (Fixes 2686559.) * Fix 2690141: Tiles inventory leaking cursedness of items. * Fix 2687108: inappropriate message flushing during repeat command. * Fix opening/closing doors not updating exclusion los. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9516 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r--crawl-ref/source/monstuff.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index c1b5e7f59a..061a2f33f7 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -914,11 +914,15 @@ static void _mummy_curse(monsters* monster, killer_type killer, int index)
else
{
if (index == NON_MONSTER)
+ {
mpr("You feel extremely nervous for a moment...",
MSGCH_MONSTER_SPELL);
+ }
else if (you.can_see(target))
+ {
mprf(MSGCH_MONSTER_SPELL, "A malignant aura surrounds %s.",
target->name(DESC_NOCAP_THE).c_str());
+ }
MiscastEffect(target, monster_index(monster), SPTYP_NECROMANCY,
pow, random2avg(88, 3), "a mummy death curse");
}