From c6a16fc11b0507b622b0a7e75798fe6beead6d74 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Wed, 18 Apr 2007 05:43:36 +0000 Subject: 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 --- crawl-ref/source/spl-book.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/spl-book.cc') 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); } -- cgit v1.2.3-54-g00ecf