From 9b4674477db54f4d807bc0c0a2525fd987e1d7f5 Mon Sep 17 00:00:00 2001 From: Adam Borowski Date: Thu, 22 Oct 2009 22:19:45 +0200 Subject: Make Time Bend use Invocations for power. --- crawl-ref/source/abl-show.cc | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 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 3766352a23..28825c8407 100644 --- a/crawl-ref/source/abl-show.cc +++ b/crawl-ref/source/abl-show.cc @@ -2096,28 +2096,9 @@ static bool _do_ability(const ability_def& abil) break; case ABIL_CHRONOS_TIME_BEND: - { - mpr("The flow of time bends around you."); - - // TODO perhaps make power dependent on invocation? - // if so, this spell must train invocations too - // currently, has one-size-fits-all power level and duration, - // as if a wand of slow monster was zapped at each target - for (adjacent_iterator ai; ai; ++ai) - { - // Tile occupied by monster - monsters* mon = monster_at(*ai); - if (mon != NULL) - { - simple_god_message( - make_stringf(" rebukes %s.", - mon->name(DESC_NOCAP_THE).c_str()).c_str(), - GOD_CHRONOS); - do_slow_monster(mon, KC_YOU); - } - } + chronos_time_bend(16 + you.skills[SK_INVOCATIONS] * 8); + exercise(SK_INVOCATIONS, 2 + random2(3)); break; - } case ABIL_CHRONOS_SLOUCH: mpr("You can feel time thicken."); -- cgit v1.2.3-54-g00ecf