summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makeitem.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-14 19:15:59 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-14 19:15:59 +0000
commit09cadff30441398df1bea28ffe712e767a002ee0 (patch)
treec264f0529b3dc8257790c3f83aa3aafbe7f54750 /crawl-ref/source/makeitem.cc
parentb150867582169b908822d01e231902ba19db0036 (diff)
downloadcrawl-ref-09cadff30441398df1bea28ffe712e767a002ee0.tar.gz
crawl-ref-09cadff30441398df1bea28ffe712e767a002ee0.zip
And tweak it to act (mostly) like the old code used to.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9076 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/makeitem.cc')
-rw-r--r--crawl-ref/source/makeitem.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc
index e13b9d77ca..d69c685e51 100644
--- a/crawl-ref/source/makeitem.cc
+++ b/crawl-ref/source/makeitem.cc
@@ -2958,11 +2958,8 @@ static bool _armour_is_visibly_special(const item_def &item)
if (visibly_branded || is_random_artefact(item))
return (true);
- if (item.plus
- && (one_chance_in(3) || get_equip_race(item) && one_chance_in(7)))
- {
+ if (item.plus && !one_chance_in(3))
return (true);
- }
return (false);
}