summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-21 21:17:44 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-21 21:17:44 +0000
commit255b08d72ab5c4a0207d8a1d1ad76883932000da (patch)
treea29b14b919d0c641726791a4a892dc827a657470 /crawl-ref/source/spl-cast.cc
parent1ed77e6ef01e014bec657b6dfea403a29e20c8fa (diff)
downloadcrawl-ref-255b08d72ab5c4a0207d8a1d1ad76883932000da.tar.gz
crawl-ref-255b08d72ab5c4a0207d8a1d1ad76883932000da.zip
Add still more monster miscast messages.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8662 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r--crawl-ref/source/spl-cast.cc21
1 files changed, 14 insertions, 7 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index f7534156b3..525bd34a5a 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -3803,12 +3803,16 @@ void MiscastEffect::_necromancy(int severity)
switch (random2(3))
{
case 0:
- // Monster messages needed.
if (target->res_torment())
- you_msg = "You feel weird for a moment.";
+ {
+ you_msg = "You feel weird for a moment.";
+ mon_msg_seen = "@The_monster@ has an odd expression for a "
+ "moment.";
+ }
else
{
- you_msg = "Pain shoots through your body!";
+ you_msg = "Pain shoots through your body!";
+ mon_msg_seen = "@The_monster@ convulses with pain!";
_ouch(5 + random2avg(15, 2));
}
break;
@@ -3883,17 +3887,20 @@ void MiscastEffect::_necromancy(int severity)
// If draining failed, just flow through...
case 2:
- // Monster messages needed.
if (target->res_torment())
{
- you_msg = "You feel weird for a moment.";
+ you_msg = "You feel weird for a moment.";
+ mon_msg_seen = "@The_monster@ has an odd expression for a "
+ "moment.";
do_msg();
}
else
{
- you_msg = "You convulse helplessly as pain tears through "
- "your body!";
+ you_msg = "You convulse helplessly as pain tears through "
+ "your body!";
+ mon_msg_seen = "@The_monster@ convulses helplessly with pain!";
_ouch(15 + random2avg(23, 2));
+ do_msg();
}
break;
}