diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-26 16:58:54 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-26 16:58:54 +0000 |
commit | 0c77c2fbe90adc0c7506cfbc5cc11ae0570db2bc (patch) | |
tree | 1e86e6f9c838330da6b38fdfa1bca2899b70e4ec /crawl-ref/source/makeitem.cc | |
parent | 342d93c81d1189ead083ff972eb6e874f041d9a3 (diff) | |
download | crawl-ref-0c77c2fbe90adc0c7506cfbc5cc11ae0570db2bc.tar.gz crawl-ref-0c77c2fbe90adc0c7506cfbc5cc11ae0570db2bc.zip |
Remove the Book of Healing again, properly this time. Note that the
spells in it are still available.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9227 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/makeitem.cc')
-rw-r--r-- | crawl-ref/source/makeitem.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc index 6461342c0a..60dbc7bceb 100644 --- a/crawl-ref/source/makeitem.cc +++ b/crawl-ref/source/makeitem.cc @@ -2480,7 +2480,7 @@ static void _generate_book_item(item_def& item, int allow_uniques, continue; } } - while (item.sub_type == BOOK_HEALING); + while (book_rarity(item.sub_type) == 100); // Tome of destruction: rare! if (item_level > 10 && x_chance_in_y(21 + item_level, 7000)) |