Difference between revisions of "Ranged weapon"

From NetHackWiki
Jump to navigation Jump to search
m (Text replace - "<ref> *\[\[([a-zA-Z][a-zA-Z]*\.c)#[Ll]ine([0-9][0-9]*)\]\] *<\/ref>" to "{{refsrc|$1|$2}}")
(monster preference -- this time, it's complete.)
Line 1: Line 1:
 
A '''ranged weapon''' is any [[weapon]] which can attack a monster not adjacent to you. Technically, [[Projectile|any item]] in the game could be a ranged weapon, if thrown. However, the [[source code]] officially designates some weapons as ranged{{refsrc|weapon.c|341}}:
 
A '''ranged weapon''' is any [[weapon]] which can attack a monster not adjacent to you. Technically, [[Projectile|any item]] in the game could be a ranged weapon, if thrown. However, the [[source code]] officially designates some weapons as ranged{{refsrc|weapon.c|341}}:
  
* [[dwarvish spear]]
+
[[dwarvish spear]], [[silver spear]], [[elven spear]], [[spear]], [[orcish spear]], [[javelin]], [[shuriken]], [[ya]], [[silver arrow]], [[elven arrow]], [[arrow]], [[orcish arrow]], [[crossbow bolt]], [[silver dagger]], [[elven dagger]], [[dagger]], [[orcish dagger]], [[knife]], [[flint stone]], [[rock]], [[loadstone]], [[luckstone]], [[dart]], [[boomerang]], [[cream pie]].
* [[silver spear]]
 
* [[elven spear]]
 
* [[spear]]
 
* [[orcish spear]]
 
* [[javelin]]
 
* [[shuriken]]
 
* [[ya]]
 
* [[silver arrow]]
 
* [[elven arrow]]
 
* [[arrow]]
 
* [[orcish arrow]]
 
* [[crossbow bolt]]
 
* [[silver dagger]]
 
* [[elven dagger]]
 
* [[dagger]]
 
* [[orcish dagger]]
 
* [[knife]]
 
* [[flint stone]]
 
* [[rock]]
 
* [[loadstone]]
 
* [[luckstone]]
 
* [[dart]]
 
* [[boomerang]]
 
* [[cream pie]]
 
  
This is the order in which monsters will try to use a ranged weapon, unless a [[polearm]] is available, in which case it will try to apply that first.
+
Colloquially, any [[item]] which can be used to damage a monster at a distance could be considered a ranged weapon. This includes items like [[attack wand]]s, hurled potions and [[spell]]s.
 +
 
 +
==Monster usage==
 +
 
 +
The order of preference in which hostile monsters will use a ranged weapon is:<ref>{{function|weapon.c|select_rwep}}</ref>
 +
# [[cockatrice egg]],  
 +
# [[cream pie]] for [[Keystone Kop]]s,
 +
# [[boulder]]s for [[giant]]s,
 +
# [[polearm]]s if you are in range,
 +
# the above list, if a necessary launcher is available.
 +
Gems are inserted into said above list between luckstone and darts. The preferece of [[polearm]]s is: [[halberd]], [[bardiche]], [[spetum]], [[bill_guisarme]], [[voulge]], [[ranseur]], [[guisarme]], [[glaive]], [[lucern_hammer]], [[bec_de_corbin]], [[fauchard]], [[partisan]], [[lance]]. Of course, polearms can only be used by "strong" monsters without a [[shield]].
  
Colloquially, any [[item]] which can be used to damage a monster at a distance could be considered a ranged weapon. This includes items like [[attack wand]]s, hurled potions and [[spell]]s.
+
{{todo|Does a monster need a weapon attack to be able to use ranged weapons?}}
  
 
==See Also==
 
==See Also==

Revision as of 14:20, 18 May 2013

A ranged weapon is any weapon which can attack a monster not adjacent to you. Technically, any item in the game could be a ranged weapon, if thrown. However, the source code officially designates some weapons as ranged[1]:

dwarvish spear, silver spear, elven spear, spear, orcish spear, javelin, shuriken, ya, silver arrow, elven arrow, arrow, orcish arrow, crossbow bolt, silver dagger, elven dagger, dagger, orcish dagger, knife, flint stone, rock, loadstone, luckstone, dart, boomerang, cream pie.

Colloquially, any item which can be used to damage a monster at a distance could be considered a ranged weapon. This includes items like attack wands, hurled potions and spells.

Monster usage

The order of preference in which hostile monsters will use a ranged weapon is:[2]

  1. cockatrice egg,
  2. cream pie for Keystone Kops,
  3. boulders for giants,
  4. polearms if you are in range,
  5. the above list, if a necessary launcher is available.

Gems are inserted into said above list between luckstone and darts. The preferece of polearms is: halberd, bardiche, spetum, bill_guisarme, voulge, ranseur, guisarme, glaive, lucern_hammer, bec_de_corbin, fauchard, partisan, lance. Of course, polearms can only be used by "strong" monsters without a shield.

A user has suggested improving this page or section as follows:

"Does a monster need a weapon attack to be able to use ranged weapons?"

See Also

References

A user has suggested improving this page or section as follows:

"expand or merge"