summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abl-show.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-10-22 22:19:45 +0200
committerAdam Borowski <kilobyte@angband.pl>2009-10-22 22:52:16 +0200
commit9b4674477db54f4d807bc0c0a2525fd987e1d7f5 (patch)
tree8f25140401c9ae5180395627d46a814f4d526a22 /crawl-ref/source/abl-show.cc
parente9c4ad3ff54b7cf9f7f05c5cd58c03cd605663b5 (diff)
downloadcrawl-ref-9b4674477db54f4d807bc0c0a2525fd987e1d7f5.tar.gz
crawl-ref-9b4674477db54f4d807bc0c0a2525fd987e1d7f5.zip
Make Time Bend use Invocations for power.
Diffstat (limited to 'crawl-ref/source/abl-show.cc')
-rw-r--r--crawl-ref/source/abl-show.cc23
1 files changed, 2 insertions, 21 deletions
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.");