summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-ench.cc
diff options
context:
space:
mode:
authorreaverb <reaverb.Crawl@gmail.com>2014-05-13 14:19:11 -0400
committerreaverb <reaverb.Crawl@gmail.com>2014-05-13 21:08:36 -0400
commit12223c06ef9274e1b90c86d4c6a8ebd9f813c66a (patch)
treeac71d6e58668844f1ce17905d76901f19e640ce3 /crawl-ref/source/mon-ench.cc
parent8e1b8955197c90e724290fb66c5842639f659b8f (diff)
downloadcrawl-ref-12223c06ef9274e1b90c86d4c6a8ebd9f813c66a.tar.gz
crawl-ref-12223c06ef9274e1b90c86d4c6a8ebd9f813c66a.zip
Remove Shedu
They never really worked as enemies - their only unique aspect, partner resurrection, was just annoying.
Diffstat (limited to 'crawl-ref/source/mon-ench.cc')
-rw-r--r--crawl-ref/source/mon-ench.cc17
1 files changed, 0 insertions, 17 deletions
diff --git a/crawl-ref/source/mon-ench.cc b/crawl-ref/source/mon-ench.cc
index 9a32dc18b3..3bc468c6c5 100644
--- a/crawl-ref/source/mon-ench.cc
+++ b/crawl-ref/source/mon-ench.cc
@@ -1181,14 +1181,6 @@ void monster::timeout_enchantments(int levels)
break;
}
- case ENCH_PREPARING_RESURRECT:
- {
- const int actdur = speed_to_duration(speed) * levels;
- if (lose_ench_duration(i->first, actdur))
- shedu_do_actual_resurrection(this);
- break;
- }
-
default:
break;
}
@@ -1685,11 +1677,6 @@ void monster::apply_enchantment(const mon_enchant &me)
}
break;
- case ENCH_PREPARING_RESURRECT:
- if (decay_enchantment(en))
- shedu_do_actual_resurrection(this);
- break;
-
case ENCH_SPORE_PRODUCTION:
// Reduce the timer, if that means we lose the enchantment then
// spawn a spore and re-add the enchantment.
@@ -2437,10 +2424,6 @@ int mon_enchant::calc_duration(const monster* mons,
// the monster will create a giant spore.
return random_range(475, 525) * 10;
- case ENCH_PREPARING_RESURRECT:
- // A timer. When it runs out, the creature will cast resurrect.
- return random_range(4, 7) * 10;
-
case ENCH_EXPLODING:
return random_range(3, 7) * 10;