M2 NASTY

From NetHackWiki
Revision as of 07:13, 27 November 2012 by Tungtn (talk | contribs) (Add source code references for M2_NASTY)
Jump to navigation Jump to search

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