Amulet theft
Amulet theft, also known as "steal amulet", is a damage type that occurs in NetHack, and uses the AD_SAMU damage type flag.
Amulet theft is associated with the quest nemesis monsters and the Wizard of Yendor: all these monsters each have a single claw attack with the damage type, and are covetous and capable of warping to the hero's position.
Contents
Description
As indicated by the flag and name, attacks with the amulet theft damage type deal damage and have a 1⁄20 chance of stealing the Amulet of Yendor or other valuable items from the target's open inventory[1][2][3]—the attack deals no damage against other monsters, though it can still steal items from them. The attack can also steal quest artifacts and the invocation items: when the attacker lands a hit from an amulet theft attack and the 1⁄20 chance of theft succeeds, the game first checks the target's open inventory for any quest artifacts and enumerates them, then if at least one is present, it then selects one of the quest artifacts to be stolen at random[4][5]—if none are present at all, the game then moves on to checking for the Amulet of Yendor and invocation items;[6] this routine explicitly includes the cheap plastic imitation of the Amulet of Yendor and bell as "fake" items that they may mistake for the real ones, aborting the routine if no items of interest are found at all.[7] Otherwise, if the Amulet, any invocation items or one of their "fake" substitutes are found, the game enumerates them and selects one to be stolen at random.[8]
When stealing an item using the above attack, the attacker will remove any of the target's worn armor or other items covering the targeted item if necessary, though there are currently no quest artifacts that can be covered by worn items.[9] Once the item is stolen, the attacker attempts to teleport away.[10]
Variants
Variants of NetHack often introduce additional monsters with attacks that can steal the Amulet of Yendor, and some may split the attack's properties between quest artifacts, invocation items and/or the Amulet itself.
dNetHack
In dNetHack, notdNetHack and notnotdNetHack, the damage type is split between the vanilla amulet theft damage type and a quest artifact theft damage type that is new to those variants. Quest artifact theft is associated with most quest nemeses and their related monsters, and behaves as the Amulet theft damage type does in NetHack; the Amulet theft damage type is associated with the Wizard of Yendor, the elder priest and a small handful of other monsters, and steals all of the same items as in NetHack except for quest artifacts.
References
- Jump up ↑ src/mhitu.c in NetHack 3.6.7, line 1388
- Jump up ↑ src/mhitu.c in NetHack 3.6.7, line 1393
- Jump up ↑ src/steal.c in NetHack 3.6.7, line 531
- Jump up ↑ src/steal.c in NetHack 3.6.7, line 541
- Jump up ↑ src/steal.c in NetHack 3.6.7, line 544
- Jump up ↑ src/steal.c in NetHack 3.6.7, line 551
- Jump up ↑ src/steal.c in NetHack 3.6.7, line 553-L564
- Jump up ↑ src/steal.c in NetHack 3.6.7, line 570
- Jump up ↑ src/steal.c in NetHack 3.6.7, line 582-L595
- Jump up ↑ src/steal.c in NetHack 3.6.7, line 606
- This page is a stub. Should you wish to do so, you can contribute by expanding this page.