summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abl-show.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-04-04 18:06:05 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-04-04 18:06:05 +0000
commitc8abbb6f1236d147674c8d88065b8400756ce686 (patch)
tree922e3d30273cfa94ef2efc4b3f04642d459a4c4f /crawl-ref/source/abl-show.cc
parentc6ae3ddc627c3d8a2300ed6ca5afb62baf7db018 (diff)
downloadcrawl-ref-c8abbb6f1236d147674c8d88065b8400756ce686.tar.gz
crawl-ref-c8abbb6f1236d147674c8d88065b8400756ce686.zip
* Change TARG_NOT_SELF to TARG_HOSTILE (not to confused with TARG_ENEMY
that also includes neutral monsters) for Ely's Heal Other powers. * Update change log. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9579 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/abl-show.cc')
-rw-r--r--crawl-ref/source/abl-show.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc
index d7a2d1e501..a9fea0082f 100644
--- a/crawl-ref/source/abl-show.cc
+++ b/crawl-ref/source/abl-show.cc
@@ -1690,7 +1690,7 @@ static bool _do_ability(const ability_def& abil)
const bool self = (abil.ability == ABIL_ELYVILON_LESSER_HEALING_SELF);
if (cast_healing(3 + (you.skills[SK_INVOCATIONS] / 6), true,
self ? you.pos() : coord_def(0,0),
- self ? TARG_NUM_MODES : TARG_NOT_SELF) < 0)
+ self ? TARG_NUM_MODES : TARG_HOSTILE) < 0)
{
return (false);
}
@@ -1709,7 +1709,7 @@ static bool _do_ability(const ability_def& abil)
const bool self = (abil.ability == ABIL_ELYVILON_GREATER_HEALING_SELF);
if (cast_healing(10 + (you.skills[SK_INVOCATIONS] / 3), true,
self ? you.pos() : coord_def(0,0),
- self ? TARG_NUM_MODES : TARG_NOT_SELF) < 0)
+ self ? TARG_NUM_MODES : TARG_HOSTILE) < 0)
{
return (false);
}