diff options
author | Adam Borowski <kilobyte@angband.pl> | 2009-11-11 17:02:45 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2009-11-12 00:58:16 +0100 |
commit | c8f280dbc8c22e355c7536ad17f39766c8264ec3 (patch) | |
tree | cb8872eb0536efd8a09e5e3964ef42dcbc8c1799 /crawl-ref/source/artefact.cc | |
parent | e188af641bc594cd0aa025e81cd0a4d309b8a938 (diff) | |
download | crawl-ref-c8f280dbc8c22e355c7536ad17f39766c8264ec3.tar.gz crawl-ref-c8f280dbc8c22e355c7536ad17f39766c8264ec3.zip |
Crossbows of shocking, for everyone. Launchers of holy wrath, for dpeg's angels.
Neither cause additional mulching of ammo, since both the charge and blessing
is temporary. Blessing and reaping cancel each other.
Holy wrath launchers are a lot weaker than silver ammo, but these two stack.
Plus, they're permanent while ammo is scarce.
Diffstat (limited to 'crawl-ref/source/artefact.cc')
-rw-r--r-- | crawl-ref/source/artefact.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/artefact.cc b/crawl-ref/source/artefact.cc index fb2687526a..0ac8f3ac0c 100644 --- a/crawl-ref/source/artefact.cc +++ b/crawl-ref/source/artefact.cc @@ -769,6 +769,12 @@ void static _get_randart_properties(const item_def &item, { proprt[ARTP_BRAND] = SPWPN_NORMAL; } + + if (atype == WPN_CROSSBOW && one_chance_in(5) + || atype == WPN_HAND_CROSSBOW && one_chance_in(10)) + { + proprt[ARTP_BRAND] = SPWPN_ELECTROCUTION; + } } } |