summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makeitem.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-11-15 01:21:31 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-11-15 04:06:00 +0100
commit79c3d7c39771724248d7f06bc206c33d6517225a (patch)
treee84dc5e4f910f6ffd30252889cf04aa236361409 /crawl-ref/source/makeitem.cc
parent15ce950565d02380b0440fc8cadc78f71cb73a2e (diff)
downloadcrawl-ref-79c3d7c39771724248d7f06bc206c33d6517225a.tar.gz
crawl-ref-79c3d7c39771724248d7f06bc206c33d6517225a.zip
Remove the Divinations school.
Diffstat (limited to 'crawl-ref/source/makeitem.cc')
-rw-r--r--crawl-ref/source/makeitem.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc
index 99843c71bd..b25fc498cd 100644
--- a/crawl-ref/source/makeitem.cc
+++ b/crawl-ref/source/makeitem.cc
@@ -2753,12 +2753,7 @@ static void _generate_book_item(item_def& item, int allow_uniques,
if (one_chance_in(4))
item.plus = SK_SPELLCASTING + random2(NUM_SKILLS - SK_SPELLCASTING);
else
- {
item.plus = random2(SK_UNARMED_COMBAT);
-
- if (item.plus == SK_UNUSED_1)
- item.plus = SK_UNARMED_COMBAT;
- }
// Set number of reads possible before it "crumbles to dust".
item.plus2 = 3 + random2(15);
}