|Damage vs. small||1d6|
|Damage vs. large||1d6|
|Base price||5 zm|
Quarterstaves make up about 1.1% of randomly generated weapons (on the floor, as death drops, or in shops). They are found more frequently as the special death drop of wood golems, which leave behind a pile of 2d4 quarterstaves instead of a corpse.
Arch liches are sometimes generated with a quarterstaff; however, they will not use it in combat because they lack a weapon attack. Player monster healers and wizards (including Newt on the Wizard quest) may be generated with a quarterstaff.
Unless you plan to use the Staff of Aesculapius, it is not worth investing skill points in staves: they are two-handed and much less effective than other two-handed weapons (such as battle-axes or two-handed swords).
The weapon was changed as part of the process of merging of the influential Wizard Patch into mainline NetHack. It was probably intended to remove Wizards' easy access to Elbereth early in the game, to compensate for increased power from the redesigned spellcasting system, which allows virtually unlimited casting of spells.
So they stood, each in his place, neither moving a finger's
breadth back, for one good hour, and many blows were given
and received by each in that time, till here and there were
sore bones and bumps, yet neither thought of crying "Enough,"
or seemed likely to fall from off the bridge. Now and then
they stopped to rest, and each thought that he never had seen
in all his life before such a hand at quarterstaff. At last
Robin gave the stranger a blow upon the ribs that made his
jacket smoke like a damp straw thatch in the sun. So shrewd
was the stroke that the stranger came within a hair's breadth
of falling off the bridge; but he regained himself right
quickly, and, by a dexterous blow, gave Robin a crack on the
crown that caused the blood to flow. Then Robin grew mad
with anger, and smote with all his might at the other; but
the stranger warded the blow, and once again thwacked Robin,
and this time so fairly that he fell heels over head into the
water, as the queen pin falls in a game of bowls.
- src/mon.c in NetHack 3.6.0, line 335
- src/makemon.c in NetHack 3.6.0, line 667
- src/monst.c in NetHack 3.6.0, line 1533
- src/mplayer.c in NetHack 3.6.0, line 189
- src/mplayer.c in NetHack 3.6.0, line 246
- src/u_init.c in NetHack 3.6.0, line 161
- u_init.c in NetHack 3.3.0, line 161
- u_init.c in NetHack 3.2.0, line 156: no source for 3.2.3 on the wiki