Wizard (player monster)
Like other player monsters, wizards are never randomly generated and are thus rarely seen. A peaceful wizard named Newt appears on the final level of the wizard quest, and the hostile player monsters on the Astral Plane may include one or more wizards. Reading a cursed scroll of genocide as a wizard while confused will summon a number of wizard 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 wizard left on a bones level will revive the corpse or statue as a player monster. Wizard corpses will also be found in the Valley of the Dead, and a statue of a wizard may appear on Medusa's Island.
Most wizards encountered in the main dungeon will turn out to be doppelgangers, which may temporarily assume the form of a wizard.
A normally generated (i.e. not revived or reverse-genocided) wizard will carry one of the following weapons:
- a quarterstaff or an athame with 37.5% probability each
- a long sword or a randomly chosen melee weapon with 12.5% probability each
Wizards on the Astral Plane will also receive 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), and will have a 50% chance of having their weapon made into an artifact of the same type (if possible). If this results in them receiving Magicbane, its enchantment will be reduced to between +1 and +4 (since Magicbane is supposed to be less effective if overenchanted). Unlike other player monsters on Astral, wizards will never have a shield, and they have a 50% chance of having either black or silver dragon scale mail with a cloak of magic resistance (instead of random DSM with a random cloak), and a 75% chance of having a helm of brilliance instead of a random helmet.
- dat/Wizard.des in NetHack 3.6.0, line 369
- create_mplayers in mplayer.c in NetHack 3.6.0
- dat/gehennom.des in NetHack 3.6.0, line 99
- src/sp_lev.c in NetHack 3.6.0, line 1896: the code is very cryptic but fortunately has comments
- mk_mplayer in mplayer.c in NetHack 3.6.0