summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells1.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-23 00:38:15 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-23 00:38:15 +0000
commit435e410c4c086fa96d6068c1f7da3bd7f16f7a1c (patch)
treeba8dbcb93804a8b5d79214fbf59f2025bd60c3a5 /crawl-ref/source/spells1.h
parentc6e3890c040c7bcde1b16682f1ee519229be09e2 (diff)
downloadcrawl-ref-435e410c4c086fa96d6068c1f7da3bd7f16f7a1c.tar.gz
crawl-ref-435e410c4c086fa96d6068c1f7da3bd7f16f7a1c.zip
Elyvilon will now rarely (5% chance) protect allies from harm.
Since this only leaves them with 1 hp, they'll soon be dead anyway, so I consider it as a mixture of flavour and a warning to the player to heal the ally in question. Make the retribution healing hostiles effect only happen if you worship an evil god, as is done for the other retribution effects. Allow healing to choose a target rather than a direction, but allow Revitalisation (Zin!) to only work on the player. (That's how it was intended, I think.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3817 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells1.h')
-rw-r--r--crawl-ref/source/spells1.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells1.h b/crawl-ref/source/spells1.h
index f7a7f92fe4..91558644db 100644
--- a/crawl-ref/source/spells1.h
+++ b/crawl-ref/source/spells1.h
@@ -53,7 +53,7 @@ char cast_lesser_healing(void);
/* ***********************************************************************
* called from: ability - spell
* *********************************************************************** */
-int cast_healing(int power, int dir_x = 100, int dir_y = 100);
+int cast_healing(int power, int target_x = -1, int target_y = -1);
int cast_revitalisation(int power);
// last updated 24may2000 {dlb}