diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-07 12:38:16 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-07 12:38:16 +0000 |
commit | 673859ea2ec2512b37ce1c74a0ea9c0412f43282 (patch) | |
tree | 19f7e8a04569323d06a547ae28c4a5a7179a1f49 /crawl-ref/source/makeitem.cc | |
parent | 167ae03b160a0ccadd7934b2bfe557d491f1cb1f (diff) | |
download | crawl-ref-673859ea2ec2512b37ce1c74a0ea9c0412f43282.tar.gz crawl-ref-673859ea2ec2512b37ce1c74a0ea9c0412f43282.zip |
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
Diffstat (limited to 'crawl-ref/source/makeitem.cc')
-rw-r--r-- | crawl-ref/source/makeitem.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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."); |