From c037773236312cc930035ee49f50fe765a7874ad Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Thu, 13 Aug 2009 18:01:43 +0000 Subject: 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 --- crawl-ref/source/item_use.cc | 5 +++++ 1 file changed, 5 insertions(+) (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 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; -- cgit v1.2.3-54-g00ecf