Bloodthirsty is a property that appears in NetHack and occurs with weapons - a bloodthirsty weapon attacks peaceful and hostile monsters indiscriminately when moving towards an adjacent monster while wielding that weapon.
Bloodthirstiness is solely associated with the artifact weapon Stormbringer, and is not formally defined with a singular flag in artilist.h - it is instead handled in mhitu.c code that pertains specifically to Stormbringer.
While you wield a bloodthirsty weapon, attempting to move into a monster's space will attack with that weapon regardless of whether or not it is peaceful, tame or hostile. This prevents you from displacing pets and skips the confirmation prompt that normally comes up when you would attack in the direction of a non-hostile monster, automatically angering peaceful monsters and abusing tame ones.
The following information pertains to an upcoming version (3.7.0). If this version is now released, please verify that it is still accurate, then update the page to incorporate this information.Displacement of peaceful monsters is also prevented, including during travel.
Unwielding Stormbringer when not in combat is recommended, as its tendency to attack non-hostile targets limits your tactical options.
- Your bloodthirsty blade attacks!
- Stormbringer caused you to automatically attack a non-hostile monster.
Variants of NetHack may add other artifact weapons with bloodthirsty properties and/or alter how it functions.
In SLASH'EM, it is possible to two-weapon two artifacts, and wielding Stormbringer in the offhand will cause you to automatically attack monsters as if it were wielded. This also applies to SlashTHEM.
- The black blade will not be thwarted!
- Stormbringer caused you to attack a non-hostile monster while in the offhand.
Furthermore, the bloodthirsty property functions completely differently. Instead of only attacking on careless movement, bloodthirsty weapons in dNetHack lash out at monsters around you passively: Every turn, the weapon will attempt to attack each adjacent monster, with a 1⁄4 chance per monster. For peaceful monsters, a second check is made to avoid including it as a target, with this chance scaling inversely with your sanity. The sanity-based chance functions identically to permanent madnesses, so it becomes exponentially more likely with lower sanity and becomes exceedingly rare at high sanity.
Regardless of sanity or number of adjacent monsters, at most one extra bloodthirsty attack will be made per turn. However, because each target is rolled separately, more adjacent monsters will increase the chance of an attack occurring. This makes bloodthirstiness a double-edged sword: it can grant extra attacks versus hostile monsters, but may also forcibly attack peaceful and tame monsters unless you unwield the weapon. Clear thoughts can prevent bloodthirsty attacks against peaceful and tame monsters.
- src/uhitm.c in NetHack 3.6.7, line 30
- src/uhitm.c in NetHack 3.6.7, line 474
- src/hack.c in NetHack 3.6.7, line 1566: The code attempts to "attack" displaceable monsters in order to swap places with them, but "It's fine to displace pets" is false when wielding a bloodthirsty weapon, because you would actually attack them instead.