summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-16 09:32:26 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-16 09:32:26 +0000
commit7ef7c9267668eb9187532ef5f96fcec5999ecd04 (patch)
tree84173ec0722cdc1cdea55b454d635746edffa6cd /crawl-ref/source/item_use.cc
parent34a06cacc3a678326aeb913c299a2a118ce8ab9f (diff)
downloadcrawl-ref-7ef7c9267668eb9187532ef5f96fcec5999ecd04.tar.gz
crawl-ref-7ef7c9267668eb9187532ef5f96fcec5999ecd04.zip
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
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc11
1 files changed, 6 insertions, 5 deletions
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