From 0c77c2fbe90adc0c7506cfbc5cc11ae0570db2bc Mon Sep 17 00:00:00 2001 From: dolorous Date: Thu, 26 Feb 2009 16:58:54 +0000 Subject: 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 --- crawl-ref/source/makeitem.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/makeitem.cc') 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)) -- cgit v1.2.3-54-g00ecf