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/effects.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/effects.cc')
-rw-r--r-- | crawl-ref/source/effects.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc index cd100715d9..2f23cb2309 100644 --- a/crawl-ref/source/effects.cc +++ b/crawl-ref/source/effects.cc @@ -2225,6 +2225,15 @@ int acquirement_create_item(object_class_type class_wanted, break; } + // These can never get egos, and mundane versions are quite common, so + // guarantee artifact status. Rarity is a bit low to compensate. + if (thing.sub_type == WPN_GIANT_CLUB + || thing.sub_type == WPN_GIANT_SPIKED_CLUB) + { + if (!one_chance_in(25)) + make_item_randart(thing, true); + } + int plusmod = random2(4); if (agent == GOD_TROG) { |