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>2009-04-03 20:21:50 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-04-03 20:21:50 +0000
commit02a23f0ae54f800e42a987a6080b2d37b87aebc5 (patch)
tree31c4508b80a3eb20184dbea48316f4977bc5266b /crawl-ref/source/spells1.h
parent2d1dc73ba81562198242670c328146d3f13695c6 (diff)
downloadcrawl-ref-02a23f0ae54f800e42a987a6080b2d37b87aebc5.tar.gz
crawl-ref-02a23f0ae54f800e42a987a6080b2d37b87aebc5.zip
Implement a hack to differentiate between Ely's self healing and healing
others. I've added a new targetting mode TARG_NOT_SELF that basically just forces the autotargetting to skip the player in favour of the previous target or, failing that, the nearest monster (no matter whether friendly, hostile or neutral). Both types of ability crop up at the same piety point, and the ability letters are changed accordingly (which is likely to wreak havoc on those relying on their finger memory, but makes more sense and is easier to remember in the long run). I haven't changed/added the ability descriptions. If someone could do that, please? git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9575 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells1.h')
-rw-r--r--crawl-ref/source/spells1.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/spells1.h b/crawl-ref/source/spells1.h
index 32b6336463..c8302a8c5b 100644
--- a/crawl-ref/source/spells1.h
+++ b/crawl-ref/source/spells1.h
@@ -18,7 +18,8 @@ struct bolt;
bool cast_sure_blade(int power);
int cast_healing(int pow, bool divine_ability = false,
- const coord_def& where = coord_def(0,0));
+ const coord_def& where = coord_def(0,0),
+ targ_mode_type mode = TARG_NUM_MODES);
void remove_divine_vigour();
bool cast_divine_vigour();