summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemprop.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-11 11:39:55 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-11 11:39:55 +0000
commite301d18c8ff880246d068b2081225a2385df206d (patch)
tree595349c2842461f0f076f562e9d4288f9b3b8277 /crawl-ref/source/itemprop.cc
parent7b339ae5ffe5b43232561f9fc2980aae1321b9a6 (diff)
downloadcrawl-ref-e301d18c8ff880246d068b2081225a2385df206d.tar.gz
crawl-ref-e301d18c8ff880246d068b2081225a2385df206d.zip
Reintroducing Throwing.
s/SK_RANGED_COMBAT/SK_THROWING Only thrown weapons, darts and slings train Throwing and benefit from this skill. Added Slings/Throwing and Darts/Throwing to the cross training pairs in skill2.cc. For most cases ranged combat could be simply replaced with throwing. For some, such as effSkill in item_use.cc or starting skills I tried to choose reasonable replacements. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2070 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/itemprop.cc')
-rw-r--r--crawl-ref/source/itemprop.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc
index dfd2020310..1b01db585d 100644
--- a/crawl-ref/source/itemprop.cc
+++ b/crawl-ref/source/itemprop.cc
@@ -1520,7 +1520,7 @@ skill_type range_skill( const item_def &item )
}
}
- return (SK_RANGED_COMBAT);
+ return (SK_THROWING);
}
// front function for the above when we don't have a physical item to check