summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/skills.cc
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2009-12-31 23:04:44 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2009-12-31 23:21:12 +1000
commit20de84ea5290c7f9326e216814424cfd2230575e (patch)
tree3a8ec83cdddd583b9a1f437eb248c132d554b261 /crawl-ref/source/skills.cc
parentb194faa1f7e53d81bac6f42c404790ff2b620385 (diff)
downloadcrawl-ref-20de84ea5290c7f9326e216814424cfd2230575e.tar.gz
crawl-ref-20de84ea5290c7f9326e216814424cfd2230575e.zip
Subsume Darts skill into Throwing.
Instances where Darts skill was previously check (such as blow guns, throwing of darts, etc), now check the throwing skill instead. This causes a few problems: * missile acquirement is possibly skewed now * aptitudes are now wrong, and should be adjusted This doesn't include code to compensate for large monsters that used to have a good throwing skills and bad dart skills now using the lower throwing skill, and vice versa, but it's a major start. TAG_MAJOR_VERSION was bumped in the previous commit. Hopefully I haven't broken anything too major, but if so, the commit can be reverted.
Diffstat (limited to 'crawl-ref/source/skills.cc')
-rw-r--r--crawl-ref/source/skills.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/skills.cc b/crawl-ref/source/skills.cc
index 608ebca844..2d28a5201d 100644
--- a/crawl-ref/source/skills.cc
+++ b/crawl-ref/source/skills.cc
@@ -295,7 +295,7 @@ static int _exercise2(int exsk)
// practise. Increasing the "deg"ree of exercise would make
// missile weapons too easy earlier on, so, instead, we're
// giving them a special case here.
- if (exsk != SK_DARTS && exsk != SK_BOWS && exsk != SK_CROSSBOWS
+ if (exsk != SK_THROWING && exsk != SK_BOWS && exsk != SK_CROSSBOWS
|| skill_change > you.exp_available)
{
int fraction = (spending_limit * 10) / skill_change;