diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-19 19:05:21 -0600 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-19 19:05:21 -0600 |
commit | bbd82aa198ff15df62bbb184cf947a19441de1a9 (patch) | |
tree | 6a4aaae097d7edf4727dbf6bd447746cd90bf815 /crawl-ref/source/makeitem.cc | |
parent | 11e7de69d014b356920843e0ad7cef8ade3f0bd4 (diff) | |
download | crawl-ref-bbd82aa198ff15df62bbb184cf947a19441de1a9.tar.gz crawl-ref-bbd82aa198ff15df62bbb184cf947a19441de1a9.zip |
Allow the holy wrath brand to show up on whips.
As with daggers, the chance is 1 in 12, and it's at the top, so it can
be overridden by any other brand.
Diffstat (limited to 'crawl-ref/source/makeitem.cc')
-rw-r--r-- | crawl-ref/source/makeitem.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc index 658bec6d19..f4d41d54a0 100644 --- a/crawl-ref/source/makeitem.cc +++ b/crawl-ref/source/makeitem.cc @@ -1344,6 +1344,9 @@ static brand_type _determine_weapon_brand(const item_def& item, int item_level) break; case WPN_WHIP: + if (one_chance_in(12)) + rc = SPWPN_HOLY_WRATH; + if (one_chance_in(10)) rc = SPWPN_PAIN; |