summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemprop.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-04 17:24:52 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-04 17:24:52 +0000
commitcdab703a671fabd21a015d23a5dc8a3ed5e10b36 (patch)
tree8fb64601c35b90df902bddf7f3bb63db807a393e /crawl-ref/source/itemprop.h
parentba7c629689d1042cf8cb4d94de535025154bc0ea (diff)
downloadcrawl-ref-cdab703a671fabd21a015d23a5dc8a3ed5e10b36.tar.gz
crawl-ref-cdab703a671fabd21a015d23a5dc8a3ed5e10b36.zip
Allow racial javelins. Javelins can now be elven and orcish, since
dwarves don't make polearms, and are made so 25% of the time, the same as for spears. Since they have no associated launcher, the usual bonuses for throwing racial gear apply to them, in spite of their being missiles thrown by hand. Also, disable branded javelins for now, as branding for thrown missiles in general isn't implemented. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2997 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/itemprop.h')
-rw-r--r--crawl-ref/source/itemprop.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/itemprop.h b/crawl-ref/source/itemprop.h
index 07848add5e..39292bcbd5 100644
--- a/crawl-ref/source/itemprop.h
+++ b/crawl-ref/source/itemprop.h
@@ -672,8 +672,9 @@ missile_type fires_ammo_type( const item_def &item );
missile_type fires_ammo_type( weapon_type wtype );
const char * ammo_name( const item_def &bow );
const char * ammo_name( missile_type mtyp );
+bool has_launcher( const item_def &wpn );
bool is_throwable( const item_def &wpn,
- size_type bodysize = SIZE_MEDIUM );
+ size_type bodysize = SIZE_MEDIUM );
launch_retval is_launched(actor *actor, const item_def *launcher,
const item_def &missile);