summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/direct.cc
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/direct.cc
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/direct.cc')
-rw-r--r--crawl-ref/source/direct.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/direct.cc b/crawl-ref/source/direct.cc
index 76b6fc40dd..512bca6d62 100644
--- a/crawl-ref/source/direct.cc
+++ b/crawl-ref/source/direct.cc
@@ -470,7 +470,9 @@ void direction(dist& moves, targeting_type restricts,
if ((mode == TARG_ANY || mode == TARG_FRIEND)
&& moves.tx == you.x_pos && moves.ty == you.y_pos)
+ {
terse_describe_square(moves.target());
+ }
show_prompt = false;
}