From 20de84ea5290c7f9326e216814424cfd2230575e Mon Sep 17 00:00:00 2001 From: Jude Brown Date: Thu, 31 Dec 2009 23:04:44 +1000 Subject: 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. --- crawl-ref/source/skills.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/skills.cc') 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; -- cgit v1.2.3-54-g00ecf