From 1fecaefacbf77dd4056af43da0824fadb3164943 Mon Sep 17 00:00:00 2001 From: haranp Date: Sun, 14 Sep 2008 21:45:56 +0000 Subject: Decks of punishment are no longer randomly generated. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6932 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/makeitem.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/makeitem.cc') diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc index a4af7327f5..72ce0001a1 100644 --- a/crawl-ref/source/makeitem.cc +++ b/crawl-ref/source/makeitem.cc @@ -2662,13 +2662,13 @@ static void _generate_misc_item(item_def& item, int force_type, int item_race) // never randomly generated (item.sub_type == MISC_RUNE_OF_ZOT || item.sub_type == MISC_HORN_OF_GERYON + || item.sub_type == MISC_DECK_OF_PUNISHMENT // pure decks are rare in the dungeon || (item.sub_type == MISC_DECK_OF_ESCAPE || item.sub_type == MISC_DECK_OF_DESTRUCTION || item.sub_type == MISC_DECK_OF_DUNGEONS || item.sub_type == MISC_DECK_OF_SUMMONING - || item.sub_type == MISC_DECK_OF_WONDERS - || item.sub_type == MISC_DECK_OF_PUNISHMENT) + || item.sub_type == MISC_DECK_OF_WONDERS) && !one_chance_in(5)); // filling those silly empty boxes -- bwr -- cgit v1.2.3-54-g00ecf