summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-09-25 04:55:41 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-09-25 04:55:41 +0000
commit915c2ffc0aa07bb33e09b11b5e2275c034fb5d96 (patch)
tree97c79cd1a1a1d929799d656e2463edce432b9517 /crawl-ref/source/religion.cc
parent87df3f8adf2ce93247abaece1b11a10bedd9c44c (diff)
downloadcrawl-ref-915c2ffc0aa07bb33e09b11b5e2275c034fb5d96.tar.gz
crawl-ref-915c2ffc0aa07bb33e09b11b5e2275c034fb5d96.zip
Adapt Zin's old Divine Robustness into Elyvilon's Divine Vigour,
replacing the old Incredible Healing. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6980 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc23
1 files changed, 16 insertions, 7 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index eb18e2a988..0a764d40ed 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -253,11 +253,11 @@ const char* god_gain_power_messages[NUM_GODS][MAX_GOD_ABILITIES] =
"mark four cards in a deck",
"order the top five cards of a deck, losing the rest" },
// Elyvilon
- { "call upon Elyvilon for minor healing",
+ { "call upon Elyvilon for lesser healing",
"call upon Elyvilon for purification",
- "call upon Elyvilon for moderate healing",
+ "call upon Elyvilon for greater healing",
"call upon Elyvilon to restore your abilities",
- "call upon Elyvilon for greater healing" },
+ "call upon Elyvilon for divine vigour" },
// Lugonu
{ "depart the Abyss",
"bend space around yourself",
@@ -339,11 +339,11 @@ const char* god_lose_power_messages[NUM_GODS][MAX_GOD_ABILITIES] =
"mark decks",
"stack decks" },
// Elyvilon
- { "call upon Elyvilon for minor healing",
+ { "call upon Elyvilon for lesser healing",
"call upon Elyvilon for purification",
- "call upon Elyvilon for moderate healing",
+ "call upon Elyvilon for greater healing",
"call upon Elyvilon to restore your abilities",
- "call upon Elyvilon for greater healing" },
+ "call upon Elyvilon for divine vigour" },
// Lugonu
{ "depart the Abyss at will",
"bend space around yourself",
@@ -760,7 +760,7 @@ static void _inc_penance(god_type god, int val)
if (you.duration[DUR_DIVINE_STAMINA])
remove_divine_stamina();
}
- // neither does TSO's halo or divine shield
+ // Neither does TSO's halo or divine shield.
else if (god == GOD_SHINING_ONE)
{
if (you.haloed())
@@ -771,6 +771,12 @@ static void _inc_penance(god_type god, int val)
_make_god_gifts_disappear(); // only on level
}
+ // Neither does Ely's divine vigour.
+ else if (god == GOD_ELYVILON)
+ {
+ if (you.duration[DUR_DIVINE_VIGOUR])
+ remove_divine_vigour();
+ }
}
if (you.penance[god] + val > 200)
@@ -4860,6 +4866,9 @@ void excommunication(god_type new_god)
break;
case GOD_ELYVILON:
+ if (you.duration[DUR_DIVINE_VIGOUR])
+ remove_divine_vigour();
+
// Leaving Elyvilon for a non-good god will make all your
// followers (originally from TSO) abandon you.
if (!is_good_god(new_god))