diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-22 19:13:35 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-22 19:13:35 +0000 |
commit | b432e59457a38ff3f885e6da7afd2570c5dd0098 (patch) | |
tree | 21dfe97244314bbb6e9c9dc27a1d61babb824310 /crawl-ref/source/spells1.h | |
parent | 67c2c0fa7330cb8a10c881e3370455b8909927dc (diff) | |
download | crawl-ref-b432e59457a38ff3f885e6da7afd2570c5dd0098.tar.gz crawl-ref-b432e59457a38ff3f885e6da7afd2570c5dd0098.zip |
Add Ely's pacifying monsters effect:
When a follower of Elyvilon attempts to heal a hostile monster
(via ability or wand) there's a chance, depending on the healing
value, max monster hp and monster type, that Ely will make that
monster become neutral. If this happens, Ely hands out a bit of
piety and his follower gains half of the monster's xp value.
If the pacifying attempt fails, the monster is never healed,
though you still lose your ressources (mana, piety, charges).
Killing neutral monsters currently means you won't get any xp.
Also, Ely dislikes this and hands out penance for doing so.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3812 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells1.h')
-rw-r--r-- | crawl-ref/source/spells1.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells1.h b/crawl-ref/source/spells1.h index b945a4cc78..f7a7f92fe4 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 cast_healing(int power, int dir_x = 100, int dir_y = 100); int cast_revitalisation(int power); // last updated 24may2000 {dlb} |