diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-19 21:02:48 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-19 21:02:48 +0000 |
commit | 96edac1d649d50f9cfacf317c88007783657c55f (patch) | |
tree | f6df66bbb1e96cf067eb1c4dd3bf506cb167c056 /crawl-ref/source/spells3.cc | |
parent | e40eb81627b79763549583a56ebd2cd1f91d337c (diff) | |
download | crawl-ref-96edac1d649d50f9cfacf317c88007783657c55f.tar.gz crawl-ref-96edac1d649d50f9cfacf317c88007783657c55f.zip |
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
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r-- | crawl-ref/source/spells3.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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); |