Difference between revisions of "Ranged weapon"

From NetHackWiki
Jump to navigation Jump to search
(Monster usage: lance is not a polearm in nethack)
(todo calls to select_rwep)
Line 15: Line 15:
 
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]].
 
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]].
  
{{todo|Does a monster need a weapon attack to be able to use ranged weapons?}}
+
{{todo|1)Does a monster need a weapon attack to be able to use ranged weapons? 2) Track the calls to select_rwep - can confused/conflicted/scared/fleeing/healthy pets/hostiles/priests/shopkeepers/covetous monsters use ranged stuff?}}
  
 
==See Also==
 
==See Also==

Revision as of 14:34, 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 or lance 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:

"1)Does a monster need a weapon attack to be able to use ranged weapons? 2) Track the calls to select_rwep - can confused/conflicted/scared/fleeing/healthy pets/hostiles/priests/shopkeepers/covetous monsters use ranged stuff?"

See Also

References

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

"expand or merge"