From 96edac1d649d50f9cfacf317c88007783657c55f Mon Sep 17 00:00:00 2001 From: dolorous Date: Mon, 19 Jan 2009 21:02:48 +0000 Subject: Expand effect applicator functions to take an actor parameter, and use it for holy word in order to generalize it. This way, monsters as well as players may be able to use it in the future. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8598 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spells3.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/spells3.cc') diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index 9d07e15a2c..665951f70a 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -1691,7 +1691,8 @@ bool cast_sanctuary(const int power) mpr("You are suddenly bathed in radiance!"); you.flash_colour = WHITE; - viewwindow( true, false ); + viewwindow(true, false); + holy_word(100, HOLY_WORD_ZIN, you.pos(), true); #ifndef USE_TILE delay(1000); -- cgit v1.2.3-54-g00ecf