diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-12-04 21:49:23 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-12-04 21:49:23 +0000 |
commit | f6ee7314cca8474b59cba7fceb8b3866957b3cb7 (patch) | |
tree | cb26685bbb5ff44b57668bf592c1ca486f7ad00c /crawl-ref | |
parent | b69f4b3d80b1ec5b40c27aea393a072dde9551f3 (diff) | |
download | crawl-ref-f6ee7314cca8474b59cba7fceb8b3866957b3cb7.tar.gz crawl-ref-f6ee7314cca8474b59cba7fceb8b3866957b3cb7.zip |
[1604370] Eliminated unpoisoned needles and blowguns of venom.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@568 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/dungeon.cc | 7 | ||||
-rw-r--r-- | crawl-ref/source/randart.cc | 8 |
2 files changed, 7 insertions, 8 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc index 35ebd5084c..0ae908901f 100644 --- a/crawl-ref/source/dungeon.cc +++ b/crawl-ref/source/dungeon.cc @@ -1197,10 +1197,6 @@ int items( int allow_uniques, // not just true-false, : SPWPN_SPEED ); break; } - case WPN_BLOWGUN: - if (one_chance_in(7)) - set_weapon_special(p, SPWPN_VENOM); - break; // quarterstaff - not powerful, as this would make // the 'staves' skill just too good @@ -1430,8 +1426,7 @@ int items( int allow_uniques, // not just true-false, // some paralysis or slowing poison needles, just // so that blowguns have some added utility over // the other launchers/throwing weapons. -- bwr - if (mitm[p].sub_type == MI_NEEDLE - && (item_level == MAKE_GOOD_ITEM || !one_chance_in(5))) + if (mitm[p].sub_type == MI_NEEDLE) { const int pois = got_curare_roll(item_level) diff --git a/crawl-ref/source/randart.cc b/crawl-ref/source/randart.cc index 2aa804e957..e0cbe0381a 100644 --- a/crawl-ref/source/randart.cc +++ b/crawl-ref/source/randart.cc @@ -828,8 +828,12 @@ void randart_wpn_properties( const item_def &item, (tmp >= 14) ? SPWPN_PROTECTION : (tmp >= 10) ? SPWPN_VENOM : SPWPN_VORPAL + random2(3); - if (proprt[RAP_BRAND] == SPWPN_VORPAL && atype == WPN_BLOWGUN) - proprt[RAP_BRAND] = SPWPN_VENOM; + if (atype == WPN_BLOWGUN + && (proprt[RAP_BRAND] == SPWPN_VORPAL + || proprt[RAP_BRAND] == SPWPN_VENOM)) + { + proprt[RAP_BRAND] = SPWPN_NORMAL; + } } } |