Difference between revisions of "Wraith (monster class)"

From NetHackWiki
Jump to navigation Jump to search
m (Characteristics)
Line 1: Line 1:
 
{{otheruses||the monster|Wraith}}
 
{{otheruses||the monster|Wraith}}
In ''[[NetHack]]'', the '''wraith''' [[monster class]] contains monsters represented by the symbol {{white|W}}:<ref name="monst.c">{{function|monst.c|Wraiths}}: ''Wraiths and their attributes''</ref>
+
In ''[[NetHack]]'', the '''wraith''' [[monster class]] contains monsters represented by the symbol {{white|W}}:
  
 
* {{monsymlink|barrow wight}}
 
* {{monsymlink|barrow wight}}
Line 8: Line 8:
 
Wraiths are designated internally by the macro '''S_WRAITH'''.{{refsrc|monsym.h|60|comment=S_WRAITH macro}}{{refsrc|include/monsym.h|63|version=NetHack 3.6.4|comment=S_WRAITH macro as of 3.6.4}}
 
Wraiths are designated internally by the macro '''S_WRAITH'''.{{refsrc|monsym.h|60|comment=S_WRAITH macro}}{{refsrc|include/monsym.h|63|version=NetHack 3.6.4|comment=S_WRAITH macro as of 3.6.4}}
  
==Characteristics==
+
 
 +
==Common traits==
 +
All wraiths are [[chaotic]]-aligned [[humanoid]] [[undead]] monsters of [[human size]], and move at the same [[speed]] as an unhasted player (12). They possess a [[drain life (monster attack)|drain life]] attack, are [[breathless|unbreathing]], and have resistance [[cold resistance|cold]], [[sleep resistance|sleep]] and [[poison resistance|poison]]. Wraiths are always generated [[hostile]], can be [[genocide]]d, and will [[follow]] the player between levels.<ref name="monst.c">{{function|monst.c|Wraiths}}: ''Wraiths and their attributes''</ref>
 +
 
 
Players killed by a member of the wraith class rise as a wraith monster in any bones file created.{{refsrc|end.c|229|comment=players killed by a W rise as a wraith}}
 
Players killed by a member of the wraith class rise as a wraith monster in any bones file created.{{refsrc|end.c|229|comment=players killed by a W rise as a wraith}}
  
 
===Generation===
 
===Generation===
 
Wraiths are the second [[quest]] enemy class for [[Priest]]s and [[Wizard]]s.<ref>{{function|role.c|Priest}}, {{function|role.c|Wizard}}: ''Wraiths are an enemy class for Priests and Wizards''</ref>
 
Wraiths are the second [[quest]] enemy class for [[Priest]]s and [[Wizard]]s.<ref>{{function|role.c|Priest}}, {{function|role.c|Wizard}}: ''Wraiths are an enemy class for Priests and Wizards''</ref>
 
===Common traits===
 
All wraiths share the following traits:<ref name="monst.c"/>
 
 
* They are [[humanoid]].
 
* They are [[undead]].
 
* They are [[human size]]d.
 
* They all move at the same [[speed]] as an unhasted player (12).
 
* They are [[chaotic]].
 
* They can be [[genocide]]d
 
* They all possess a [[drain life (monster attack)|drain life]] attack
 
* They resist [[cold resistance|cold]], [[sleep resistance|sleep]] and [[poison resistance|poison]].
 
* They are [[breathless]].
 
* The will [[follow]] the player between levels.
 
* They are always generated [[hostile]].
 
  
 
==Variants==
 
==Variants==

Revision as of 01:30, 2 September 2021

For the monster, see Wraith.

In NetHack, the wraith monster class contains monsters represented by the symbol W:

Wraiths are designated internally by the macro S_WRAITH.[1][2]


Common traits

All wraiths are chaotic-aligned humanoid undead monsters of human size, and move at the same speed as an unhasted player (12). They possess a drain life attack, are unbreathing, and have resistance cold, sleep and poison. Wraiths are always generated hostile, can be genocided, and will follow the player between levels.[3]

Players killed by a member of the wraith class rise as a wraith monster in any bones file created.[4]

Generation

Wraiths are the second quest enemy class for Priests and Wizards.[5]

Variants

xNetHack

In xNetHack, the ghost monster class is folded into the wraith class to reduce the number of punctuation-based glyphs.

References

  1. monsym.h in NetHack 3.4.3, line 60: S_WRAITH macro
  2. include/monsym.h in NetHack 3.6.4, line 63: S_WRAITH macro as of 3.6.4
  3. Wraiths in monst.c: Wraiths and their attributes
  4. end.c in NetHack 3.4.3, line 229: players killed by a W rise as a wraith
  5. Priest in role.c, Wizard in role.c: Wraiths are an enemy class for Priests and Wizards