summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-05-25 05:15:16 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-05-25 05:15:16 +0000
commitffa43adfcba28224473b0460231c741bce720ca6 (patch)
treec49e3934ec72f2d8ae0540a6b149c1739fac4e50
parenta02d2b42da84734c88bceade3f9f0ab21b8fb701 (diff)
downloadcrawl-ref-ffa43adfcba28224473b0460231c741bce720ca6.tar.gz
crawl-ref-ffa43adfcba28224473b0460231c741bce720ca6.zip
In the "^" screen, display that Elyvilon's lesser healing for yourself
and others has a piety cost, since it does in the former case, and there's only room for one line there. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9820 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/abl-show.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc
index 5f830b4ed6..f04422f08c 100644
--- a/crawl-ref/source/abl-show.cc
+++ b/crawl-ref/source/abl-show.cc
@@ -59,7 +59,6 @@ REVISION("$Rev$");
#include "tutorial.h"
#include "view.h"
-
#ifdef UNIX
#include "libunix.h"
#endif
@@ -281,8 +280,12 @@ static const ability_def Ability_List[] =
0, 0, 0, 0, ABFLAG_NONE },
{ ABIL_ELYVILON_LESSER_HEALING_SELF, "Lesser Self-Healing",
1, 0, 100, generic_cost::range(0, 1), ABFLAG_CONF_OK },
+ // XXX: Since there's only one entry for both lesser self-healing
+ // and lesser healing, and the latter comes first for purposes of
+ // the "^" screen, display that there's a piety cost for the latter,
+ // even though only the former actually has one.
{ ABIL_ELYVILON_LESSER_HEALING_OTHERS, "Lesser Healing",
- 1, 0, 100, 0, ABFLAG_CONF_OK },
+ 1, 0, 100, 0, ABFLAG_PIETY | ABFLAG_CONF_OK },
{ ABIL_ELYVILON_PURIFICATION, "Purification", 2, 0, 150, 1,
ABFLAG_CONF_OK },
{ ABIL_ELYVILON_GREATER_HEALING_SELF, "Greater Self-Healing",