diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-12-07 07:08:01 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-12-07 07:08:01 +0000 |
commit | ee19f1ad5c1a6bd5589fa76f42f8dc28d8dda844 (patch) | |
tree | ff5f5d0bc37a28f9a332a1903ff9a36d78a62af7 /crawl-ref/source/makeitem.cc | |
parent | 37d418957ce613334863f491212198567ff1cd57 (diff) | |
download | crawl-ref-ee19f1ad5c1a6bd5589fa76f42f8dc28d8dda844.tar.gz crawl-ref-ee19f1ad5c1a6bd5589fa76f42f8dc28d8dda844.zip |
Add still more whitespace and comment fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3016 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/makeitem.cc')
-rw-r--r-- | crawl-ref/source/makeitem.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc index 0d16328eb6..a17ddb81fd 100644 --- a/crawl-ref/source/makeitem.cc +++ b/crawl-ref/source/makeitem.cc @@ -29,7 +29,7 @@ static bool weapon_is_visibly_special(const item_def &item); static bool got_curare_roll(const int item_level) { - return one_chance_in(item_level > 27? 6 : + return one_chance_in(item_level > 27? 6 : item_level < 2 ? 15 : (364 - 7 * item_level) / 25); } |