summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemprop.cc
diff options
context:
space:
mode:
authorShmuale Mark <shm.mark@gmail.com>2014-02-26 21:38:46 -0500
committerShmuale Mark <shm.mark@gmail.com>2014-05-30 13:27:44 -0400
commit181ecfb998c0b570a842483dbbf6e299d6d8f235 (patch)
treece5a2c62e1c53a1069556d3351bdc87def617f66 /crawl-ref/source/itemprop.cc
parent5f570ca36cc6af95c23ddfda6fe1cd5efb71661a (diff)
downloadcrawl-ref-181ecfb998c0b570a842483dbbf6e299d6d8f235.tar.gz
crawl-ref-181ecfb998c0b570a842483dbbf6e299d6d8f235.zip
Remove darts.
They don't have much use outside the first level of D (possibly also the second): popping spores, killing slow things, waking up sleeping monsters, etc. are all served just as well by stones, and anybody who really wants to do damage with throwing would be better served with tomahawks before they find javelins. For one case where they could be useful (dispersal), tomahawks have been given a chance at the dispersal brand.
Diffstat (limited to 'crawl-ref/source/itemprop.cc')
-rw-r--r--crawl-ref/source/itemprop.cc10
1 files changed, 7 insertions, 3 deletions
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc
index 03c0e1fd25..c3e0de2bd0 100644
--- a/crawl-ref/source/itemprop.cc
+++ b/crawl-ref/source/itemprop.cc
@@ -368,9 +368,11 @@ struct missile_def
static int Missile_index[NUM_MISSILES];
static const missile_def Missile_prop[] =
{
+#if TAG_MAJOR_VERSION == 34
+ { MI_DART, "dart", 2, 3, true },
+#endif
{ MI_NEEDLE, "needle", 0, 1, false },
{ MI_STONE, "stone", 2, 6, true },
- { MI_DART, "dart", 2, 3, true },
{ MI_ARROW, "arrow", 7, 5, false },
{ MI_BOLT, "bolt", 9, 5, false },
{ MI_LARGE_ROCK, "large rock", 20, 600, true },
@@ -1728,8 +1730,10 @@ const char *ammo_name(const item_def &bow)
bool has_launcher(const item_def &ammo)
{
ASSERT(ammo.base_type == OBJ_MISSILES);
- return ammo.sub_type != MI_DART
- && ammo.sub_type != MI_LARGE_ROCK
+ return ammo.sub_type != MI_LARGE_ROCK
+#if TAG_MAJOR_VERSION == 34
+ && ammo.sub_type != MI_DART
+#endif
&& ammo.sub_type != MI_JAVELIN
&& ammo.sub_type != MI_TOMAHAWK
&& ammo.sub_type != MI_THROWING_NET;