diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-11 17:29:03 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-11 17:29:03 +0000 |
commit | 095584f742df63b9b575148133c307a0ff23bec1 (patch) | |
tree | 628e295241e12e6bd8c9d8fef9f5b9bcd62b3d84 /crawl-ref | |
parent | 57833f7874b11ac717bad1ba44518bce57ab7fb5 (diff) | |
download | crawl-ref-095584f742df63b9b575148133c307a0ff23bec1.tar.gz crawl-ref-095584f742df63b9b575148133c307a0ff23bec1.zip |
Adjusted enchantment durations for paralysis and confusion.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2436 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/mon-util.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc index 7391bc244f..024b3e3878 100644 --- a/crawl-ref/source/mon-util.cc +++ b/crawl-ref/source/mon-util.cc @@ -5019,8 +5019,10 @@ int mon_enchant::calc_duration(const monsters *mons, cturn = 150 / (1 + modded_speed(mons, 5)); break; case ENCH_PARALYSIS: + cturn = std::max(90 / modded_speed(mons, 5), 3); + break; case ENCH_CONFUSION: - cturn = 120 / modded_speed(mons, 5); + cturn = std::max(100 / modded_speed(mons, 5), 3); break; case ENCH_HELD: cturn = 90 / mod_speed(25, mons->speed); |