diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-11-02 13:36:20 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-11-02 13:36:20 +0000 |
commit | d035522cf4d03a1420e88eff05b98b157cccd2a1 (patch) | |
tree | 47c9f738c23d2b9480ed9e8b58d86a92867bd66c /crawl-ref/source/it_use3.cc | |
parent | 59d24aaebc6b2ec862d81a917d0d1c88964ab18a (diff) | |
download | crawl-ref-d035522cf4d03a1420e88eff05b98b157cccd2a1.tar.gz crawl-ref-d035522cf4d03a1420e88eff05b98b157cccd2a1.zip |
Fixed broken MHITNOT/MHITYOU, changed handling of DUR_SLOW to be like DUR_HASTE, reduced paralysis duration for crystal balls of fixation. MHITNOT fix breaks saves.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2725 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/it_use3.cc')
-rw-r--r-- | crawl-ref/source/it_use3.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/crawl-ref/source/it_use3.cc b/crawl-ref/source/it_use3.cc index 6379dc4773..c3a0da556c 100644 --- a/crawl-ref/source/it_use3.cc +++ b/crawl-ref/source/it_use3.cc @@ -1054,15 +1054,16 @@ static bool ball_of_energy(void) } return (ret); -} // end ball_of_energy() +} static bool ball_of_fixation(void) { mpr("You gaze into the crystal ball."); mpr("You are mesmerised by a rainbow of scintillating colours!"); - you.duration[DUR_PARALYSIS] = 100; - you.duration[DUR_SLOW] = 100; + const int duration = random_range(15, 40); + you.duration[DUR_PARALYSIS] = duration; + you.duration[DUR_SLOW] = duration; return (true); -} // end ball_of_fixation() +} |