From b6c2789b34a23cfa2aba49da8c50b0faae83534a Mon Sep 17 00:00:00 2001 From: Adam Borowski Date: Wed, 14 Oct 2009 00:12:58 +0200 Subject: Rename Summon Wraiths to Haunt, make it a targetted spell, necro only, that can summon multiple wraiths and ghosts (FR 2865657). --- crawl-ref/source/effects.cc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'crawl-ref/source/effects.cc') 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); } -- cgit v1.2.3-54-g00ecf