From 142db52cf0a402353b1fa4cb8da1a8035964f63d Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Fri, 27 Feb 2009 00:00:16 +0000 Subject: Remove all traces of TRAN_AIR and TRAN_SERPENT_OF_HELL, the latter together with the corresponding unused ability. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9244 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/abl-show.cc | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) (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 86f4050413..c847f74068 100644 --- a/crawl-ref/source/abl-show.cc +++ b/crawl-ref/source/abl-show.cc @@ -298,7 +298,6 @@ static const ability_def Ability_List[] = // These six are unused "evil" god abilities: { ABIL_CHARM_SNAKE, "Charm Snake", 6, 0, 200, 5, ABFLAG_NONE }, - { ABIL_TRAN_SERPENT_OF_HELL, "Turn into Demonic Serpent", 16, 0, 600, 8, ABFLAG_NONE }, { ABIL_BREATHE_HELLFIRE, "Breathe Hellfire", 0, 8, 200, 0, ABFLAG_BREATH }, { ABIL_ROTTING, "Rotting", 4, 4, 0, 2, ABFLAG_NONE }, @@ -760,11 +759,6 @@ static talent _get_talent(ability_type ability, bool check_confused) failure = 40 - (you.piety / 20) - (3 * you.skills[SK_INVOCATIONS]); break; - case ABIL_TRAN_SERPENT_OF_HELL: - invoc = true; - failure = 80 - (you.piety / 25) - (you.skills[SK_INVOCATIONS] * 4); - break; - case ABIL_ROTTING: invoc = true; failure = 60 - (you.piety / 20) - (5 * you.skills[SK_INVOCATIONS]); @@ -1886,13 +1880,6 @@ static bool _do_ability(const ability_def& abil) exercise(SK_INVOCATIONS, 2 + random2(4)); break; - case ABIL_TRAN_SERPENT_OF_HELL: - transform(10 + (you.experience_level * 2) + - (you.skills[SK_INVOCATIONS] * 3), TRAN_SERPENT_OF_HELL); - - exercise(SK_INVOCATIONS, 6 + random2(9)); - break; - case ABIL_BREATHE_HELLFIRE: if (you.duration[DUR_BREATH_WEAPON]) { @@ -2247,10 +2234,8 @@ std::vector your_talents( bool check_confused ) //jmf: Check for breath weapons -- they're exclusive of each other, I hope! // Make better come ones first. - if (you.attribute[ATTR_TRANSFORMATION] == TRAN_SERPENT_OF_HELL) - _add_talent(talents, ABIL_BREATHE_HELLFIRE, check_confused ); - else if (you.attribute[ATTR_TRANSFORMATION] == TRAN_DRAGON - || player_mutation_level(MUT_BREATHE_FLAMES)) + if (you.attribute[ATTR_TRANSFORMATION] == TRAN_DRAGON + || player_mutation_level(MUT_BREATHE_FLAMES)) { _add_talent(talents, ABIL_BREATHE_FIRE, check_confused ); } -- cgit v1.2.3-54-g00ecf