Ranger (player monster)

From NetHackWiki
Jump to: navigation, search

A ranger is a player monster corresponding to the ranger role. Like other player monsters, rangers are never randomly generated and are thus rarely seen. No rangers are normally found outside the Astral Plane, where they may appears among the hostile player monsters generated there[1].

Reading a cursed scroll of genocide as a ranger while confused will summon a number of ranger monsters, although they won't have their usual equipment. Using undead turning on the corpse or stone to flesh on the statue of a dead ranger left on a bones level will revive the corpse or statue as a player monster. Ranger corpses will also be found in the Valley of the Dead[2], and a statue of a ranger may appear on Medusa's Island[3].

Most rangers encountered in the main dungeon will turn out to be doppelgangers, which may temporarily assume the form of a ranger.

Equipment[4][5]

A ranger on the Astral Plane will carry either an elven dagger (50%), a long sword (25%) or a randomly chosen melee weapon (25%). The weapon's enchantment will be random between +4 and +8, and it will be either erodeproof or greased (but not both) with 33.3% probability each. There is a 50% chance that the weapon will be made into an artifact of the same type, if possible.

Like other player monsters on the Astral Plane, rangers will also be equipped with 1d3 random offensive items, 1d3 random defensive items and 1d3 random miscellaneous items, as well as a randomly generated ascension kit containing dragon scale mail and various other pieces of armor (as well as a cheap plastic imitation of the Amulet of Yendor, some gold and other items).

References

  1. create_mplayers in mplayer.c
  2. dat/gehennom.des in NetHack 3.6.0, line 89
  3. src/sp_lev.c in NetHack 3.6.0, line 1896: the code is very cryptic but fortunately has comments
  4. mk_mplayer in mplayer.c
  5. Monsters' Equipment Spoiler by Boudewijn Waijers, Topi Linkala and Philip Potter