Difference between revisions of "M2 PRINCE"

From NetHackWiki
Jump to navigation Jump to search
(Description: refsrc, see also)
(I avoided effects because "effects are ... unaffected" sounds silly, but "effects are ... unchanged" is fine)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{DISPLAYTITLE:M2_PRINCE}}
 
{{DISPLAYTITLE:M2_PRINCE}}
The <code>M2_PRINCE</code> monster flag (and the <code>is_prince()</code> macro that queries it) indicates that a monster is an "overlord" to its kind. The following monsters are princes:
+
In the code of ''[[NetHack]]'', the <code>'''M2_PRINCE'''</code> monster flag (and the <code>is_prince()</code> macro that queries it) indicates that a monster is an "'''overlord'''" to its kind.
 +
 
 +
==List of monsters==
 +
The following monsters are princes:
 
* {{monsymlink|queen bee}}
 
* {{monsymlink|queen bee}}
 
* {{monsymlink|dwarf king}}
 
* {{monsymlink|dwarf king}}
Line 16: Line 19:
 
* {{monsymlink|Asmodeus}}
 
* {{monsymlink|Asmodeus}}
 
* {{monsymlink|Demogorgon}}
 
* {{monsymlink|Demogorgon}}
 +
 
==Description==
 
==Description==
 
Being a prince has the following effects:
 
Being a prince has the following effects:
* A prince that can wield weapons and has no special rules for its species is [[monster starting inventory#weapons|much more likely to receive a weapon]].{{refsrc|src/makemon.c|518|version=NetHack 3.6.6}}
+
* A prince that can wield weapons and has no special rules for its species is [[monster starting inventory#weapons|much more likely to receive a weapon]].{{refsrc|src/makemon.c|518|version=NetHack 3.6.7}}
* When throwing [[projectile]]s, a prince gets a +2 [[multishot]] bonus.{{refsrc|src/mthrowu.c|175|version=NetHack 3.6.6}}
+
* When throwing [[projectile]]s, a prince gets a +2 [[multishot]] bonus.{{refsrc|src/mthrowu.c|173|version=NetHack 3.6.7}}
* A prince's weapon will always be at least +1, and its armor will be at least +0.{{refsrc|src/makemon.c|1952|version=NetHack 3.6.6}}
+
* A prince's weapon will always be at least +1, and its armor will be at least +0.{{refsrc|src/makemon.c|1952|version=NetHack 3.6.7}} Note that their equipment still has the usual chance of being [[cursed]].
 
* [[Demon summoning]] by same-race sacrifice cannot summon a demon prince. Only [[demon lords and princes]] can summon demon princes with their melee attacks.
 
* [[Demon summoning]] by same-race sacrifice cannot summon a demon prince. Only [[demon lords and princes]] can summon demon princes with their melee attacks.
 +
* [[Sitting]] on a [[throne]] with no effect produces a different message, namely ''"You feel very comfortable here"'' instead of ''"You feel somehow out of place..."''; this is purely cosmetic - the tangible effects of sitting on a throne are unchanged.
 +
 
==See also==
 
==See also==
 
* [[M2_LORD]]
 
* [[M2_LORD]]
 +
 
==References==
 
==References==
 +
<references/>
 +
{{nethack-367}}
 
[[Category:Monster attributes]]
 
[[Category:Monster attributes]]
{{nethack-366}}
 

Latest revision as of 08:43, 14 June 2023

In the code of NetHack, the M2_PRINCE monster flag (and the is_prince() macro that queries it) indicates that a monster is an "overlord" to its kind.

List of monsters

The following monsters are princes:

Description

Being a prince has the following effects:

  • A prince that can wield weapons and has no special rules for its species is much more likely to receive a weapon.[1]
  • When throwing projectiles, a prince gets a +2 multishot bonus.[2]
  • A prince's weapon will always be at least +1, and its armor will be at least +0.[3] Note that their equipment still has the usual chance of being cursed.
  • Demon summoning by same-race sacrifice cannot summon a demon prince. Only demon lords and princes can summon demon princes with their melee attacks.
  • Sitting on a throne with no effect produces a different message, namely "You feel very comfortable here" instead of "You feel somehow out of place..."; this is purely cosmetic - the tangible effects of sitting on a throne are unchanged.

See also

References