Difference between revisions of "M2 NASTY"

From NetHackWiki
Jump to navigation Jump to search
m (Text replace - "<ref> *{{ *sourcecode *\| *([a-zA-Z_][a-zA-Z0-9_]*\.[ch]) *\| *([0-9][0-9]) *}} *<\/ref>" to "{{refsrc|$1|$2}}")
(Add source code references for M2_NASTY)
Line 37: Line 37:
 
* {{monsymlink|iron golem}}
 
* {{monsymlink|iron golem}}
  
There also exists an '''M2_NASTY''' monster flag, which has an influence on the [[experience]] the monster gains and what [[weapon]]s they might be generated with, but is otherwise independent from the above description of nasties:
+
There also exists an '''M2_NASTY''' monster flag, which has an influence{{refsrc|mondata.h|103|comment=extra_nasty() macro detects M2_NASTY}} on the [[experience]] the monster gains{{refsrc|exper.c|84|comment=extra_nasty() grants extra experience}} and what [[weapon]]s they might be generated with{{refsrc|makemon.c|431|comment=extra_nasty() biases towards better weapons}}, but is otherwise independent from the above description of nasties:
 
* {{monsymlink|mind flayer}}
 
* {{monsymlink|mind flayer}}
 
* {{monsymlink|master mind flayer}}
 
* {{monsymlink|master mind flayer}}
Line 50: Line 50:
 
* {{monsymlink|shade}}
 
* {{monsymlink|shade}}
 
* all [[angelic being]]s
 
* all [[angelic being]]s
* all adult [[dragon]]s
+
* all adult [[dragon]]s{{refsrc|trap.c|2039|comment=extra_nasty() discerns adult dragons from baby dragons to let them tear through webs}}
 
* all [[large humanoid]]s
 
* all [[large humanoid]]s
 
* all [[vampire]]s
 
* all [[vampire]]s

Revision as of 07:13, 27 November 2012

A nasty normally refers to a monster that can be summoned by means of the summon nasties monster spell[1]:

There also exists an M2_NASTY monster flag, which has an influence[2] on the experience the monster gains[3] and what weapons they might be generated with[4], but is otherwise independent from the above description of nasties:

SLASH'EM

In SLASH'EM, the following monsters are also considered "nasty" for purposes of the summon nasties spell.

  • c, pyrolisk
  • o, snow orc
  • o, demon orc
  • q, mastodon
  • w, rot worm
  • D, silver dragon
  • V, vampire mage
  • :, rhaumbusun
  • :, basilisk

The following monsters also have the M2_NASTY flag set.

  • a, tsetse fly
  • n, quickling
  • q, catoblepas
  • s, carrion crawler
  • w, rot worm
  • z, kangaroo
  • J, vorpal jabberwock
  • P, shoggoth
  • P, giant shoggoth
  •  , shadow
  • :, rhaumbusun
  • all new angelic beings
  • all new adult dragons, including wyverns D and hydras D
  • all new vampires
  • all new major demons, except spined devils
  • all new quest nemeses
  • Nightmare u, Beholder e, and Vecna L
  • all other new unique monsters (except One-Eyed Sam)

References

  1. wizard.c in NetHack 3.4.3, line 26
  2. mondata.h in NetHack 3.4.3, line 103: extra_nasty() macro detects M2_NASTY
  3. exper.c in NetHack 3.4.3, line 84: extra_nasty() grants extra experience
  4. makemon.c in NetHack 3.4.3, line 431: extra_nasty() biases towards better weapons
  5. trap.c in NetHack 3.4.3, line 2039: extra_nasty() discerns adult dragons from baby dragons to let them tear through webs