Difference between revisions of "Magic resistance (monster)"

From NetHackWiki
Jump to navigation Jump to search
m (todo: what it affects)
(affects riding)
Line 38: Line 38:
  
 
Defense level is the level of the defending monster (max 50).
 
Defense level is the level of the defending monster (max 50).
 +
 +
All this also determines the chance pets resist [[conflict]].
  
 
So at level 30, the [[Riders]] are truly magic resistant, but {{monsymlink|Pestilence}} and {{monsymlink|Famine}} can be affected if their [[monster level|level is drained]] ({{monsymlink|Death}} is resistant to drain life).
 
So at level 30, the [[Riders]] are truly magic resistant, but {{monsymlink|Pestilence}} and {{monsymlink|Famine}} can be affected if their [[monster level|level is drained]] ({{monsymlink|Death}} is resistant to drain life).
Line 51: Line 53:
  
 
<references />
 
<references />
[[Category:Monster attributes]]
 
 
{{nethack-343}}
 
{{nethack-343}}
 
{{todo|A list of all effects subject to monster mr, and/or confirmation that all those effects mention they are subject to it and link here.}}
 
{{todo|A list of all effects subject to monster mr, and/or confirmation that all those effects mention they are subject to it and link here.}}
 +
[[Category:Monster attributes]]

Revision as of 00:35, 6 April 2010

Monsters have innate magic resistance, also known as MR. This is separate from the magic resistance provided via various worn or carried items. It is given as a number between 0 and 100. This is frequently given as a percentage, although this is not entirely accurate.

Monsters' magic resistance allows them to resist various attacks, generally of a "magical" nature. It is handled by the resist()[1] function.

The chance of a monster resisting is given as follows:

Chance = MR/(100 + (attack level) - (defense level))[2]

which is only equal to MR as a percentage when attack and defense level are equal.

Attack level is calculated as follows:

Source Attack Level
spell Caster's level
wand 12
tool 10
weapon 10
scroll 9
potion 6
ring 5

Defense level is the level of the defending monster (max 50).

All this also determines the chance pets resist conflict.

So at level 30, the Riders are truly magic resistant, but & Pestilence and & Famine can be affected if their level is drained (& Death is resistant to drain life).

Monsters can also gain "regular" magic resistance by wearing a cloak of magic resistance or gray dragon scale mail.

Messages

"Foo resists!"
A monster resisted an attack. Shown only in some cases.

References

This page may need to be updated for the current version of NetHack.

It may contain text specific to NetHack 3.4.3. Information on this page may be out of date.

Editors: After reviewing this page and making necessary edits, please change the {{nethack-343}} tag to the current version's tag or {{noversion}} as appropriate.

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

"A list of all effects subject to monster mr, and/or confirmation that all those effects mention they are subject to it and link here."