Difference between revisions of "Arrow"

From NetHackWiki
Jump to navigation Jump to search
(Add languages template.)
(gen + var)
(One intermediate revision by the same user not shown)
Line 11: Line 11:
 
}}
 
}}
  
An '''arrow''' is a type of [[projectile]] that appears in ''[[NetHack]]''. It is made of iron, and is designed for used with a [[bow]].  
+
An '''arrow''' is a type of [[weapon]] that appears in ''[[NetHack]]''. It is a [[projectile]] weapon designed for [[bow]]s that is made of [[iron]].
  
Besides the standard arrow, there are several other types:
+
There are [[silver arrow]]s. as well as multiple types of arrows designed for their own [[launcher]]s:
* [[elven arrow]]
+
 
* [[orcish arrow]]
+
* [[elven arrow]] ([[elven bow]])
* [[silver arrow]]
+
* [[orcish arrow]] ([[orcish bow]])
* [[ya|ya (samurai arrow)]]
+
* [[Ya]] ([[yumi]])
 
   
 
   
It is easy to obtain a large supply of arrows by [[untrap]]ping an [[arrow trap]].  
+
==Generation==
 +
[[Human (starting race)|Human]] [[Ranger]]s start the game with two separate stacks of +0 and +2 arrows for their bow.{{refsrc|src/u_init.c|115|version=NetHack 3.6.7}}
 +
 
 +
[[Forest centaur]]s have a {{frac|2}} chance of [[Monster starting inventory|being generated]] with a bow and a stack of arrows.{{refsrc|src/makemon.c|464|version=NetHack 3.6.7}} [[Hunter]]s are always generated with a bow and arrows, and [[warrior]]s have a {{frac|3}} chance of generating with a bow and arrows.{{refsrc|src/makemon.c|298|version=NetHack 3.6.7}}{{refsrc|src/makemon.c|308|version=NetHack 3.6.7}}
 +
 
 +
A [[humanoid]] monster with a weapon attack, the ability to wield weapons and no other ruleset governing its monster starting inventory has a chance of generating with a stack of arrows accompanying a bow, unless they are being generated on the [[Rogue level]]: the base odds are {{frac|14}} for normal monsters, {{frac|12}} for a monster that is a [[M2_LORD|lord]] or [[nasty]], {{frac|10}} for a monster that is an [[M2_PRINCE|overlord]] or both a lord and nasty, and {{frac|8}} for a monster that is both nasty and an overlord.{{refsrc|src/makemon.c|534|version=NetHack 3.6.7|comment=Case for darts in "default" monster weapon generation}}
 +
 
 +
One of the weapons guarded by the [[ghost]] on the [[Rogue level]] is a +0 stack of arrows accompanying a bow, each of which have a {{frac|3|4}} chance of being [[cursed]].{{refsrc|src/extralev.c|339|version=NetHack 3.6.7}}
 +
 
 +
An [[arrow trap]] will shoot an arrow at any monster or character that steps on their square until they run out of darts, and [[untrap]]ping them produces 50−[[rnl]](50) arrows.{{refsrc|src/trap.c|4252|nethack=3.6.7}}
 +
 
 +
