summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/effects.cc15
-rw-r--r--crawl-ref/source/spl-cast.cc4
2 files changed, 19 insertions, 0 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index bed5b8de64..a6e34514a4 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -59,6 +59,7 @@
#include "state.h"
#include "stuff.h"
#include "terrain.h"
+#include "transfor.h"
#include "traps.h"
#include "tutorial.h"
#include "view.h"
@@ -762,11 +763,19 @@ void random_uselessness(unsigned char ru, unsigned char sc_read_2)
msg::stream << "You hear the distant roaring of an enraged "
<< weird_roaring_animal() << "!" << std::endl;
}
+ else if (you.attribute[ATTR_TRANSFORMATION] != TRAN_AIR)
+ mpr("Your skull vibrates slightly.");
+ else
+ canned_msg(MSG_NOTHING_HAPPENS);
break;
case 4:
if (player_can_smell())
msg::stream << "You smell " << weird_smell() << "." << std::endl;
+ else if (you.species == SP_MUMMY)
+ mpr("Your bandages flutter.");
+ else
+ canned_msg(MSG_NOTHING_HAPPENS);
break;
case 5:
@@ -784,6 +793,8 @@ void random_uselessness(unsigned char ru, unsigned char sc_read_2)
case 7:
if (!silenced(you.x_pos, you.y_pos))
mpr("You hear the tinkle of a tiny bell.");
+ else
+ mpr("The world appears momentarily distorted.");
cast_summon_butterflies( 100 );
break;
@@ -802,6 +813,10 @@ void random_uselessness(unsigned char ru, unsigned char sc_read_2)
(temp_rand == 7) ? "a crunching sound"
: "the tinkle of an enormous bell");
}
+ else if (you.attribute[ATTR_TRANSFORMATION] != TRAN_AIR)
+ mpr("Your head hurts.");
+ else
+ canned_msg(MSG_NOTHING_HAPPENS);
break;
}
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index 6b4f5794c4..9ae39a07bd 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -2159,6 +2159,8 @@ static void _miscast_conjuration(int severity, const char* cause)
mpr("You smell something strange.");
else if (you.species == SP_MUMMY)
mpr("Your bandages flutter.");
+ else
+ canned_msg(MSG_NOTHING_HAPPENS);
}
break;
@@ -3554,6 +3556,8 @@ static void _miscast_poison(int severity, const char* cause)
mpr("You hear a slurping sound.", MSGCH_SOUND);
else if (you.species != SP_MUMMY)
mpr("You taste almonds.");
+ else
+ canned_msg(MSG_NOTHING_HAPPENS);
break;
}
break;