|Damage vs. small||1d4+1|
|Damage vs. large||1d4|
|Base price||5 zm|
Player monster valkyries on the Astral Plane have a 1⁄2 chance for their initial weapon to be changed to a war hammer - this hammer has a 1⁄2 chance of being made into either Mjollnir or Ogresmasher, provided neither weapon has yet been generated.
Average damage calculation
|Weapon||Small monsters||Large monsters|
|+0 war hammer|
|+7 war hammer|
The war hammer first appears in NetHack 3.0.3.
The lucern hammer, which existed since NetHack 1.3d, was erroneously classified as using the hammer skill rather than polearm skill - this mistake was carried over from early editions of Dungeons & Dragons. In NetHack 3.0.0, this led to Thunderfist (the predecessor of Mjollnir) and Ogresmasher having the base item of a lucern hammer instead; the war hammer was introduced in part to correct this mistake a few versions later.
The war hammer is a weapon that was formerly used in warfare, dating back to as far as the 2nd century BCE; its hit die are derived from Advanced Dungeons & Dragons.
Real-world war hammers were quite versatile weapons and, much like maces, were important for facing heavily-armored opponents. The blunt hammerhead would deliver concussive force through thick armor - including most chain mail and even plate mail - and the pick end on the opposite face could be used to punch holes, whether through a piece of armor or the odd skull. They could also be used in grappling.
In xNetHack, war hammers are made into a two-handed weapon that deals 2d6 damage to small creatures and 2d8 to large creatures.
EvilHack adds the heavy war hammer, a stronger type of hammer that acts as the new base item for Mjollnir and Ogresmasher. Hammers of any kind can also be used at a forge to create new weapons, armor and other objects.
They had come together at the ford of the Trident while the battle crashed around them, Robert with his warhammer and his great antlered helm, the Targaryen prince armored all in black. On his breastplate was the three-headed dragon of his House, wrought all in rubies that flashed like fire in the sunlight. The waters of the Trident ran red around the hooves of their destriers as they circled and clashed, again and again, until at last a crushing blow from Robert's hammer stove in the dragon and the chest behind it. When Ned had finally come on the scene, Rhaegar lay dead in the stream, while men of both armies scrambled in the swirling waters for rubies knocked free of his armor.