summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abl-show.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-21 17:26:20 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-21 17:26:20 +0000
commit164413a87b0544768389c91b9ae6e833ecabb6ef (patch)
tree7e0435a9cdefba5d6e2526feffb8d0296eccf570 /crawl-ref/source/abl-show.cc
parent33652ed46d6663adcc4b4c5233dc7083746431d0 (diff)
downloadcrawl-ref-164413a87b0544768389c91b9ae6e833ecabb6ef.tar.gz
crawl-ref-164413a87b0544768389c91b9ae6e833ecabb6ef.zip
Implement reliable protection from harm for Elyvilon (available under
prayer at high enough piety, but with a significant piety cost). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7898 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/abl-show.cc')
-rw-r--r--crawl-ref/source/abl-show.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc
index 4dcc799daf..06ec8a3515 100644
--- a/crawl-ref/source/abl-show.cc
+++ b/crawl-ref/source/abl-show.cc
@@ -301,6 +301,9 @@ static const ability_def Ability_List[] =
{ ABIL_ROTTING, "Rotting", 4, 4, 0, 2, ABFLAG_NONE },
{ ABIL_TORMENT_II, "Call Torment", 9, 0, 0, 3, ABFLAG_PAIN },
+ { ABIL_HARM_PROTECTION, "Protection From Harm", 0, 0, 0, 0, ABFLAG_NONE },
+ { ABIL_HARM_PROTECTION_II, "Reliable Protection From Harm", 0, 0, 0, 0, ABFLAG_PIETY },
+
{ ABIL_RENOUNCE_RELIGION, "Renounce Religion", 0, 0, 0, 0, ABFLAG_NONE },
};
@@ -1879,6 +1882,11 @@ static bool _do_ability(const ability_def& abil)
}
break;
+ case ABIL_HARM_PROTECTION:
+ case ABIL_HARM_PROTECTION_II:
+ // Activated via prayer elsewhere.
+ break;
+
case ABIL_RENOUNCE_RELIGION:
if (yesno("Really renounce your faith, foregoing its fabulous benefits?",
false, 'n')