summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc9
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)
{