summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.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/fight.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/fight.cc')
-rw-r--r--crawl-ref/source/fight.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index 4976e87c01..e1e8d6b339 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -1879,6 +1879,8 @@ void melee_attack::player_check_weapon_effects()
did_god_conduct(DID_HOLY, 1);
else if (is_demonic(*weapon))
did_god_conduct(DID_UNHOLY, 1);
+ else if (get_weapon_brand(*weapon) == SPWPN_SPEED)
+ did_god_conduct(DID_HASTY, 1);
}
}