summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abl-show.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-10-20 20:01:19 -0500
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-10-20 20:01:58 -0500
commite3a04ec3a1b79e8f8ae8937e3fe16552384e557b (patch)
tree899b4426d9cc3deef16e1ed1031c88df0f0c5054 /crawl-ref/source/abl-show.cc
parent00e0df0c6cfcd47a9f71bf1bbd211db340baaf06 (diff)
downloadcrawl-ref-e3a04ec3a1b79e8f8ae8937e3fe16552384e557b.tar.gz
crawl-ref-e3a04ec3a1b79e8f8ae8937e3fe16552384e557b.zip
Remove tabs, and add minor cosmetic fixes.
Diffstat (limited to 'crawl-ref/source/abl-show.cc')
-rw-r--r--crawl-ref/source/abl-show.cc42
1 files changed, 23 insertions, 19 deletions
diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc
index 822b9dcc46..e8c880e9f8 100644
--- a/crawl-ref/source/abl-show.cc
+++ b/crawl-ref/source/abl-show.cc
@@ -148,7 +148,8 @@ ability_type god_abilities[MAX_NUM_GODS][MAX_GOD_ABILITIES] =
{ABIL_FEAWN_SUNLIGHT, ABIL_FEAWN_PLANT_RING, ABIL_FEAWN_RAIN,
ABIL_FEAWN_SPAWN_SPORES, ABIL_FEAWN_EVOLUTION },
// Chronos
- { ABIL_CHRONOS_PONDEROUSIFY, ABIL_CHRONOS_TIME_STEP, ABIL_CHRONOS_TIME_BEND, ABIL_CHRONOS_SLOUCH },
+ { ABIL_CHRONOS_PONDEROUSIFY, ABIL_CHRONOS_TIME_STEP,
+ ABIL_CHRONOS_TIME_BEND, ABIL_CHRONOS_SLOUCH },
};
// The description screen was way out of date with the actual costs.
@@ -2099,26 +2100,29 @@ 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) {
- mprf(MSGCH_GOD, "%s rebukes %s.",
- god_name(you.religion).c_str(),
- mon->name(DESC_NOCAP_THE).c_str());
- do_slow_monster(mon, KC_YOU);
- }
- }
- break;
- }
+ // 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);
+ }
+ }
+ break;
+ }
+
case ABIL_CHRONOS_SLOUCH:
mpr("You can feel time thicken.");
mprf(MSGCH_GOD, "your speed is %d", player_movement_speed());