summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-08-13 18:01:43 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-08-13 18:01:43 +0000
commitc037773236312cc930035ee49f50fe765a7874ad (patch)
tree651cbc5091b5bf891ae03ac9284af1fc127c2111 /crawl-ref/source/item_use.cc
parent6229f7e7bb5de9df89ff67e7e3c75d8cf0a99b58 (diff)
downloadcrawl-ref-c037773236312cc930035ee49f50fe765a7874ad.tar.gz
crawl-ref-c037773236312cc930035ee49f50fe765a7874ad.zip
Apply Jude's scrolls of silence patch.
The scrolls cast the spell with a power of 25 which means it has a duration of about 24, and is the same as casting the spell with 5 levels in each of Spc, Ench, Air, as well as 21 Int. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10540 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index ab92e696e2..3779037005 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -56,6 +56,7 @@ REVISION("$Rev$");
#include "spells1.h"
#include "spells2.h"
#include "spells3.h"
+#include "spells4.h"
#include "spl-book.h"
#include "spl-cast.h"
#include "spl-mis.h"
@@ -5173,6 +5174,10 @@ void read_scroll(int slot)
break;
}
+ case SCR_SILENCE:
+ cast_silence(25);
+ break;
+
case SCR_VULNERABILITY:
_vulnerability_scroll();
break;