From 164413a87b0544768389c91b9ae6e833ecabb6ef Mon Sep 17 00:00:00 2001 From: dolorous Date: Sun, 21 Dec 2008 17:26:20 +0000 Subject: 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 --- crawl-ref/source/abl-show.cc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'crawl-ref/source/abl-show.cc') 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') -- cgit v1.2.3-54-g00ecf