summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abl-show.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-12 06:03:59 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-12 06:03:59 +0000
commit9b362245046e8d9b4f32c22b5fc142b9933703f9 (patch)
treef48225a6ee1d5c3f6e722db8444f259166cf8afc /crawl-ref/source/abl-show.cc
parenta2f295f3b8c273dc74150dae2e2949dd620f50d7 (diff)
downloadcrawl-ref-9b362245046e8d9b4f32c22b5fc142b9933703f9.tar.gz
crawl-ref-9b362245046e8d9b4f32c22b5fc142b9933703f9.zip
Remove unused god abilities.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9421 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/abl-show.cc')
-rw-r--r--crawl-ref/source/abl-show.cc65
1 files changed, 5 insertions, 60 deletions
diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc
index 5aca3410a4..428a0c2b64 100644
--- a/crawl-ref/source/abl-show.cc
+++ b/crawl-ref/source/abl-show.cc
@@ -273,11 +273,11 @@ static const ability_def Ability_List[] =
ABFLAG_CONF_OK },
// Lugonu
- { ABIL_LUGONU_ABYSS_EXIT, "Depart the Abyss", 1, 0, 150, 10, ABFLAG_NONE },
- { ABIL_LUGONU_BEND_SPACE, "Bend Space", 1, 0, 50, 0, ABFLAG_PAIN },
- { ABIL_LUGONU_BANISH, "Banish",
+ { ABIL_LUGONU_ABYSS_EXIT, "Depart the Abyss", 1, 0, 150, 10, ABFLAG_NONE },
+ { ABIL_LUGONU_BEND_SPACE, "Bend Space", 1, 0, 50, 0, ABFLAG_PAIN },
+ { ABIL_LUGONU_BANISH, "Banish",
4, 0, 200, generic_cost::range(3, 4), ABFLAG_NONE },
- { ABIL_LUGONU_CORRUPT, "Corrupt",
+ { ABIL_LUGONU_CORRUPT, "Corrupt",
7, 5, 500, generic_cost::range(10, 14), ABFLAG_NONE },
{ ABIL_LUGONU_ABYSS_ENTER, "Enter the Abyss",
9, 0, 500, generic_cost::fixed(35), ABFLAG_PAIN },
@@ -295,12 +295,6 @@ static const ability_def Ability_List[] =
{ ABIL_BEOGH_RECALL_ORCISH_FOLLOWERS, "Recall Orcish Followers",
2, 0, 50, 0, ABFLAG_NONE },
- // These six are unused "evil" god abilities:
- { ABIL_CHARM_SNAKE, "Charm Snake", 6, 0, 200, 5, ABFLAG_NONE },
- { ABIL_BREATHE_HELLFIRE, "Breathe Hellfire", 0, 8, 200, 0, ABFLAG_BREATH },
-
- { 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 },
@@ -582,12 +576,8 @@ static talent _get_talent(ability_type ability, bool check_confused)
perfect = true;
failure = 0;
break;
-
- case ABIL_BREATHE_HELLFIRE:
- failure = 32 - you.experience_level;
- break;
// end transformation abilities {dlb}
- //
+
// begin item abilities - some possibly mutagenic {dlb}
case ABIL_EVOKE_TURN_INVISIBLE:
case ABIL_EVOKE_TELEPORTATION:
@@ -747,17 +737,6 @@ static talent _get_talent(ability_type ability, bool check_confused)
failure = 50 - (you.piety / 20) - (5 * you.skills[SK_EVOCATIONS]);
break;
- //jmf: following for to-be-created gods
- case ABIL_CHARM_SNAKE:
- invoc = true;
- failure = 40 - (you.piety / 20) - (3 * you.skills[SK_INVOCATIONS]);
- break;
-
- case ABIL_TORMENT_II:
- invoc = true;
- failure = 70 - (you.piety / 25) - (you.skills[SK_INVOCATIONS] * 4);
- break;
-
case ABIL_RENOUNCE_RELIGION:
invoc = true;
perfect = true;
@@ -1838,40 +1817,6 @@ static bool _do_ability(const ability_def& abil)
exercise(SK_INVOCATIONS, 1);
break;
- //jmf: intended as invocations from evil god(s):
- case ABIL_CHARM_SNAKE:
- cast_snake_charm( you.experience_level * 2
- + you.skills[SK_INVOCATIONS] * 3 );
-
- exercise(SK_INVOCATIONS, 2 + random2(4));
- break;
-
- case ABIL_BREATHE_HELLFIRE:
- if (you.duration[DUR_BREATH_WEAPON])
- {
- canned_msg(MSG_CANNOT_DO_YET);
- return (false);
- }
-
- if (your_spells(SPELL_HELLFIRE,
- 20 + you.experience_level, false ) == SPRET_ABORT)
- return (false);
-
- you.duration[DUR_BREATH_WEAPON] +=
- 3 + random2(5) + random2(30 - you.experience_level);
- break;
-
- case ABIL_TORMENT_II:
- if (you.is_undead)
- {
- mpr("The unliving cannot use this ability.");
- return (false);
- }
-
- torment(TORMENT_GENERIC, you.pos());
- exercise(SK_INVOCATIONS, 2 + random2(4));
- break;
-
case ABIL_TRAN_BAT:
if (!transform(100, TRAN_BAT))
{