diff options
author | Stefan O'Rear <stefanor@cox.net> | 2009-11-13 17:36:31 -0800 |
---|---|---|
committer | Stefan O'Rear <stefanor@cox.net> | 2009-11-13 17:37:48 -0800 |
commit | 7e99e3c55edf834ceaf523b68e6d39475b4981e9 (patch) | |
tree | 9bae8c0aacc032dc7f53d271a6def6218bdbc8b2 /crawl-ref/source/makeitem.cc | |
parent | cbde1e51fc1475e60e247335f4450f14aeeb379b (diff) | |
download | crawl-ref-7e99e3c55edf834ceaf523b68e6d39475b4981e9.tar.gz crawl-ref-7e99e3c55edf834ceaf523b68e6d39475b4981e9.zip |
Give giant spiked clubs a nonzero acquirement weight
They're the best weapon in the game for the races that can weild them,
it makes no sense to exclude them from acquirements.
Also give mundane items generated by acquirement enchantments and
artifact status.
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 645685ac06..99843c71bd 100644 --- a/crawl-ref/source/makeitem.cc +++ b/crawl-ref/source/makeitem.cc @@ -1689,7 +1689,7 @@ static void _generate_weapon_item(item_def& item, bool allow_uniques, } else if ((force_good || is_demonic(item) || forced_ego || x_chance_in_y(51 + item_level, 200)) - && !item_is_mundane(item)) + && (!item_is_mundane(item) || force_good)) { // Make a better item (possibly ego). if (!no_brand) @@ -2370,7 +2370,7 @@ static void _generate_armour_item(item_def& item, bool allow_uniques, } else if ((force_good || forced_ego || item.sub_type == ARM_WIZARD_HAT || x_chance_in_y(51 + item_level, 250)) - && !item_is_mundane(item)) + && (!item_is_mundane(item) || force_good)) { // Make a good item... item.plus += random2(3); |