summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-book.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-18 05:43:36 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-18 05:43:36 +0000
commitc6a16fc11b0507b622b0a7e75798fe6beead6d74 (patch)
tree3f0e0f1c63eb3b16c16f0e4e1ebded2978ea8eff /crawl-ref/source/spl-book.cc
parent608b565440818f7ee1e57bdb32837a4f6f137f73 (diff)
downloadcrawl-ref-c6a16fc11b0507b622b0a7e75798fe6beead6d74.tar.gz
crawl-ref-c6a16fc11b0507b622b0a7e75798fe6beead6d74.zip
Drop spellcasting lower limit to 6 for reading Annihilations, Demonology and
the Necronomicon. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1333 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-book.cc')
-rw-r--r--crawl-ref/source/spl-book.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/spl-book.cc b/crawl-ref/source/spl-book.cc
index d3ca45dd64..ea75e16d0c 100644
--- a/crawl-ref/source/spl-book.cc
+++ b/crawl-ref/source/spl-book.cc
@@ -1003,15 +1003,15 @@ static bool player_can_read_spellbook( const item_def &book )
if ((book.sub_type == BOOK_ANNIHILATIONS
&& you.religion != GOD_VEHUMET
&& (you.skills[SK_CONJURATIONS] < 10
- || you.skills[SK_SPELLCASTING] < 10))
+ || you.skills[SK_SPELLCASTING] < 6))
|| (book.sub_type == BOOK_DEMONOLOGY
&& you.religion != GOD_VEHUMET
&& (you.skills[SK_SUMMONINGS] < 10
- || you.skills[SK_SPELLCASTING] < 10))
+ || you.skills[SK_SPELLCASTING] < 6))
|| (book.sub_type == BOOK_NECRONOMICON
&& you.religion != GOD_KIKUBAAQUDGHA
&& (you.skills[SK_NECROMANCY] < 10
- || you.skills[SK_SPELLCASTING] < 10)))
+ || you.skills[SK_SPELLCASTING] < 6)))
{
return (false);
}