Elven spear
| ) | |
|---|---|
| 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
Barbarians, Knights, Rangers, Samurai, Valkyries, and all elven heroes start each game with knowledge of the elven spear's appearance if they are not paupers.[1][2][3][4][5][6][7] Any elven hero that starts the game with a spear will start with an elven spear instead, though there are no applicable roles where this substitution occurs.[8]
Elven spears make up 1⁄100 (1%) of all weapons that are randomly generated on the floor, in general shops or as death drops. Used armor dealerships and antique weapon outlets can also stock elven spears.
Some monsters can be generated with elven spears:
- Live elves have an effective 1⁄6 chance of being generated with an elven spear.[9]
- Player monsters that are not monks and are created on the Astral Plane have an effective 5⁄582 chance (~8.59%) of generating with a stack of up to 4 elven spears as their initial weapon before role-based replacements are applied.[11][12][13]
Wood golems may leave behind wooden objects as a special death drop instead of a corpse that each have a roughly 1⁄27 chance of being an elven spear.[14]
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 it one of the more ideal spear types to use against monsters that are not fiery.
History
The elven spear first appears in NetHack 3.0.0.
Elven spears are added to the wood golem's death drop items via commit e5c73d01.
Variants
dNetHack
In dNetHack, notdNetHack and notnotdNetHack, 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 1⁄3 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 elven 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
- ↑ src/u_initc.c in NetHack 5.0.0, line 577-L578: pauper code for skipping normal object knowledge
- ↑ src/u_initc.c in NetHack 5.0.0, line 673
- ↑ src/u_initc.c in NetHack 5.0.0, line 688
- ↑ src/u_initc.c in NetHack 5.0.0, line 726
- ↑ src/u_initc.c in NetHack 5.0.0, line 742
- ↑ src/u_initc.c in NetHack 5.0.0, line 771
- ↑ src/u_initc.c in NetHack 5.0.0, line 819
- ↑ src/u_init.c in NetHack 5.0.0, line 227: Race-based substitutions for initial elven inventory
- ↑ src/makemon.c in NetHack 5.0.0, line 250-L252
- ↑ include/objects.h in NetHack 5.0.0, line 174-L392
- ↑ src/mplayer.c in NetHack 5.0.0, line 150: 1⁄2 to get a random weapon—the designated range of objects covers weapons from the spear to the bullwhip inclusively in objects.h, and uses normal generation odds[10]
- ↑ src/mplayer.c in NetHack 5.0.0, line 199: monks will always have either shuriken or no weapon
- ↑ src/mplayer.c in NetHack 5.0.0, line 267-L271: Stackable thrown weapons may be generated in multiples
- ↑ src/mon.c in NetHack 5.0.0, line 674-L681