Difference between revisions of "Elven spear"

From NetHackWiki
Jump to navigation Jump to search
(Variants: dnh u_init.c)
(hackem)
 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:
 
   |material=wood
 
   |material=wood
 
}}
 
}}
An '''elven spear''' is a type of [[weapon]] that appears in ''[[NetHack]]''. It is a one-handed weapon that uses the [[spear]] [[skill]] and is made of [[wood]], and appears as a '''runed spear''' when [[Identification|unidentified]].
+
An '''elven spear''' is a type of [[weapon]] that appears in ''[[NetHack]]''. It is a [[stackable]] one-handed weapon that uses the [[spear]] [[skill]] and is made of [[wood]], and appears as a '''runed spear''' when [[Identification|unidentified]].
  
 
==Generation==
 
==Generation==
Line 22: Line 22:
 
[[Player monster]]s, including those generated on the [[Astral Plane]], have a {{frac|116}} chance (just below 1%) of being generated with a stack of 1-4 elven spears as their initial weapon before role-based replacements.{{refsrc|src/mplayer.c|155|version=NetHack 3.6.7|comment={{frac|2}} to get a random weapon - the designated range of objects covers weapons from the spear to the bullwhip inclusively in objects.c, and uses normal generation odds}}{{refsrc|src/u_init.c|275|nethack=3.6.7|comment=stackable weapons for player monsters}}
 
[[Player monster]]s, including those generated on the [[Astral Plane]], have a {{frac|116}} chance (just below 1%) of being generated with a stack of 1-4 elven spears as their initial weapon before role-based replacements.{{refsrc|src/mplayer.c|155|version=NetHack 3.6.7|comment={{frac|2}} to get a random weapon - the designated range of objects covers weapons from the spear to the bullwhip inclusively in objects.c, and uses normal generation odds}}{{refsrc|src/u_init.c|275|nethack=3.6.7|comment=stackable weapons for player monsters}}
  
{{upcoming|3.7.0|Per {{commit|e5c73d01fefff13d49d9af83a52615dfe20e2699|commit e5c73d0}}, wood golems have a chance of also dropping [[elven spear]]s among other wooden items when destroyed.}}
+
{{upcoming|3.7.0|Per {{commit|e5c73d01fefff13d49d9af83a52615dfe20e2699|commit e5c73d0}}, wood golems have a chance of also dropping elven spears among other wooden items when destroyed.}}
  
 
==Strategy==
 
==Strategy==
Line 44: Line 44:
  
 
===Hack'EM===
 
===Hack'EM===
In [[Hack'EM]], upgrading an elven spear will produce a [[dwarvish spear]], and upgrading a spear will produce an elven spear.
+
In [[Hack'EM]], successfully [[untrap]]ping a [[spear trap]] has a chance of generating an intact spear.
 +
 
 +
[[Upgrading]] an elven spear will produce a [[dwarvish spear]], and upgrading a spear will produce an elven spear.
  
 
In addition to EvilHack forging recipes, an elven spear can be combined with a [[flail]] to create an [[aklys]].
 
In addition to EvilHack forging recipes, an elven spear can be combined with a [[flail]] to create an [[aklys]].

Latest revision as of 14:20, 10 March 2024

) Elven spear.png
Name elven spear
Appearance runed spear
Damage vs. small 1d7
Damage vs. large 1d8
To-hit bonus +0
Weapon skill spear
Size one-handed
Base price 3 zm
(+10/positive
enchant)
Weight 30
Material wood

An elven spear is a type of weapon that appears in NetHack. It is a stackable one-handed weapon that uses the spear skill and is made of wood, and appears as a runed spear when unidentified.

Generation

Elven characters start the game with knowledge of the elven spear. Any elven character that would start the game with a spear will start with an elven spear instead - currently, there are no applicable roles where this substitution occurs.[1]

Elven spears make up about 1% of randomly generated weapons. In addition to random generation, weapon shops and general stores can stock elven spears.

Non-undead elves have an effective 16 chance of being generated with an elven spear.[2]

Player monsters, including those generated on the Astral Plane, have a 1116 chance (just below 1%) of being generated with a stack of 1-4 elven spears as their initial weapon before role-based replacements.[3][4]

The following information pertains to an upcoming version (3.7.0). If this version is now released, please verify that it is still accurate, then update the page to incorporate this information.

Per commit e5c73d0, wood golems have a chance of also dropping elven spears among other wooden items when destroyed.

Strategy

Despite being made of wood, the elven spear has the same weight as a standard spear or orcish spear, but deals slightly more damage against smaller monsters without being susceptible to rusting - this makes one of the more ideal spear types to use against monsters, unless a character is facing a fiery monster or a brown pudding.

History

The elven spear first appears in NetHack 3.0.0.

Variants

dNetHack

In dNetHack, elven spears deal 1d9 damage to all monsters, with a +2 bonus to hit, and its weight is lowered to 10 aum.

Elven Nobles start each game with a +2 elven spear, while elven Binders start each game with a burnt +0 elven spear.

The Rod of the Elvish Lords is an artifact weapon that can be invoked to shift it to the form of an elven spear.

EvilHack

In EvilHack, elven soldiers and watchmen have an effective 13 chance of generating with a stack of elven spears.

An elven spear can be created at a forge by combining 2 elven arrows and an elven dagger.

Hack'EM

In Hack'EM, successfully untrapping a spear trap has a chance of generating an intact spear.

Upgrading an elven spear will produce a dwarvish spear, and upgrading a spear will produce an elven spear.

In addition to EvilHack forging recipes, an elven spear can be combined with a flail to create an aklys.

References

  1. src/u_init.c in NetHack 3.6.7, line 205: Race-based substitutions for initial orc inventory
  2. src/makemon.c in NetHack 3.6.7, line 248
  3. src/mplayer.c in NetHack 3.6.7, line 155: 12 to get a random weapon - the designated range of objects covers weapons from the spear to the bullwhip inclusively in objects.c, and uses normal generation odds
  4. src/u_init.c in NetHack 3.6.7, line 275: stackable weapons for player monsters