summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/acr.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-10-21 15:39:41 +0200
committerAdam Borowski <kilobyte@angband.pl>2009-10-21 15:42:08 +0200
commitf38686da314acb638e8f655cff6db865c6841056 (patch)
tree5100661f6fd2d97414ae1d6aa0e5bdb8dcd5a5d1 /crawl-ref/source/acr.cc
parent841ed044c957325a8b37d39a4682b603770c7fc6 (diff)
downloadcrawl-ref-f38686da314acb638e8f655cff6db865c6841056.tar.gz
crawl-ref-f38686da314acb638e8f655cff6db865c6841056.zip
Add missing Chronos conducts for hasting yourself, casting swiftness,
using weapons of speed and boots of running.
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r--crawl-ref/source/acr.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index 16124258df..93a6b4f235 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -3928,6 +3928,12 @@ static void _move_player(coord_def move)
}
apply_berserk_penalty = !attacking;
+
+ if (!attacking && you.religion == GOD_CHRONOS && one_chance_in(10)
+ && player_equip_ego_type(EQ_BOOTS, SPARM_RUNNING))
+ {
+ did_god_conduct(DID_HASTY, 1, true);
+ }
}