diff options
author | Jude Brown <bookofjude@users.sourceforge.net> | 2009-12-31 23:04:44 +1000 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2009-12-31 23:21:12 +1000 |
commit | 20de84ea5290c7f9326e216814424cfd2230575e (patch) | |
tree | 3a8ec83cdddd583b9a1f437eb248c132d554b261 /crawl-ref/source/itemprop.cc | |
parent | b194faa1f7e53d81bac6f42c404790ff2b620385 (diff) | |
download | crawl-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/itemprop.cc')
-rw-r--r-- | crawl-ref/source/itemprop.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc index 8e673e24a9..58c5b12c25 100644 --- a/crawl-ref/source/itemprop.cc +++ b/crawl-ref/source/itemprop.cc @@ -337,7 +337,7 @@ static weapon_def Weapon_prop[NUM_WEAPONS] = // - slings get a bonus from dex, not str (as tension is meaningless) // - str weight is used for speed and applying dex to skill { WPN_BLOWGUN, "blowgun", 0, 2, 10, 20, 0, - SK_DARTS, HANDS_HALF, SIZE_LITTLE, MI_NEEDLE, false, + SK_THROWING, HANDS_HALF, SIZE_LITTLE, MI_NEEDLE, false, DAMV_NON_MELEE, 0 }, { WPN_SLING, "sling", 0, 2, 11, 20, 1, SK_SLINGS, HANDS_ONE, SIZE_LITTLE, MI_STONE, false, @@ -1660,7 +1660,7 @@ skill_type range_skill( const item_def &item ) { switch (item.sub_type) { - case MI_DART: return (SK_DARTS); + case MI_DART: return (SK_THROWING); case MI_JAVELIN: return (SK_POLEARMS); default: break; } |