summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-29 06:27:10 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-29 06:27:10 +0000
commit73f04be4c6759ada0babbe31791b83936de9487a (patch)
treefb4a89f78fa9a925ec698f1fee2d951aa60ef41f
parent410feaaa0a7ae2b338b7040cb3d544653b0eca1b (diff)
downloadcrawl-ref-73f04be4c6759ada0babbe31791b83936de9487a.tar.gz
crawl-ref-73f04be4c6759ada0babbe31791b83936de9487a.zip
Fixed javelin base hit, dropped weight slightly.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2648 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/item_use.cc2
-rw-r--r--crawl-ref/source/itemprop.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index 4854d0fcb3..14e8c3a3ee 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -2094,7 +2094,7 @@ bool throw_it(bolt &pbolt, int throw_2, bool teleport, int acc_bonus,
break;
case MI_JAVELIN:
// Javelins use throwing skill.
- baseHit = -1;
+ baseHit = 1;
baseDam = property( item, PWPN_DAMAGE );
exHitBonus += skill_bump(SK_THROWING);
exDamBonus += you.skills[SK_THROWING] * 3 / 5;
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc
index 0a591f2517..d139c1d9f1 100644
--- a/crawl-ref/source/itemprop.cc
+++ b/crawl-ref/source/itemprop.cc
@@ -353,7 +353,7 @@ static missile_def Missile_prop[NUM_MISSILES] =
{ MI_BOLT, "bolt", 9, 5, false },
{ MI_LARGE_ROCK, "large rock", 20, 800, true },
{ MI_SLING_BULLET, "sling bullet", 6, 4, false },
- { MI_JAVELIN, "javelin", 10, 90, true },
+ { MI_JAVELIN, "javelin", 10, 80, true },
{ MI_THROWING_NET, "throwing net", 0, 30, true },
};