summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-10-22 23:09:08 +0200
committerAdam Borowski <kilobyte@angband.pl>2009-10-22 23:09:08 +0200
commitef6fb07fd5218af3cd14bc46fa331d0b2cadf2f3 (patch)
tree7f70712178a68a2bcaab0d904d743fd68b79e940
parent38a5c6e0bc7f402c013a78b35fb98696b28ce814 (diff)
downloadcrawl-ref-ef6fb07fd5218af3cd14bc46fa331d0b2cadf2f3.tar.gz
crawl-ref-ef6fb07fd5218af3cd14bc46fa331d0b2cadf2f3.zip
Train Invocations on Ruinous Time.
-rw-r--r--crawl-ref/source/abl-show.cc3
-rw-r--r--crawl-ref/source/godabil.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc
index 9dc118be74..7711fecc65 100644
--- a/crawl-ref/source/abl-show.cc
+++ b/crawl-ref/source/abl-show.cc
@@ -2105,7 +2105,8 @@ static bool _do_ability(const ability_def& abil)
#ifdef DEBUG_DIAGNOSTICS
mprf(MSGCH_DIAGNOSTICS, "your speed is %d", player_movement_speed());
#endif
- chronos_slouch(0); //TODO make pow not a dummy value.
+ exercise(SK_INVOCATIONS, 4 + random2(4));
+ chronos_slouch(0);
break;
diff --git a/crawl-ref/source/godabil.h b/crawl-ref/source/godabil.h
index a88bd226c0..c588a6f5f5 100644
--- a/crawl-ref/source/godabil.h
+++ b/crawl-ref/source/godabil.h
@@ -10,7 +10,7 @@
#include "externs.h"
bool ponderousify_armour();
-int chronos_slouch(int);
+int chronos_slouch(int pow);
bool zin_sustenance(bool actual = true);
bool zin_remove_all_mutations();
bool yred_injury_mirror(bool actual = true);