summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tutorial.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/tutorial.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/tutorial.cc')
-rw-r--r--crawl-ref/source/tutorial.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/tutorial.cc b/crawl-ref/source/tutorial.cc
index e0e7d53b72..e0e3f68dc2 100644
--- a/crawl-ref/source/tutorial.cc
+++ b/crawl-ref/source/tutorial.cc
@@ -1197,7 +1197,6 @@ void tut_gained_new_skill(int skill)
case SK_SLINGS:
case SK_BOWS:
case SK_CROSSBOWS:
- case SK_DARTS:
learned_something_new(TUT_GAINED_RANGED_SKILL);
break;
@@ -3547,7 +3546,7 @@ void tutorial_describe_item(const item_def &item)
{
// Then only compare with other launcher skills.
curr_wpskill = range_skill(item);
- best_wpskill = best_skill(SK_SLINGS, SK_DARTS, 99);
+ best_wpskill = best_skill(SK_SLINGS, SK_THROWING, 99);
}
else
{