Difference between revisions of "Miscellaneous item"

From NetHackWiki
Jump to navigation Jump to search
(note no practical gameplay effect of the unintended potions of speed)
m
Line 9: Line 9:
 
* {{frac|12|13}} of all [[soldier]]s{{refsrc|src/makemon.c|791|version=NetHack 3.6.6}}
 
* {{frac|12|13}} of all [[soldier]]s{{refsrc|src/makemon.c|791|version=NetHack 3.6.6}}
  
 +
==Description==
 
Each monster will receive at most one miscellaneous item. If the monster's [[difficulty]] is 5 or less, there is a {{frac|36}} chance that it will be a [[potion of polymorph]] and a {{frac|180}} chance that its miscellaneous item will be a [[wand of polymorph]].
 
Each monster will receive at most one miscellaneous item. If the monster's [[difficulty]] is 5 or less, there is a {{frac|36}} chance that it will be a [[potion of polymorph]] and a {{frac|180}} chance that its miscellaneous item will be a [[wand of polymorph]].
  
Line 18: Line 19:
 
* [[potion of gain level]]{{refsrc|src/muse.c|2010|version=NetHack 3.6.6}}
 
* [[potion of gain level]]{{refsrc|src/muse.c|2010|version=NetHack 3.6.6}}
  
== Use ==
+
==Use==
 
 
 
{{todo|Outline the circumstances under which a monster will make use of a miscellaneous item.}}
 
{{todo|Outline the circumstances under which a monster will make use of a miscellaneous item.}}
  
Line 32: Line 32:
 
== References ==
 
== References ==
 
<references/>
 
<references/>
 
 
{{nethack-366}}
 
{{nethack-366}}
 
[[Category:Monster Inventory]]
 
[[Category:Monster Inventory]]

Revision as of 00:16, 18 December 2021

A miscellaneous item may be created as part of a monster's inventory when the monster is generated. This will happen if the monster's level equals or exceeds the roll of a d100.[1]

The following monster types are ineligible for miscellaneous items:

Description

Each monster will receive at most one miscellaneous item. If the monster's difficulty is 5 or less, there is a 136 chance that it will be a potion of polymorph and a 1180 chance that its miscellaneous item will be a wand of polymorph.

Next, if the monster is living (undead monsters, golems, and vortices among others are nonliving), there is a 140 chance that it will be given an amulet of life saving.

If neither of these possibilities is selected, the monster has an equal chance of taking one of the following three options:

Use

A user has suggested improving this page or section as follows:

"Outline the circumstances under which a monster will make use of a miscellaneous item."

Monsters with hands will attempt to zap the wands at themselves and quaff the potion of gain level immediately.

See also

References

  1. src/makemon.c in NetHack 3.6.6, line 796
  2. src/makemon.c in NetHack 3.6.6, line 791
  3. src/vault.c in NetHack 3.6.6, line 387
  4. src/muse.c in NetHack 3.6.6, line 1731
  5. Despite code to make guards not receive speed items, mtmp->isgd is only set after makemon() is called,[3] thus guards can receive these items. This has no practical gameplay effect (other than possibly receiving a speed item if you kill a guard) because guards do not use speed items.[4]
  6. src/muse.c in NetHack 3.6.6, line 2010