Difference between revisions of "M2 NASTY"

From NetHackWiki
Jump to navigation Jump to search
(Add source code references for M2_NASTY)
(This is now only about M2_NASTY; for the summoned "nasties", see summon nasties#Nasties.)
Line 1: Line 1:
A '''nasty''' normally refers to a monster that can be summoned by means of the [[summon nasties]] [[monster spell]]{{refsrc|wizard.c|26}}:
+
{{for2|the "nasties" summoned by high-level monster spellcasters|[[summon nasties#Nasties|summon nasties]]}}
* {{monsymlink|cockatrice}}
+
The '''M2_NASTY''' monster flag influences{{refsrc|mondata.h|103|comment=extra_nasty() macro detects M2_NASTY}} 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}}
* {{monsymlink|gremlin}}
+
 
* {{monsymlink|winged gargoyle}}
+
This flag is completely unrelated to the "nasties" summoned by the [[summon nasties]] monster spell.
* {{monsymlink|master mind flayer}}
 
* {{monsymlink|ochre jelly}}
 
* {{monsymlink|leocrotta}}
 
* {{monsymlink|baluchitherium}}
 
* {{monsymlink|xan}}
 
* {{monsymlink|purple worm}}
 
* {{monsymlink|zruty}}
 
* {{monsymlink|couatl}}
 
* {{monsymlink|red dragon}}
 
* {{monsymlink|black dragon}}
 
* {{monsymlink|green dragon}}
 
* {{monsymlink|yellow dragon}}
 
* {{monsymlink|fire elemental}}
 
* {{monsymlink|stalker}}
 
* {{monsymlink|fire giant}}
 
* {{monsymlink|ettin}}
 
* {{monsymlink|minotaur}}
 
* {{monsymlink|jabberwock}}
 
* {{monsymlink|arch-lich}}
 
* {{monsymlink|ogre king}}
 
* {{monsymlink|green slime}}
 
* {{monsymlink|disenchanter}}
 
* {{monsymlink|rock troll}}
 
* {{monsymlink|Olog-hai}}
 
* {{monsymlink|umber hulk}}
 
* {{monsymlink|vampire lord}}
 
* {{monsymlink|xorn}}
 
* {{monsymlink|owlbear}}
 
* {{monsymlink|carnivorous ape}}
 
* {{monsymlink|elf-lord}}
 
* {{monsymlink|Elvenking}}
 
* {{monsymlink|captain}}
 
* {{monsymlink|iron golem}}
 
  
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:
+
The following monsters are M2_NASTY:
 
* {{monsymlink|mind flayer}}
 
* {{monsymlink|mind flayer}}
 
* {{monsymlink|master mind flayer}}
 
* {{monsymlink|master mind flayer}}
Line 51: Line 18:
 
* all [[angelic being]]s
 
* all [[angelic being]]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 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 [[giant humanoid]]s
 
* all [[vampire]]s
 
* all [[vampire]]s
 
* all major [[demon]]s (including lords and princes)
 
* all major [[demon]]s (including lords and princes)
Line 60: Line 27:
 
==SLASH'EM==
 
==SLASH'EM==
  
In [[SLASH'EM]], the following monsters are also considered "nasty" for purposes of the summon nasties spell.
+
In [[SLASH'EM]], the following monsters also have the M2_NASTY flag set:
 
+
* {{monsymlink|tsetse fly}}
* {{red|c}}, pyrolisk
+
* {{monsymlink|quickling}}
* {{cyan|o}}, snow orc
+
* {{monsymlink|catoblepas}}
* {{orange|o}}, demon orc
+
* {{monsymlink|carrion crawler}}
* {{darkgray|q}}, mastodon
+
* {{monsymlink|rot worm}}
* {{gray|w}}, rot worm
+
* {{monsymlink|kangaroo}}
* {{brightcyan|D}}, silver dragon
+
* {{monsymlink|vorpal jabberwock}}
* {{brightblue|V}}, vampire mage
+
* {{monsymlink|shoggoth}}
* {{magenta|:}}, rhaumbusun
+
* {{monsymlink|giant shoggoth}}
* {{darkgray|:}}, basilisk
+
* {{monsymlink|shadow}}
 
+
* {{monsymlink|rhaumbusun}}
The following monsters also have the M2_NASTY flag set.
 
 
 
* {{green|a}}, tsetse fly
 
* {{blue|n}}, quickling
 
* {{black|q}}, catoblepas
 
* {{green|s}}, carrion crawler
 
* {{gray|w}}, rot worm
 
* {{gray|z}}, kangaroo
 
* {{magenta|J}}, vorpal jabberwock
 
* {{black|P}}, shoggoth
 
* {{black|P}}, giant shoggoth
 
* {{black| }}, shadow
 
* {{magenta|:}}, rhaumbusun
 
 
* all new angelic beings
 
* all new angelic beings
* all new adult dragons, including wyverns {{brown|D}} and hydras {{brightgreen|D}}
+
* all new adult dragons, including {{monsymlink|wyvern}}s and {{monsymlink|hydra}}s
 
* all new vampires
 
* all new vampires
 
* all new major demons, except spined devils
 
* all new major demons, except spined devils
 
* all new quest nemeses
 
* all new quest nemeses
* Nightmare {{red|u}}, Beholder {{gray|e}}, and Vecna {{magenta|L}}
+
* {{monsymlink|Nightmare}}, {{monsymlink|Beholder}} and {{monsymlink|Vecna}}
* all other new unique monsters (except One-Eyed Sam)
+
* all other new unique monsters (except [[One-Eyed Sam]])
  
 
[[Category:Monster attributes]]
 
[[Category:Monster attributes]]

Revision as of 18:02, 28 November 2012

For the "nasties" summoned by high-level monster spellcasters, see summon nasties.

The M2_NASTY monster flag influences[1] the experience the monster gains[2] and what weapons they might be generated with.[3]

This flag is completely unrelated to the "nasties" summoned by the summon nasties monster spell.

The following monsters are M2_NASTY:

SLASH'EM

In SLASH'EM, the following monsters also have the M2_NASTY flag set:

References

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