[[The Longbow of Diana]] can be [[invoked]] to [[Create ammo|create a stack of arrows]].
 +
 
 +
{{upcoming|NetHack 3.7.0|The [[themed room]] containing the ghost of an adventurer and their "bones" pile has an independent {{frac|9|20}} chance of including a bow and arrows in the pile.
  
As with many projectiles, arrows may break and disappear when they hit a monster. See [[Projectile#Breakage]] for more information.
+
As part of {{commit|20cbadcf85544cf9d0c3f4e4200b2800bab49c8e|commit 20cbadc}} - which strengthens quest leaders and makes it so that killing them no longer makes the game [[unwinnable]] - [[Orion]], the [[Ranger quest]] leader, always generates with a stack of 50 +4 [[arrow]]s for his [[yumi]].}}
  
==Using arrows==
+
==Description==
Although not necessary to throw or fire arrows, the best use of arrows is with an appropriate [[launcher]].
+
Arrows are ineffective in melee, and must be used by [[throw]]ing or [[firing]] them from a [[wield]]ed bow of any type. Like some other missile weapons, they can misfire if cursed, and have a chance to [[mulch]] upon hitting a monster based on [[enchantment]], [[beatitude]] and [[Luck]]. [[Dipping]] arrows in a [[potion of sickness]] will poison them, adding +d6 damage and a {{frac|10}} chance of [[instadeath]] per hit against monsters without [[poison resistance]].
  
The character must [[wield]] a bow and then throw arrows for them to be most effective. This process can be streamlined by [[quiver]]ing arrows and then using the [[fire]] command, but this is simply a convenience and is not necessary. However, [[crossbow bolt]]s will not be fired from a wielded bow—they must be used with a [[crossbow]] instead.
+
The number of arrows that can shot at once depends on the character's bow [[skill]]: A character shoots 1 arrow per attack Basic skill or lower, up to 2 arrows at Skilled, and up to 3 at Expert. [[Ranger]]s shooting arrows gain a +1 [[multishot]] bonus that stacks with skill-based multishot.  
  
The range for an arrow is <math>\lfloor \frac{Strength}{2} \rfloor +1</math> when you are wielding a bow{{refsrc|dothrow.c|1177|nethack=3.6.1}}{{refsrc|dothrow.c|1197|nethack=3.6.1}}, and <math>\lfloor \frac{Strength}{4} \rfloor</math> when you are not{{refsrc|dothrow.c|1202|nethack=3.6.1}}:
+
The range for an arrow is dependent on the character's [[strength]] - the equation is <math>\lfloor \frac{Strength}{2} \rfloor +1</math> when fired from a wielded bow, and <math>\lfloor \frac{Strength}{4} \rfloor</math> otherwise:{{refsrc|src/dothrow.c|1209|nethack=3.6.7}}{{refsrc|src/dothrow.c|1229|nethack=3.6.7}}{{refsrc|src/dothrow.c|1234|nethack=3.6.7}}
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 43: Line 56:
 
<!-- These figures are all rounded down, as per the example that I replaced with a table, of 17STR = 9 tiles -->
 
<!-- These figures are all rounded down, as per the example that I replaced with a table, of 17STR = 9 tiles -->
  
Along with other cursed missile weapons or [[launcher]]s, cursed arrows occasionally "slip from your hand" when you throw or fire them, and end up on the ground.
+
==Strategy==
 
+
===Average damage calculation===
Since arrows are used with a bow, they are affected by bow skill.
 
{{bow skill table}}
 
 
 
===Multishot===
 
The number of arrows shot at once depends on the character's bow skill. You will shoot 1 arrow at a time at unskilled or basic skill, up to 2 arrows at skilled, and up to 3 at expert. There is a +1 bonus to this counter for [[ranger]]s, and an additional +1 for [[Elf (starting race)|elven]] characters shooting elven arrows from an elven bow, [[Orc (starting race)|orcish]] characters shooting orcish arrows from an orcish bow, and [[samurai]] shooting ya from a yumi. This means, for example, an elven ranger using elven arrows and an elven bow can fire up to 5 arrows at once.
 
 
 
==Average damage calculation==
 
 
The average damage calculations in the following table do not include bonuses from [[Skill|weapon skills]] or from using a [[blessed]] weapon against [[undead]] or [[M2_DEMON|demons]]s - note that these bonuses apply ''per arrow'', and can add up to deal more damage than melee attacks.
 
The average damage calculations in the following table do not include bonuses from [[Skill|weapon skills]] or from using a [[blessed]] weapon against [[undead]] or [[M2_DEMON|demons]]s - note that these bonuses apply ''per arrow'', and can add up to deal more damage than melee attacks.
  
Line 89: Line 95:
 
|}
 
|}
  
== Encyclopedia entry ==
+
==History==
 +
