summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2010-01-07 21:13:40 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2010-01-07 21:25:57 +1000
commit57495e5eb5b69c7bfdad1391da2745edccc4e0ae (patch)
tree55960d2ee81386516226054398da3d539ca493d2 /crawl-ref/source/item_use.cc
parent00005320c53fa3bdd66df6d805bf4f83fa43bec1 (diff)
downloadcrawl-ref-57495e5eb5b69c7bfdad1391da2745edccc4e0ae.tar.gz
crawl-ref-57495e5eb5b69c7bfdad1391da2745edccc4e0ae.zip
Unlink Slings and Throwing. (Vandal)
Using slings also trained throwing; slings and their uses don't work at all off the throwing skill, so it seems utterly pointless to do this. I am assuming the reasoning is that slings use stones, and stones use throwing, but I think that's a bit confusing. It also means that extraneous EXP is sunk into throwing with really using throwing.
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index 0b08db911e..0b9b1c7a18 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -2867,16 +2867,6 @@ bool throw_it(bolt &pbolt, int throw_2, bool teleport, int acc_bonus,
break;
}
- // Slings and Darts train Throwing a bit.
- if (launcher_skill == SK_SLINGS)
- {
- if (coinflip())
- exercise(SK_THROWING, 1);
-
- // They also get a minor tohit boost from throwing skill.
- exHitBonus += you.skills[SK_THROWING] / 5;
- }
-
if (bow_brand == SPWPN_VORPAL)
{
// Vorpal brand adds 30% damage bonus. Increased from 25%