diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-04-18 05:43:36 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-04-18 05:43:36 +0000 |
commit | c6a16fc11b0507b622b0a7e75798fe6beead6d74 (patch) | |
tree | 3f0e0f1c63eb3b16c16f0e4e1ebded2978ea8eff | |
parent | 608b565440818f7ee1e57bdb32837a4f6f137f73 (diff) | |
download | crawl-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
-rw-r--r-- | crawl-ref/source/items.cc | 2 | ||||
-rw-r--r-- | crawl-ref/source/spl-book.cc | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc index 0a50b14d7e..7eb0fa1363 100644 --- a/crawl-ref/source/items.cc +++ b/crawl-ref/source/items.cc @@ -2756,7 +2756,7 @@ void handle_time( long time_delta ) temp_rand = random2(8); mpr( ((temp_rand < 5) ? "You smell something rotten." : (temp_rand == 5) ? "The smell of rotting flesh makes you sick." : - (temp_rand == 6) ? "You smell decay. Yuk..." + (temp_rand == 6) ? "You smell decay. Yuck!" : "Ugh! There is something really disgusting in your inventory."), MSGCH_ROTTEN_MEAT ); break; 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); } |