summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-wpnench.cc
diff options
context:
space:
mode:
authorNicholas Feinberg <pleasingfung@gmail.com>2014-07-09 21:51:32 -0700
committerNicholas Feinberg <pleasingfung@gmail.com>2014-07-09 22:02:03 -0700
commitb938532f5e844c74ce70ae9282c10cf00cbb8666 (patch)
treec081f705e5dc4038b3f6bdd982200d3d61c877af /crawl-ref/source/spl-wpnench.cc
parentd4491263ab3907a7ccb7a342e9da60437b4c8a04 (diff)
downloadcrawl-ref-b938532f5e844c74ce70ae9282c10cf00cbb8666.tar.gz
crawl-ref-b938532f5e844c74ce70ae9282c10cf00cbb8666.zip
Rebalance slings
Slings numbers (along with the other launchers') needed to be rebalanced after the recent ranged combat rework. The approach here is essentially analogous to the staves skill; good return for xp investment, but a limited power cap, especially if you don't find the rare upgrade weapon type. Slings renamed to 'hunting slings' and upgraded from 2->5 base damage (and 12 base delay); new, rare "greatsling" added, with 8 base damage and 14 base delay. Punk upgraded to the latter type. Thanks to Lasty for providing a baseline math suggestion!
Diffstat (limited to 'crawl-ref/source/spl-wpnench.cc')
-rw-r--r--crawl-ref/source/spl-wpnench.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-wpnench.cc b/crawl-ref/source/spl-wpnench.cc
index d9c6aabd63..1223ff1e97 100644
--- a/crawl-ref/source/spl-wpnench.cc
+++ b/crawl-ref/source/spl-wpnench.cc
@@ -214,7 +214,7 @@ spret_type brand_weapon(brand_type which_brand, int power, bool fail)
// XXX: To deal with the fact that is_missile_brand_ok will be
// unhappy if we attempt to brand stones, tell it we're using
// sling bullets instead.
- if (weapon.sub_type == WPN_SLING)
+ if (weapon_skill(weapon) == SK_SLINGS)
missile = MI_SLING_BULLET;
if (!is_missile_brand_ok(missile, _convert_to_missile(which_brand), true))