From 7ef7c9267668eb9187532ef5f96fcec5999ecd04 Mon Sep 17 00:00:00 2001 From: haranp Date: Tue, 16 Oct 2007 09:32:26 +0000 Subject: Forgetfulness removed; it's now a scroll of fog with a 1-in-10 chance of producing miasma instead. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2485 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/item_use.cc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'crawl-ref/source/item_use.cc') diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index 6cd7ba299a..5fd1c638fe 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -36,6 +36,7 @@ #include "beam.h" #include "cio.h" +#include "cloud.h" #include "command.h" #include "debug.h" #include "delay.h" @@ -3714,11 +3715,10 @@ void read_scroll(void) } break; - case SCR_FORGETFULNESS: - if (wearing_amulet(AMU_CLARITY)) - mpr("You feel forgetfull for a moment."); - else - id_the_scroll = forget_inventory(); + case SCR_FOG: + mpr("The scroll dissolves into smoke."); + big_cloud( one_chance_in(10) ? CLOUD_MIASMA : random_smoke_type(), + KC_YOU, you.x_pos, you.y_pos, 50, 8 + random2(8)); break; case SCR_MAGIC_MAPPING: @@ -3924,6 +3924,7 @@ void read_scroll(void) do_curse_item( item ); } break; + } // end switch // finally, destroy and identify the scroll -- cgit v1.2.3-54-g00ecf