Arrows first appear in Hack 1.21 and Hack for PDP-11, which are based on [[Jay Fenlason's Hack]], and are included in the initial weapon list for [[Hack 1.0]].
 +
 
 +
==Variants==
 +
===SLASH'EM===
 +
In [[SLASH'EM]], [[upgrading]] standard arrows will produce either elven arrows, [[dark elven arrow]]s or ya, with an equal probability of each, while upgrading any type of arrow other than a silver arrow will produce standard arrows.
  
 +
===dNetHack===
 +
[[dNetHack]] and [[notdNetHack]] add the [[golden arrow]] and [[ancient arrow]].
 +
 +
===The November NetHack Tournament===
 +
In [[The November NetHack Tournament]], the [[deathmatch]] opponent will always generate with a bow and a blessed and erodeproof stack of 20-29 +4 or +5 arrows if they represent a character that is a [[Barbarian (player monster)|barbarian]], [[Knight (player monster)|knight]], or [[Ranger (player monster)|ranger]].
 +
 +
===EvilHack===
 +
In [[EvilHack]], the playable [[Centaur (starting race)|centaur]] race starts with knowledge of all bow and crossbow-related weaponry, and gains a [[multishot]] bonus with either.
 +
 +
==Encyclopedia entry==
 
{{encyclopedia|
 
{{encyclopedia|
 
I shot an arrow into the air,
 
I shot an arrow into the air,
Line 110: Line 131:
 
}}
 
}}
  
== References ==
+
==References==
 
<references/>
 
<references/>
 
+
{{nethack-367}}
{{nethack-361}}
 
 
[[Category:Arrows]]
 
[[Category:Arrows]]

Revision as of 04:53, 26 April 2024

) Arrow.png
Name arrow
Appearance arrow
Damage vs. small 1d6
Damage vs. large 1d6
To-hit bonus +0
Weapon skill bow
Size one-handed
Base price 2 zm
(+10/positive
enchant)
Weight 1
Material iron

An arrow is a type of weapon that appears in NetHack. It is a projectile weapon designed for bows that is made of iron.

There are silver arrows. as well as multiple types of arrows designed for their own launchers:

Generation

Human Rangers start the game with two separate stacks of +0 and +2 arrows for their bow.[1]

Forest centaurs have a 12 chance of being generated with a bow and a stack of arrows.[2] Hunters are always generated with a bow and arrows, and warriors have a 13 chance of generating with a bow and arrows.[3][4]

A humanoid monster with a weapon attack, the ability to wield weapons and no other ruleset governing its monster starting inventory has a chance of generating with a stack of arrows accompanying a bow, unless they are being generated on the Rogue level: the base odds are 114 for normal monsters, 112 for a monster that is a lord or nasty, 110 for a monster that is an overlord or both a lord and nasty, and 18 for a monster that is both nasty and an overlord.[5]

One of the weapons guarded by the ghost on the Rogue level is a +0 stack of arrows accompanying a bow, each of which have a 34 chance of being cursed.[6]

An arrow trap will shoot an arrow at any monster or character that steps on their square until they run out of darts, and untrapping them produces 50−rnl(50) arrows.[7]

The Longbow of Diana can be invoked to create a stack of arrows.

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

The themed room containing the ghost of an adventurer and their "bones" pile has an independent 920 chance of including a bow and arrows in the pile.

As part of commit 20cbadc - which strengthens quest leaders and makes it so that killing them no longer makes the game unwinnable - Orion, the Ranger quest leader, always generates with a stack of 50 +4 arrows for his yumi.

Description

Arrows are ineffective in melee, and must be used by throwing or firing them from a wielded bow of any type. Like some other missile weapons, they can misfire if cursed, and have a chance to mulch upon hitting a monster based on enchantment, beatitude and Luck. Dipping arrows in a potion of sickness will poison them, adding +d6 damage and a 110 chance of instadeath per hit against monsters without poison resistance.

The number of arrows that can shot at once depends on the character's bow skill: A character shoots 1 arrow per attack Basic skill or lower, up to 2 arrows at Skilled, and up to 3 at Expert. Rangers shooting arrows gain a +1 multishot bonus that stacks with skill-based multishot.

The range for an arrow is dependent on the character's strength - the equation is \lfloor \frac{Strength}{2} \rfloor +1 when fired from a wielded bow, and \lfloor \frac{Strength}{4} \rfloor otherwise:[8][9][10]

Strength: 3 4, 5 6, 7 8, 9 10, 11 12, 13 14, 15 16, 17 18–18/31 18/31–21 22, 23 24, 25
Range of arrow (with wielded bow) 2 3 4 5 6 7 8 9 10 11 12 13
Range of arrow (without wielded bow) 0 1 1 2 2 3 3 4 4 5 5 6

Strategy

Average damage calculation

The average damage calculations in the following table do not include bonuses from weapon skills or from using a blessed weapon against undead or demonss - note that these bonuses apply per arrow, and can add up to deal more damage than melee attacks.

The calculations for poisoned arrows assume the monster is not poison resistant.

Weapon Number of arrows fired at once
1 1d2 (average 1.5) 1d3 (average 2) 1d4 (average 2.5)
+0 arrows \frac{1+6}{2}=\bold{3.5} \left (\frac{1+6}{2}\right )\times 1.5=\bold{5.25} \left (\frac{1+6}{2}\right )\times 2=\bold{7} \left (\frac{1+6}{2}\right )\times 2.5=\bold{8.75}
+7 arrows \frac{1+6}{2}+7=\bold{10.5} \left (\frac{1+6}{2}+7\right )\times 1.5=\bold{15.75} \left (\frac{1+6}{2}+7\right )\times 2=\bold{21} \left (\frac{1+6}{2}+7\right )\times 2.5=\bold{26.25}
poisoned +0 arrows \frac{1+6}{2}+\frac{1+6}{2}=\bold{7} \left (\frac{1+6}{2}+\frac{1+6}{2}\right )\times 1.5=\bold{10.5} \left (\frac{1+6}{2}+\frac{1+6}{2}\right )\times 2=\bold{14} \left (\frac{1+6}{2}+\frac{1+6}{2}\right )\times 2.5=\bold{17.5}
poisoned +7 arrows \frac{1+6}{2}+\frac{1+6}{2}+7=\bold{14} \left (\frac{1+6}{2}+\frac{1+6}{2}+7\right )\times 1.5=\bold{21} \left (\frac{1+6}{2}+\frac{1+6}{2}+7\right )\times 2=\bold{28} \left (\frac{1+6}{2}+\frac{1+6}{2}+7\right )\times 2.5=\bold{35}

History

Arrows first appear in Hack 1.21 and Hack for PDP-11, which are based on Jay Fenlason's Hack, and are included in the initial weapon list for Hack 1.0.

Variants

SLASH'EM

In SLASH'EM, upgrading standard arrows will produce either elven arrows, dark elven arrows or ya, with an equal probability of each, while upgrading any type of arrow other than a silver arrow will produce standard arrows.

dNetHack

dNetHack and notdNetHack add the golden arrow and ancient arrow.

The November NetHack Tournament

In The November NetHack Tournament, the deathmatch opponent will always generate with a bow and a blessed and erodeproof stack of 20-29 +4 or +5 arrows if they represent a character that is a barbarian, knight, or ranger.

EvilHack

In EvilHack, the playable centaur race starts with knowledge of all bow and crossbow-related weaponry, and gains a multishot bonus with either.

Encyclopedia entry

I shot an arrow into the air,
It fell to earth, I knew not where;
For, so swiftly it flew, the sight
Could not follow it in its flight.
 
I breathed a song into the air,
It fell to earth, I knew not where;
For who has sight so keen and strong
That it can follow the flight of song?
 
Long, long afterward, in an oak
I found the arrow still unbroke;
And the song, from beginning to end,
I found again in the heart of a friend.

[ The Arrow and the Song,
           by Henry Wadsworth Longfellow ]

References