From 673859ea2ec2512b37ce1c74a0ea9c0412f43282 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Mon, 7 Jul 2008 12:38:16 +0000 Subject: Fix 2012088: Monsters "following" you from the Abyss to the wrong level. A few fixes to starting equipment and skills. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6440 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 c27a6bf7a3..d9a177a2e7 100644 --- a/crawl-ref/source/makeitem.cc +++ b/crawl-ref/source/makeitem.cc @@ -893,7 +893,7 @@ static bool _try_make_weapon_artefact(item_def& item, int force_type, int item_level) { if (item.sub_type != WPN_CLUB && item_level > 2 - && x_chance_in_y(101 + (item_level * 3), 4000)) + && x_chance_in_y(101 + item_level * 3, 4000)) { // Make a randart or unrandart. @@ -945,7 +945,7 @@ static bool _try_make_weapon_artefact(item_def& item, int force_type, // If it isn't an artefact yet, try to make a fixed artefact. if (item_level > 6 && one_chance_in(12) - && x_chance_in_y(31 + (item_level * 3), 3000)) + && x_chance_in_y(31 + item_level * 3, 3000)) { #ifdef DEBUG_DIAGNOSTICS mprf(MSGCH_DIAGNOSTICS, "Making fixed artefact."); -- cgit v1.2.3-54-g00ecf