Difference between revisions of "Offensive item"

From NetHackWiki
Jump to navigation Jump to search
(Undo revision 72153 by 99.167.107.198 (talk) whoops, it can't wield weapons in the first place, though it might get a spear)
m (pothole)
 
(13 intermediate revisions by 8 users not shown)
Line 1: Line 1:
Any monster capable of wielding [[weapon]]s has a chance of being generated with a random '''offensive item''', which might be an offensive [[wand]], [[potion]] or [[scroll]]. An eligible monster will be given an offensive item if its level equals or exceeds the roll of a ''d75''.<ref>{{sourcecode|makemon.c|464}}</ref>
+
Any monster capable of wielding [[weapon]]s has a chance of being generated with a random '''offensive item''', which might be an offensive [[wand]], [[potion]] or [[scroll]]. An eligible monster will be given an offensive item if its level equals or exceeds the roll of a ''d75''.{{refsrc|src/makemon.c|556|version=NetHack 3.6.6}}
  
 
The following monster types are specifically ineligible for offensive items, even though they can wield weapons:
 
The following monster types are specifically ineligible for offensive items, even though they can wield weapons:
Line 5: Line 5:
 
* [[Skeleton]]s (mindless)
 
* [[Skeleton]]s (mindless)
 
* [[Iron golem]]s (mindless)
 
* [[Iron golem]]s (mindless)
* All [[Kop]]s
+
* [[Keystone Kop (monster class)|Keystone Kops]] of any rank
  
If the monster's [[difficulty]] is 8 or more, there is a 1/35 chance that the item will be a [[wand of death]]. Otherwise, the monster selects and rolls a die according to its difficulty:
+
If the [[monster difficulty]] is 8 or higher, there is a 1/35 chance that the item will be a [[wand of death]]. Otherwise, a die is rolled according to the monster's difficulty:{{refsrc|src/muse.c|1572|version=NetHack 3.6.6}}
  
 
{| class="prettytable"
 
{| class="prettytable"
Line 24: Line 24:
 
! Roll !! Outcome
 
! Roll !! Outcome
 
|-
 
|-
| 1 || [[Scroll of earth]]*
+
| 1 || [[Scroll of earth]]{{footnote|If the monster would receive a scroll of earth, but is not wearing a metal helmet, a wand of striking will be given instead. A monster can also be protected from boulders by certain body types, but no weapon-wielding monster has any of these body types.}}
 
|-
 
|-
 
| 2 || [[Wand of striking]]
 
| 2 || [[Wand of striking]]
Line 51: Line 51:
 
|}
 
|}
  
If the monster would receive a scroll of earth, but is not wearing a metal helmet, a wand of striking will be given instead.<ref>A monster can also be protected from boulders by certain body types, but no weapon-wielding monster has any of these body types.</ref>
+
== Use ==
 +
{{todo|Outline the circumstances under which a monster will make use of an offensive item.}}
  
==See Also==
+
==See also==
* [[death drop]]
+
* [[Death drop]]
 +
* [[Defensive item]]
 +
* [[Miscellaneous item]]
 
* [[Monster starting inventory]]
 
* [[Monster starting inventory]]
  
 
== References ==
 
== References ==
 
 
<references/>
 
<references/>
 
+
{{nethack-366}}
{{nethack-343}}
+
[[Category:Monster Inventory]]
[[Category:Items]]
 
[[Category:Monster mechanics]]
 

Latest revision as of 14:46, 10 March 2024

Any monster capable of wielding weapons has a chance of being generated with a random offensive item, which might be an offensive wand, potion or scroll. An eligible monster will be given an offensive item if its level equals or exceeds the roll of a d75.[1]

The following monster types are specifically ineligible for offensive items, even though they can wield weapons:

If the monster difficulty is 8 or higher, there is a 1/35 chance that the item will be a wand of death. Otherwise, a die is rolled according to the monster's difficulty:[2]

Difficulty Roll
3 or less d8
4–6 d9
7 or more d13

The result of this die roll is given by the following table:

Roll Outcome
1 Scroll of earth[3]
2 Wand of striking
3 Potion of acid
4 Potion of confusion
5 Potion of blindness
6 Potion of sleeping
7 Potion of paralysis
8–9 Wand of magic missile
10 Wand of sleep
11 Wand of fire
12 Wand of cold
13 Wand of lightning

Use

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

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

See also

References

  1. src/makemon.c in NetHack 3.6.6, line 556
  2. src/muse.c in NetHack 3.6.6, line 1572
  3. If the monster would receive a scroll of earth, but is not wearing a metal helmet, a wand of striking will be given instead. A monster can also be protected from boulders by certain body types, but no weapon-wielding monster has any of these body types.