summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-10-14 00:12:58 +0200
committerAdam Borowski <kilobyte@angband.pl>2009-10-14 00:12:58 +0200
commitb6c2789b34a23cfa2aba49da8c50b0faae83534a (patch)
tree7370ff4a56bc41420779f70b1e7e9c5c871386f8 /crawl-ref/source/effects.cc
parentf7670d170e9f1f6984844967b4051be08af68b7b (diff)
downloadcrawl-ref-b6c2789b34a23cfa2aba49da8c50b0faae83534a.tar.gz
crawl-ref-b6c2789b34a23cfa2aba49da8c50b0faae83534a.zip
Rename Summon Wraiths to Haunt, make it a targetted spell, necro only,
that can summon multiple wraiths and ghosts (FR 2865657).
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index 975cd9b593..84acf15828 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -41,6 +41,7 @@ REVISION("$Rev$");
#include "monplace.h"
#include "monstuff.h"
#include "mon-util.h"
+#include "mstuff2.h"
#include "mutation.h"
#include "notes.h"
#include "ouch.h"
@@ -834,6 +835,14 @@ void direct_effect(monsters *source, spell_type spell,
}
break;
+ case SPELL_SUMMON_WRAITHS:
+ if (!def)
+ mpr("You feel haunted.");
+ else
+ mpr("You sense an evil presence.");
+ mons_cast_haunt(source);
+ break;
+
default:
ASSERT(false);
}