diff options
author | reaverb <reaverb.Crawl@gmail.com> | 2014-05-22 01:30:38 -0400 |
---|---|---|
committer | reaverb <reaverb.Crawl@gmail.com> | 2014-05-22 03:40:19 -0400 |
commit | 94537065d378a10efb3c0ace0ae552999f5b43c4 (patch) | |
tree | 9254f5691547f3ecaa7c51d4989c703c1beeccdf /crawl-ref/source/item_use.cc | |
parent | b693d2abafece09612a19b0174ae30995cf3e6ca (diff) | |
download | crawl-ref-94537065d378a10efb3c0ace0ae552999f5b43c4.tar.gz crawl-ref-94537065d378a10efb3c0ace0ae552999f5b43c4.zip |
Make blurry vision mut cause scroll reading to take more time.
Instead of the awful random chance of failure, which made you press r
over and over.
Currently adds a half turn per level, affected by Haste and Slow.
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r-- | crawl-ref/source/item_use.cc | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index 7e999a1456..591e11cb63 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -2756,14 +2756,6 @@ void read_scroll(int slot) return; } - // Imperfect vision prevents players from reading actual content {dlb}: - if (player_mutation_level(MUT_BLURRY_VISION) - && x_chance_in_y(player_mutation_level(MUT_BLURRY_VISION), 5)) - { - mpr("The writing blurs in front of your eyes."); - return; - } - // For cancellable scrolls leave printing this message to their // respective functions. string pre_succ_msg = @@ -3041,6 +3033,10 @@ void read_scroll(int slot) // since there are no *really* bad scrolls, merely useless ones). xom_is_stimulated(bad_effect ? 100 : 50); } + + // Make characters with Blurry Vision take more time to read scrolls + you.time_taken *= (2 + player_mutation_level(MUT_BLURRY_VISION)); + you.time_taken /= 2; } bool stasis_blocks_effect(bool calc_unid, |