summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-31 07:11:11 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-31 07:11:11 +0000
commit42b1a978edde92a70f85debfa4b0bdd6d3964fcb (patch)
treea3c2d1ee23402065d949ed8784b45bf3f9620097 /crawl-ref
parentc25785bb70e9207b264420b56ea4db0d9320f9a2 (diff)
downloadcrawl-ref-42b1a978edde92a70f85debfa4b0bdd6d3964fcb.tar.gz
crawl-ref-42b1a978edde92a70f85debfa4b0bdd6d3964fcb.zip
Add more spell miscast message fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5369 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/spl-cast.cc24
1 files changed, 24 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index f3e68650fb..0720b60d95 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -2778,6 +2778,10 @@ static void _miscast_necromancy(int severity, const char* cause)
case 0:
if (player_can_smell())
mpr("You smell decay.");
+ else if (you.species == SP_MUMMY)
+ mpr("Your bandages flutter.");
+ else
+ canned_msg(MSG_NOTHING_HAPPENS);
break;
case 1:
if (!silenced(you.x_pos, you.y_pos))
@@ -2835,6 +2839,10 @@ static void _miscast_necromancy(int severity, const char* cause)
mpr("You smell decay."); // identical to a harmless message
you.rotting++;
}
+ else if (you.species == SP_MUMMY)
+ mpr("Your bandages flutter.");
+ else
+ canned_msg(MSG_NOTHING_HAPPENS);
break;
}
break;
@@ -2969,6 +2977,10 @@ static void _miscast_transmigration(int severity, const char* cause)
case 9:
if (player_can_smell())
mpr("You smell something strange.");
+ else if (you.species == SP_MUMMY)
+ mpr("Your bandages flutter.");
+ else
+ canned_msg(MSG_NOTHING_HAPPENS);
break;
}
break;
@@ -3062,6 +3074,10 @@ static void _miscast_fire(int severity, const char* cause)
case 4:
if (player_can_smell())
mpr("You smell smoke.");
+ else if (you.species == SP_MUMMY)
+ mpr("Your bandages flutter.");
+ else
+ canned_msg(MSG_NOTHING_HAPPENS);
break;
case 5:
mpr("Heat runs through your body.");
@@ -3442,6 +3458,10 @@ static void _miscast_air(int severity, const char* cause)
mpr("You hear a whooshing sound.", MSGCH_SOUND);
else if (player_can_smell())
mpr("You smell ozone.");
+ else if (you.species == SP_MUMMY)
+ mpr("Your bandages flutter.");
+ else
+ canned_msg(MSG_NOTHING_HAPPENS);
break;
case 8:
canned_msg(MSG_NOTHING_HAPPENS);
@@ -3451,6 +3471,10 @@ static void _miscast_air(int severity, const char* cause)
mpr("You hear a crackling sound.", MSGCH_SOUND);
else if (player_can_smell())
mpr("You smell something musty.");
+ else if (you.species == SP_MUMMY)
+ mpr("Your bandages flutter.");
+ else
+ canned_msg(MSG_NOTHING_HAPPENS);
break;
}
break;