Difference between revisions of "Mind flayer"

From NetHackWiki
Jump to navigation Jump to search
m (Origin)
m (pothole)
 
(32 intermediate revisions by 5 users not shown)
Line 1: Line 1:
The '''mind flayer''', {{monsym|mind flayer}}, is an especially perilous type of [[monster]] that appears in ''[[NetHack]]''. They are [[omnivorous]] humanoids with octopus-like tentacled heads, and possess [[flight]], [[telepathy]], [[see invisible]], and [[infravision]]. The mind flayer can use its tentacle attacks to eat its victims' brains, draining [[intelligence]] and abusing [[wisdom]] while often inflicting [[amnesia]] - losing enough intelligence this way can be [[Brainlessness|irreversibly fatal]].
+
{{monster
 
+
|difficulty=13
A mind flayer can [[grow up]] into a '''master mind flayer''', {{monsym|master mind flayer}}; both share a colored glyph with the [[dwarf king]], {{monsym|dwarf king}}. Eating their [[corpse]]s can grant [[telepathy]] or raise intelligence by 1 point, with a 50% chance of each.{{refsrc|src/eat.c|1084|version=NetHack 3.6.6}}
+
|attacks=Weapon 1d4, Tentacle 2d1 [[int drain]], Tentacle 2d1 [[int drain]], Tentacle 2d1 [[int drain]]
 
+
|level=9
{{upcoming|NetHack 3.7.0|Mind flayer tentacle attacks no longer cause amnesia.}}
+
|experience=263
 
 
==Other common traits==
 
Mind flayers move at the same speed as an un-hasted, unburdened player character, and can wear all armor will occasionally concentrate and release a blast of psychic energy, and can sense if you have telepathy yourself—"a faint wave of psychic energy" is a sign that one is present on the level. If you have telepathy and are within sight or telepathy range of a mind flayer that is hostile or under the effects of [[conflict]], it will "lock on" to your mind or telepathy for d15 damage; this damage is halved with [[half spell damage]]. With a peaceful or tame mind flayer, the blast will "feel quite soothing" and no damage is done.
 
 
 
===Generation===
 
Randomly-generated mind flayers and master mind flayers are always generated hostile. They are also valid polymorph forms, meaning that you may encounter one far earlier in the dungeon either as the guise of a [[shapeshifter]] or the result of a [[polymorph trap]].
 
 
 
Both types of mind flayer are notorious for potentially generating upon entering a floor of the [[Gnomish Mines]], where they are normally far too high difficulty to appear. These '''"minesflayers"''' are the result of the Mines levels specifying that one random humanoid ({{mcsl|h}}) monster should be generated at normal level creation; this is almost always a [[dwarf]], [[hobbit]], or [[bugbear]]. On occasion however, the function that chooses which humanoid monster should be generated totally ignores the difficulty of the monster it produces and creates a (master) mind flayer.
 
 
 
==Descriptions==
 
<simpletabs>
 
Mind flayer|{{monster
 
|difficulty=13
 
|attacks=Weapon 1d4, Tentacle 2d1 [[int drain]], Tentacle 2d1 [[int drain]], Tentacle 2d1 [[int drain]]
 
|level=9
 
|experience=263
 
|speed=12
 
|AC=5
 
|MR=90
 
|align=&minus;8
 
|frequency=1
 
|genocidable=Yes
 
|weight=1450
 
|nutr=400
 
|size=Medium
 
|resistances=none
 
|resistances conveyed=[[Telepathy]] (50%), +1 [[Intelligence]] (50%)
 
|attributes={{attributes|A mind flayer|humanoid=1|fly=1|seeinvis=1|omnivore=1|hostile=1|nasty=1|greedy=1|jewels=1|collect=1|infravisible=1|infravision=1}}
 
|reference=[[monst.c#line449]]}}
 
 
 
The mind flayer has a base AC of 5, and is likely the variety a player will encounter first.
 
|-|
 
Master mind flayer|{{monster
 
|name=master mind flayer
 
|difficulty=19
 
|level=13
 
|experience=416
 
 
  |speed=12
 
  |speed=12
  |AC=0
+
  |AC=5
 
  |MR=90
 
  |MR=90
 
  |align=&minus;8
 
  |align=&minus;8
 
  |frequency=1
 
  |frequency=1
 
  |genocidable=Yes
 
  |genocidable=Yes
|attacks=Weapon 1d8, Tentacle 2d1 [[int drain]], Tentacle 2d1 [[int drain]], Tentacle 2d1 [[int drain]], Tentacle 2d1 [[int drain]], Tentacle 2d1 [[int drain]]
 
 
  |weight=1450
 
  |weight=1450
 
  |nutr=400
 
  |nutr=400
Line 53: Line 15:
 
  |resistances=none
 
  |resistances=none
 
  |resistances conveyed=[[Telepathy]] (50%), +1 [[Intelligence]] (50%)
 
  |resistances conveyed=[[Telepathy]] (50%), +1 [[Intelligence]] (50%)
  |attributes={{attributes|A master mind flayer|humanoid=1|fly=1|seeinvis=1|omnivore=1|hostile=1|nasty=1|greedy=1|jewels=1|collect=1|infravisible=1|infravision=1}}
+
  |attributes={{attributes|A mind flayer|humanoid=1|fly=1|seeinvis=1|omnivore=1|hostile=1|nasty=1|greedy=1|jewels=1|collect=1|infravisible=1|infravision=1}}
  |reference=[[monst.c#line457]]
+
  |reference=[[monst.c#line449]]
 
}}
 
}}
  
The master mind flayer has a base AC of 0 and a stronger weapon attack, along with 5 tentacle attacks; it is identical to its previous form in many aspects.
+
A '''mind flayer''', {{monsym|mind flayer}}, is a type of [[monster]] that appears in ''[[NetHack]]''. Mind flayers are [[omnivorous]] [[Humanoid (monster class)|humanoids]] with octopus-like tentacled heads, and possess [[flight]], [[telepathy]], [[see invisible]], and [[infravision]]. They will also collect [[gold]], [[gem]]s and any other items they come across. They share a glyph with the [[dwarf king]].
 +
 
 +
A mind flayer has a weapon attack and three tentacle attacks that can eat its victim's brains - they are also capable of emitting [[mind blast]]s that can lock on to [[you]] or other monsters on the same level as them: if a monster is either close enough to them or else possesses telepathy, they take d15 damage, which is affected by the [[half spell damage]] property. A tame or peaceful mind flayer will not deal damage to you this way unless they are under [[conflict]].
 +
 
 +
A character that has their brain eaten by a mind flayer's tentacle attack loses [[intelligence]], has their [[wisdom]] abused and can also be subjected to [[amnesia]] - losing enough intelligence this way causes an irreversibly fatal [[instadeath]] by [[brainlessness]], and cannot be averted with [[life saving]] or being [[polymorph]]ed; if you are in [[explore mode]] or [[wizard mode]] and choose not to die at the prompt that comes up, your intelligence is boosted to 5.{{refsrc|src/eat.c|602|version=NetHack 3.6.7}} Non-[[mindless]] monsters that are hit by a brain-sucking tentacle attack take an additional d10 of damage per attack to simulate brain loss.{{refsrc|src/eat.c|499|version=NetHack 3.6.7}}
 +
 
 +
Eating a mind flayer [[corpse]] or [[tin]] can either grant [[telepathy]] or raise intelligence by 1 point, with an equal probability of each.{{refsrc|src/eat.c|1084|version=NetHack 3.6.7}}
 +
 
 +
{{upcoming|NetHack 3.7.0|Mind flayer tentacle attacks no longer cause amnesia, and their glyph color is changed to bright magenta.}}
 +
 
 +
==Generation==
 +
Randomly-generated mind flayers are always generated hostile. A mind flayer can [[grow up]] into a [[master mind flayer]].
 +
 
 +
In addition to random generation, mind flayers are notorious for potentially generating within the [[Gnomish Mines]] outside of [[Minetown]] and [[Mines' End]] at level creation. These "minesflayers" are the result of the Mines levels using [[mkclass]] to specify that a random humanoid monster should be generated at normal level creation - while this is almost always a [[Dwarf (monster)|dwarf]], [[hobbit]] or [[bugbear]], mkclass can completely ignore the difficulty of the monster it produces and create a mind flayer (or master mind flayer).
 +
 
 +
{{upcoming|NetHack 3.7.0|If a genocided monster with a pre-grown form (that is not explicitly a baby form) is chosen for the [[summon nasties]] [[monster spell]], and that pre-grown form is not also genocided, it will appear in place of the genocided monster. This means that mind flayers can be generated via the spell in place of genocided master mind flayers.}}
  
===Generation===
 
In addition to the above, master mind flayers can be summoned by the [[summon nasties]] [[monster spell]].
 
</simpletabs>
 
  
 
==Strategy==
 
==Strategy==
Mind flayers and master mind flayers are considered a consistent, high-level threat throughout the entirety of the game due to the intelligence-draining attack, which has taught [[Lessons learned the hard way|many an unfortunate lesson]] to players. Brainlessness is an [[instadeath]] that ignores not only your current HP, but [[lifesaving]] as well&mdash;you will be brought back, only to immediately die again since your brain is still gone. If you die from intelligence drain while [[polymorph]]ed, you will also permanently die instead of reverting to your normal form. This makes mind flayers and their 'master' forms common targets for [[genocide]], as well as stellar pets for those who can procure a tame flayer.
+
Though they are the weaker of the two flayers, with 5 base [[AC]] and fewer tentacle attacks, mind flayers are still a major threat throughout most of the game due to their intelligence-draining attack, both for the loss of level maps and item identities and the outright instadeath they can cause. This makes mind flayers and their 'master' kin common targets for [[genocide]], as well as stellar pets for those who can procure a tame flayer.
  
If in [[explore mode]] or [[wizard mode]] and you choose not to die of brainlessness, your intelligence is then boosted by two points.{{refsrc|src/eat.c|602|version=NetHack 3.6.6}}
+
===Detection===
 +
If you start sensing waves of psychic energy, that is your cue to [[farlook]] and check any {{magenta|h}} you encounter&mdash;a somewhat common [[YASD]] is to mistake the mind flayer for an easier-to-kill dwarf king, then march in and promptly have your character's brain eaten. If you have telepathy, blinding yourself temporarily (e.g., via [[blindfold]] or [[towel]]) can be used to quickly confirm if a flayer is present on a level; dwarves also do not generate randomly inside [[Gehennom]], making detection there more trivial.
  
===Detection===
+
Mind flayers have an impressive [[Magic resistance (monster)|MR score]] of 90, and will often resist many forms of magic available to a character; [[Scare|scaring]] them through other means is a similarly difficult task. Polymorphing, e.g. via [[polymorph trap]], can also produce hostile mind flayers much earlier than they can generate normally.
If you start sensing waves of psychic energy, that is your cue to [[farlook]] and check whether any {{magenta|h}} you encounter is a dwarf&mdash;a somewhat common [[YASD]] is to mistake the mind flayer for an easier-to-kill dwarf king, then march in and have your brain promptly eaten. If you have telepathy, blinding yourself temporarily (e.g., via [[blindfold]] or [[towel]]) can be used to quickly confirm if a flayer is present on a level; dwarves also do not generate randomly inside [[Gehennom]], making detection there more trivial.
 
  
 
===Combat===
 
===Combat===
When fighting mind flayers, avoid melee-range combat if at all possible, especially if you are burdened and/or have low intelligence. Mind flayers respect [[Elbereth]] and can be deterred by standing on a [[scroll of scare monster]], though the former will not work in Gehennom.
+
When fighting mind flayers, avoid melee-range combat if at all possible, especially if you are [[Encumbrance|encumbered]] and/or have low intelligence - projectiles such as [[dagger]]s or [[arrows]] are among your best resources to consistently deal damage, and in a pinch they may even be worth a charge from a [[wand of death]]. Alternately, if your [[ranged attack]] options are limited and melee is your only out, consider [[stoning]] them or taking other measures to prevent or minimize stat loss ([[#Preventing intelligence drain|discussed in more detail below]]).
A flayer's 90 [[magic resistance (monster)|MR]] will often stop all but the more powerful spells available that manage to hit through their AC, and makes [[Scare|scaring]] them through other means a difficult task.
 
 
 
An [[expensive camera]] or [[tooled horn]], while not as secure as Elbereth for the above reasons, can still frighten off mind flayers, especially in Gehennom where Elbereth is of no use. Beware that a fleeing mind flayer may still attack you, although it is much less likely to; additionally, a [[blind]]ed one will not respect Elbereth. Scaring a mind flayer also does not prevent them locking on to your mind or telepathy.
 
  
[[Cancellation]] will not affect their brain-sucking attacks even if it successfully hits; projectiles such as [[dagger]]s or [[arrows]] are among your best resources to consistently deal damage. Alternately, if your [[ranged attack]] options are limited and melee is your only out, consider [[stoning]] them or taking other measures to prevent or minimize stat loss ([[#Preventing intelligence drain|discussed in more detail below]]).
+
Mind flayers respect [[Elbereth]], though this will not work in Gehennom, and can also be deterred by standing on a [[scroll of scare monster]]. While not as secure as Elbereth due to their 90 MR score, an [[expensive camera]] or [[tooled horn]] can still frighten off mind flayers. Beware that a fleeing mind flayer may still attack you, although it is much less likely to - additionally, a [[blind]]ed one will not respect Elbereth. Scaring a mind flayer also does not prevent them from mind blasting you. [[Cancellation]] will not affect the mind flayer's brain-sucking attacks even if successful.  
  
 
===Preventing intelligence drain===
 
===Preventing intelligence drain===
Wearing any [[greased]] [[helm]] prevents the mind flayer's tentacles from reaching your brain, but the grease has a {{frac|2}} chance to wear off with each attack; a non-greased helm has a {{frac|7|8}} chance of preventing each of the mind flayer's tentacle attacks. Mind flayers get multiple attacks per turn, so you should not rely solely on a greased helm, especially if you are unable to kill them quickly. Alternate possibilities include wearing a [[dunce cap]] or [[ring of sustain ability]]; both items will fix your intelligence stat (either at 6 or its current value), preventing stat loss and thus brainlessness, on top of the dunce cap's chance to block the tentacles. A blessed [[unicorn horn]] or [[potion of restore ability]] can also reverse the stat loss fairly quickly.
+
Wearing any [[greased]] [[helm]] prevents the mind flayer's tentacles from reaching your brain, but the grease has a {{frac|2}} chance of wearing off with each attack; a non-greased helm has a {{frac|7|8}} chance of preventing each of the mind flayer's tentacle attacks. Mind flayers get multiple attacks per turn, so you should not rely solely on a greased helm, especially if you are unable to kill them quickly. Alternate possibilities include wearing a [[dunce cap]] or [[ring of sustain ability]]: both items will fix your intelligence stat (either at 6 or its current value) and prevent stat loss, and the dunce cap has a chance of blocking the tentacles as with other helms. A blessed [[unicorn horn]] or [[potion of restore ability]] can also reverse the stat loss fairly quickly.
  
Polymorphing into a headless monster will protect you from the intelligence drain attacks, which can mitigate the worst of their threat;{{refsrc|src/mhitu.c|1145|version=NetHack 3.6.6}}{{refsrc|src/eat.c|505|version=NetHack 3.6.6}} polymorphing into a normally [[mindless]] form will not protect you - as a comment in the relevant code says, players aren't mindless.{{refsrc|src/eat.c|581|version=NetHack 3.6.6}}{{refsrc|src/mhitu.c|1165|comment=Players aren't mindless|version=NetHack 3.6.6}}
+
Polymorphing into a headless monster will protect you from the intelligence drain attacks, which can mitigate the worst of their threat{{refsrc|src/mhitu.c|1145|version=NetHack 3.6.7}}{{refsrc|src/eat.c|505|version=NetHack 3.6.7}} - polymorphing into a normally [[mindless]] form will not protect you, since as a comment in the relevant code says, players aren't mindless.{{refsrc|src/eat.c|581|version=NetHack 3.6.7}}{{refsrc|src/mhitu.c|1165|version=NetHack 3.6.7|comment=Players aren't mindless}}
  
None of these methods will prevent amnesia from a successful brain-sucking, and you're likely to come out of the fight very forgetful&mdash;have a means of re-identifying items on hand if possible. You can use #[[name]] to label one of a particular type of item(s) that you consider vital and/or does not [[auto-identify]] as a precaution.
+
Remember that none of these methods will prevent amnesia from a successful brain-sucking, and you are likely to be very forgetful after a fight with a mind flayer &mdash;have a means of re-identifying items on hand if possible. As a precaution, you can #[[name]] and label one of a particular type of item(s) that you consider vital and/or does not [[auto-identify]] itself.
  
 
{{upcoming|NetHack 3.7.0|In addition to mind flayer attacks no longer causing amnesia, unicorn horns will no longer restore lowered stats.}}
 
{{upcoming|NetHack 3.7.0|In addition to mind flayer attacks no longer causing amnesia, unicorn horns will no longer restore lowered stats.}}
  
 
===Genocide===
 
===Genocide===
While the amnesia and instadeath from brain-eating are enough to make both forms of mind flayer a popular target for genocide, '''do not attempt blessed genocide of mind flayers if you are a [[Dwarf (starting race)|dwarf]]!''' Using a blessed [[scroll of genocide]] will remove all {{mcsl|h}} from the current game ''including'' dwarves, serving as a particularly aggravating YASD for forgetful dwarven players.
+
While the amnesia and instadeath from brain-eating are enough to make both forms of mind flayer a popular target for genocide, '''do not attempt blessed genocide of mind flayers if you are a [[Dwarf (starting race)|dwarf]]!''' Using a blessed [[scroll of genocide]] will remove all {{mcsl|h}} from the current game ''including'' dwarves, serving as a particularly aggravating form of YASD for dwarvish characters. Also, be sure to mind your spelling, ''especially'' if you are a [[Monk]]&mdash;misspelling it as "master mindfalyer" will only parse the word "Master", one of the Monk's [[rank]] titles, and wipe out you and all other monks.
  
One or two "normal" genocides, either from the uncursed scroll or a [[throne]], should be used instead; the master mind flayer should ideally be targeted first, as regular mind flayers cannot be generated via summon nasties unless they randomly replace an [[extinct]]/genocided nasty.
+
You should already try to identify the [[beatitude]] of possible scrolls of genocide before reading them if at all possible, and this is especially true if you plan to eliminate mind flayers with one&mdash;in addition to the above, that randomly read scroll you just found may be cursed, and the summoned horde of mind flayers will often result in a quick death; even if you can scare them away, their psychic blasts may still overwhelm you. One or two "normal" genocides, either from the uncursed scroll or a [[throne]], should be used instead; the master mind flayer should ideally be targeted first, as regular mind flayers cannot be generated via summon nasties unless they randomly replace an [[extinct]]/genocided nasty.
  
You should ideally '''always''' identify the beatitude of possible scrolls of genocide before reading, but this is especially true if you plan to eliminate mind flayers with one&mdash;that randomly read scroll you just found may be cursed, and the summoned horde of mind flayers will often result in a quick death, and even if you can scare them away, their psychic blasts may still overwhelm you. Also, be sure to mind your spelling, ''especially'' if you are a [[Monk]]&mdash;misspelling it as "master mindfalyer" will only parse the word "Master", one of the Monk's [[rank]] titles, and wipe out all monks including you.
+
{{upcoming|NetHack 3.7.0|If master mind flayers are genocided, mind flayers can appear in their place if the summon nasties monster spell is cast.}}
 
 
{{upcoming|NetHack 3.7.0|If a genocided monster with a pre-grown form (that is not explicitly a baby form) is chosen, and this form is not also genocided, it will appear in place of the genocided monster. For example, mind flayers can appear in place of genocided master mind flayers. This also happens if the chosen nasty is inappropriate for the location, such as an arch-lich outside Gehennom.}}
 
  
 
===As pets===
 
===As pets===
While highly desirable as [[pet]]s, taming a mind flayer is extremely hard and dangerous due to their monster magic resistance; you may be much better off using a [[polymorph trap]] on your current pet. Tame mind flayers make quick work of [[shopkeeper]]s, and their telepathic outreach only locks onto and damage hostile monsters - the harmless message produced otherwise can be hidden with [[MSGTYPE]]. Remember that ''only'' tame and peaceful mind flayers will produces soothing waves&mdash;if you see different messages related to psychic waves and are taking damage from them, and you are not generating [[conflict]], then a hostile mind flayer may be on the level.
+
While highly desirable as [[pet]]s, taming a mind flayer is extremely hard and dangerous due to their monster magic resistance; you may be much better off using a polymorph trap on your current pet.
  
Be ''especially'' careful if your tame mind flayer becomes confused&mdash;they will turn those psychic waves on you! This also makes conflict similarly perilous, although their high monster magic resistance ensures that once a mind flayer reaches level 15, it will become immune to conflict - and thus no threat to you or your brain matter should you decide to use it.
+
Tame mind flayers can make quick work of [[shopkeeper]]s and various tough monsters, and their telepathic outreach will only lock onto and damage hostile monsters - the harmless message it otherwise produces can be hidden with [[MSGTYPE]]. However, there are a few monsters that in turn pose a serious threat should a mind flayer attempt to eat their brain:
 
 
Tame flayers excel at killing many other monsters due to their tentacle attacks: non-mindless monsters take an additional d10 of damage per brainsucking attack to simulate brain loss.{{refsrc|src/eat.c|499|version=NetHack 3.6.6}} However, there are a few monsters that in turn pose a serious threat should a mind flayer attempt to eat their brain:
 
  
 
* [[Cockatrice]]s, chickatrices and [[Medusa]] will turn a mind flayer to stone if a tentacle attack lands.
 
* [[Cockatrice]]s, chickatrices and [[Medusa]] will turn a mind flayer to stone if a tentacle attack lands.
 
* [[Jellies]] have passive attacks that can easily rack up enough damage to kill an unlucky mind flayer attacking one.
 
* [[Jellies]] have passive attacks that can easily rack up enough damage to kill an unlucky mind flayer attacking one.
 
* Shapeshifters and [[green slime]]s are similarly dangerous: the former may go down quickly, but will polymorph a mind flayer that eats its corpse, while the latter is extremely likely to turn it into another slime.
 
* Shapeshifters and [[green slime]]s are similarly dangerous: the former may go down quickly, but will polymorph a mind flayer that eats its corpse, while the latter is extremely likely to turn it into another slime.
* [[Rider]]s that mind flayers target are immediately fatal if they manage to eat one's brain, though the Rider in question still takes the extra "brain loss" damage.{{refsrc|src/eat.c|621|version=NetHack 3.6.6}}
+
* The [[Rider]]s will instantly kill a mind flayer if one manages to eat their's brain, though the Rider in question still takes the extra "brain loss" damage.{{refsrc|src/eat.c|621|version=NetHack 3.6.7}}
  
[[Ochre jellies]] are a common sight in the late game, especially as a summonable nasty&mdash;consider giving your mind flayer any [[yellow dragon scales]] (or [[yellow dragon scale mail|dragon scale mail]]) that you happen upon to provide them with valuable [[acid resistance]].  
+
[[Ochre jellies]] are a common sight in the late game, especially as a summonable nasty&mdash;consider giving your mind flayer any [[yellow dragon scales]] (or [[yellow dragon scale mail|dragon scale mail]]) that you happen upon to provide them with valuable [[acid resistance]].
  
Mind flayers also have a tendency to attract [[covetous]] monsters with their psychic blasts; if approaching the goal level of your [[Quest]], the [[Wizard of Yendor]]'s [[Wizard's Tower|Tower]] or one of the many demon lairs of [[Gehennom]], you may want to leave them on another floor temporarily. Alternately, if you intend to draw covetous foes to the up stair this way, be prepared accordingly; in particular, a mind flayer pet or polyform can be used by [[Rogue]]s on [[Rogue quest|their quest]] to awaken the [[Master Assassin]], who will then warp from his otherwise inaccessible dwelling.
+
Mind flayers also have a tendency to attract [[covetous]] monsters with their psychic blasts: if approaching the goal level of your [[Quest]], the [[Wizard of Yendor]]'s [[Wizard's Tower|Tower]] or one of the many demon lairs of [[Gehennom]], you may want to leave them on another floor temporarily. Alternately, if you intend to draw covetous foes to the stairs this way, be prepared accordingly; in particular, a mind flayer pet or polyform can be used by [[Rogue]]s on [[Rogue quest|their quest]] to awaken the [[Master Assassin]], who will then warp to you from his otherwise inaccessible dwelling.
  
{{upcoming|NetHack 3.7.0|From [https://github.com/NetHack/NetHack/commit/0891ef4e22ccb56bacd41ce302d4178c1c6525aa commit 0891ef4]: Monsters wearing alchemy smocks now additionally gain acid resistance instead of just [[poison resistance]], allowing for more flexibility in kitting out a tame mind flayer. Additionally, per [https://github.com/NetHack/NetHack/commit/2cad4ecec23d992d65f1f1c4c460bccb70b15b77 commit 2cad4ec], each individual covetous monster will pick either the upstairs or downstairs to warp to.}}
+
Also, remember that ''only'' tame and peaceful mind flayers will generate soothing psychic waves&mdash;if you see different messages related to psychic waves, are taking damage from them, and you are not generating conflict, then a hostile mind flayer may be on the level. Be ''especially'' careful if your tame mind flayer becomes confused&mdash;they will turn those psychic waves on you! This also makes conflict similarly perilous - always equip intelligent humanoid pets with a [[unicorn horn]] whenever possible. Additionally, a mind flayer's high monster magic resistance ensures that once they reaches level 15, they will become immune to conflict, and thus no threat to you or your brain matter while you are using conflict.
 +
 
 +
{{upcoming|NetHack 3.7.0|As of {{commit|2f255560252b0c18ed468baf94b58654bd5413f7}}:
 +
 
 +
The chance of resisting conflict now depends on the player's charisma, the monster's level, and the player's level. Conflict is resisted if <code>rnd(20) > min(19, (ACURR(A_CHA) - mtmp->m_lev + u.ulevel))</code> - thus, there is always at least a 5% chance of resisting it. Conflict also now requires that the monster see the player, not that the monster be in the player's line of sight. These changes are imported from [[SporkHack]].
 +
 
 +
Additionally, as of {{commit|0891ef4e22ccb56bacd41ce302d4178c1c6525aa}}, monsters wearing [[alchemy smock]]s now gain acid resistance instead of just [[poison resistance]], allowing for more flexibility in kitting out a tame mind flayer. Mind flayers can also gain intrinsics from eating corpses as well, allowing them to gain cold resistance for dealing with blue jellies.
 +
 
 +
As of {{commit|2cad4ecec23d992d65f1f1c4c460bccb70b15b77}}, each individual covetous monster will pick either the upstairs or downstairs to warp to.}}
  
 
===As a polymorph form===
 
===As a polymorph form===
The master mind flayer is a very sought-after form for [[polyself]]: on top of flight, multiple attacks per turn, 0 base AC of 0 and no changes to armor or [[encumbrance]], its brain-eating attack is deadly to nearly anything. When eating a monster's brain, you gain d30 nutrition per successful tentacle attack and exercise wisdom, without risk of choking; if your intelligence is below its current maximum (e.g., your own brain was sucked), it will be increased by d4.{{refsrc|src/eat.c|562|version=NetHack 3.6.6}} The intelligence increase is subject to the normal polymorphed attributes rules, and will be reset when you revert to your normal form; among its few drawbacks are that your max HP may also drop significantly in this form, especially if polymorphing at a high level. The master mind flayer form also sees use in [[speed ascension]]s, especially with physically-weak [[Elven (starting race)|elven]] [[Wizard]]s.
+
A mind flayer is a solid monster form for [[polyself]]: on top of flight, multiple attacks per turn, 5 base AC and the ability to wear all armor, their brain-eating attack is deadly to nearly anything with a mind.
  
Naturally, players in mind flayer form face the same dangers as pet mind flayers, including potential death from triggering too many passive attacks. Furthermore, brainsucking a [[green slime]] causes delayed [[sliming]], and eating a [[cockatrice]]'s brain causes both immediate [[stoning]] '''and''' delayed stoning if the immediate stoning was stopped by an [[amulet of lifesaving]]. Sucking the brains of your [[race]] or other mind flayers will count as [[cannibalism]] as well, though this does not trigger a penalty for each ''individual'' brain-sucking attack{{refsrc|src/eat.c|649|version=NetHack 3.6.6}} - for Monks and vegan or vegetarians players, eating brains will also break those conducts. While you cannot choke directly from eating brains, you ''can'' become satiated&mdash;you will ''not'' receive a warning when oversatiated, and thus run a significant risk of choking from eating ''anything'' afterward, which is an instadeath even while polymorphed.
+
When eating a monster's brain, you gain d30 nutrition per successful tentacle attack and exercise wisdom, without risk of choking; if your intelligence is below its current maximum (e.g., after your own brain was sucked), it will be increased by d4.{{refsrc|src/eat.c|562|version=NetHack 3.6.7}} The intelligence increase is subject to the normal polymorphed attributes rules, and will be reset when you revert to your normal form.
 +
 
 +
Naturally, players in mind flayer form face the same dangers as pet mind flayers, including potential death from triggering too many passive attacks. Furthermore, brainsucking a [[green slime]] causes delayed [[sliming]], and eating a [[cockatrice]]'s brain causes both immediate [[stoning]] '''and''' delayed stoning if the immediate stoning was stopped by an [[amulet of life saving]]. Sucking the brains of your [[race]] or other mind flayers will count as [[cannibalism]] as well, though this does not trigger a penalty for each ''individual'' brain-sucking attack{{refsrc|src/eat.c|649|version=NetHack 3.6.7}} - for Monks and vegan or vegetarians players, eating brains will also break those conducts. While you cannot choke directly from eating brains, you ''can'' become satiated&mdash;you will ''not'' receive a warning when oversatiated, and thus run a significant risk of choking from eating ''anything'' afterward, which is an instadeath even while polymorphed.
  
 
==History==
 
==History==
The mind flayer first appears in [[NetHack 3.1.0]], and the master mind flayer is introduced in [[NetHack 3.3.0]].
+
The mind flayer first appears in [[NetHack 3.1.0]]. From this version to [[NetHack 3.4.3]], including some variants based on them, the game does not recognize the alternate spelling "mindflayer" when selecting a monster for genocide.
 
 
From 3.1.0 to [[NetHack 3.4.3]], including some variants based on them, the game would not recognize the alternate spelling "mindflayer" when selecting a monster for [[genocide]]. This meant that from 3.3.0 to 3.4.3, a Monk that attempted to genocide "master mindflayer" would instead genocide "master", thus wiping out all Monks and ending the game. As mentioned above, "master" is one of the [[rank]] titles for Monks, and the parser ignored the 'unfamiliar' word "mindflayer";<ref>[http://groups.google.com/group/rec.games.roguelike.nethack/browse_thread/thread/0d275920c73ced76/ rgrn thread]</ref> this was fixed in [[NetHack 3.6.0]].
 
 
 
Master mind flayers are one of the many polyforms that can aid in [[pudding farming]] in earlier versions of the game where it was possible.
 
  
 
==Origin==
 
==Origin==
 
{{Wikipedia|Illithid}}
 
{{Wikipedia|Illithid}}
Mind flayers are derived from ''[[Dungeons & Dragons]]'', where they were also known as '''illithids'''; the illithid is considered "Product Identity" by Wizards of the Coast and as such is not released under its Open Game License. Creator Gary Gygax stated that one of his inspirations was the cover painting of the Titus Crow book ''The Burrowers Beneath'' by Brian Lumley.
+
Mind flayers are derived from ''[[Dungeons & Dragons]]'', where they appear in all editions, and are also known as illithids; the illithid is considered "Product Identity" by Wizards of the Coast, and as such is not released under its Open Game License. ''Dungeons & Dragons'' co-creator Gary Gygax stated that one of his inspirations was the cover painting of the Titus Crow book ''The Burrowers Beneath'' by Brian Lumley. The first mention of illithids is found in the first issue of TSR Games' official newsletter ''The Strategic Review''; they were included in the Eldritch Wizardry supplement for the original white box edition of the 1976 ''Dungeons & Dragons'' game, where they were depicted as Lawful Evil; they also appear in the first edition's Monster Manual; and the 3rd and 3.5 editions introduce playable illithids.
  
Illithids appear in all editions: they make their debut in the first issue of TSR Games' official newsletter ''The Strategic Review'' (1975); they were included in the Eldritch Wizardry supplement for the original white box edition of the 1976 ''Dungeons & Dragons'' game, where they were depicted as Lawful Evil, and appear in the first edition's Monster Manual; and the 3rd and 3.5 editions introduce playable illithids. In-universe, the origins of the illithids are subject to many conflicting stories.
+
The illithid is "a super-intelligent, man-shaped creature with four tentacles by its mouth which it uses to strike its prey"; a tentacle that hits penetrates to the brain and draws it forth, allowing the monster to devour it. Its major weapon is the 'mind blast', a short-range wave of "PSI force" which affects each opponent differently based on how intelligent it is, and can induce many ailments from confusion and insanity, up to coma and even death. In-universe, the origins of the illithids are subject to many conflicting stories.
  
The illithid is "a super-intelligent, man-shaped creature with four tentacles by its mouth which it uses to strike its prey"; a tentacle that hits penetrates to the brain and draws it forth, allowing the monster to devour it. Its major weapon is the 'mind blast', a short-range wave of "PSI force" which affects each opponent differently based on how intelligent it is, and can induce many ailments from confusion and insanity, up to coma and even death.
+
Illithid society is structured around a creature called an "[[elder brain|Elder Brain]]", which lives in a pool of cerebral fluid in the center of a city. Dead illithids have their brain extracted and taken to this pool to have its contents absorbed, which illithids believe a form of immortality; this Brain also functions as a vast library of knowledge that an illithid can call upon with a simple telepathic call. Psionic potential is thus an integral part of the illithid identity, and they typically communicate by projecting thoughts and feelings to each other.
  
Illithid society is structured on the local level around a creature called an "[[elder brain|Elder Brain]]", which lives in a pool of cerebral fluid in the center of a city. Dead illithids have their brain extracted and taken to the Elder Brain's pool, which they believe to be a form of immortality; this Brain also functions as a vast library of knowledge that an illithid can call upon with a simple telepathic call. Illithids typically communicate by projecting thoughts and feelings to each other in a way non-illithids can scarcely comprehend; their rare forays into written language are known as "qualith", a series of marks consisting of four broken lines that functions somewhat like an extremely complex braille - only by understanding all four lines simultaneously can the meaning be understood properly.
+
While illithids do have a patron deity known as [[Ilsensine]], few of them actively worship her - both because they believe themselves the most powerful creatures in the universe, and because Ilsensine is more of an "abstract" deity that represents universal knowledge and one’s mastery of their own mind, a state that all illithids seek. Outcast illithids that turn to wizardry are often known to become [[alhoon]]s.
  
 
==Messages==
 
==Messages==
{{message|The <master> mind flayer's tentacles suck you!|A mind flayer has hit you with its brain-sucking attack.}}
+
{{message|<The mind flayer>'s tentacles suck you!|A mind flayer has hit you with its brain-sucking attack.}}
 
{{message|Your brain is eaten!|You lost intelligence and/or memory of items and floors to the brain-sucking attack.}}
 
{{message|Your brain is eaten!|You lost intelligence and/or memory of items and floors to the brain-sucking attack.}}
 
{{message|Your <helm> blocks the attack to your head.|Your worn helmet successfully protected you from its tentacle attack.}}
 
{{message|Your <helm> blocks the attack to your head.|Your worn helmet successfully protected you from its tentacle attack.}}
Line 147: Line 120:
 
{{message|<Foo> doesn't notice.|As above, but the 'victim' was mindless and takes no extra damage.}}
 
{{message|<Foo> doesn't notice.|As above, but the 'victim' was mindless and takes no extra damage.}}
 
{{message|<Foo>'s last thought fades away...|A monster was killed by the brain-sucking attack.}}
 
{{message|<Foo>'s last thought fades away...|A monster was killed by the brain-sucking attack.}}
{{message|Ingesting that is fatal.|You ate the brain of a Rider while in mind flayer form, dying instantly and abusing wisdom if you are revived by an amulet of life saving.{{refsrc|src/eat.c|554|version=NetHack 3.6.6}}}}
+
{{message|Ingesting that is fatal.|You ate the brain of a Rider while in mind flayer form, dying instantly and abusing wisdom if you are revived by an amulet of life saving.{{refsrc|src/eat.c|554|version=NetHack 3.6.7}}}}
  
{{message|You have a sad thought for a moment, then it passes.|A tame mind flayer was turned to stone from an attempt to eat a monster's brains.}}
+
{{message|You have a sad thought for a moment, then it passes.|A tame mind flayer was turned to stone from an attempt to eat a monster's brain.}}
  
 
==Variants and patches==
 
==Variants and patches==
===Heck² patch===
+
In the [[Heck² patch]], one of the possible special levels in the "heck-a" list is filled with mind flayers.
In the [[Heck² patch]], one of the possible special levels in the "heck-a" list is filled with mind flayers and master mind flayers.
 
  
===Lethe patch===
+
In the [[Lethe patch]], the Wizard's Manse map for the fifth floor of the [[Lethe Gorge]] has a [[throne room]] with three [[throne]]s, two of which are occupied by sleeping mind flayers - one mind flayer generates with a [[wand of lightning]] and the other generates with a [[wand of sleep]].
In the [[Lethe patch]], the Wizard's Manse map for the fifth floor of the [[Lethe Gorge]] has a [[throne room]] with three [[throne]]s occupied by a sleeping master mind flayer and two sleeping mind flayers; the master mind flayer generates with a [[wand of cancellation]], while one mind flayer generates with a [[wand of lightning]] and the other generates with a [[wand of sleep]].
 
  
 
===SLASH'EM===
 
===SLASH'EM===
Mind flayers and their master forms are somewhat different in [[SLASH'EM]]. The master mind flayer has three brain-eating attacks, while the normal mind flayer has five&mdash;an unusual reverse of the situation in vanilla ''NetHack''. More importantly, the [[ring of free action]] provides [[Luck]]-based protection against their brain-eating attacks, starting at a 50% of blocking each individual flay and increasing to a 90% chance at maxed-out Luck.{{refsrc|mhitu.c|954|version=SLASH'EM 0.0.7E7F2}} This, in combination with a greased helm, renders them somewhat less of a threat.
+
Mind flayers and their master kin are somewhat different in [[SLASH'EM]] - in an unusual reverse of their attack dice from vanilla ''NetHack'', the master mind flayer has three brain-eating attacks, while the normal mind flayer has five. All the more importantly, the [[ring of free action]] provides [[Luck]]-based protection against their brain-eating attacks, starting at a {{frac|2}} chance of blocking each individual flay and increasing to a {{frac|9|10}} chance at maxed-out Luck.{{refsrc|mhitu.c|954|version=SLASH'EM 0.0.7E7F2}} This, in combination with a greased helm, can render them somewhat less of a threat.
  
While genociding mind flayers is still generally a worthwhile idea, there are more sources of amnesia present such as the [[potion of amnesia|potions of amnesia]] and the [[migo queen]]'s attacks, making it much less reliable as a preventative method against amnesia specifically.
+
While genociding mind flayers is still generally a worthwhile idea, there are more sources of amnesia present such as the [[potion of amnesia]] and the [[migo queen]]'s attacks, so this is not a preventative method against amnesia specifically.
  
Both mind flayer polyforms are incapable of wearing helmets due to tentacle placement, but can still wear all other armor. In addition, SLASH'EM makes it so that any additional bite or tentacle attacks that would automatically process and result in death (e.g. by attacking a cockatrice) are simply not used; this does not apply to the weapon attack, so as always be mindful of approaching one bare-handed.
+
Both mind flayer polyforms are incapable of wearing helmets due to their tentacle placement, but can still wear all other armor. In addition, SLASH'EM makes it so that any additional bite or tentacle attacks that would automatically process and result in death (e.g. by attacking a cockatrice) are simply not used; this does not apply to the weapon attack, so as always be mindful of fighting bare-handed.
  
In the [[Lawful Quest]], the locked chamber in the middle of the Cloud Bank has a chance to house mind flayers known as the "Spice Girls": one named Ginger is guaranteed to appear, while two others named Victoria and each have a {{frac|4|5}} chance of generating}}. They may be accompanied by two two master mind flayers named Mel B. and Mel C., who each have a {{frac|3|5}} chance of being generated. Ginger is generated on top of a [[fountain]] and a [[chest]] that has a [[wand of cold]] with 16 charges; the chest also has a {{frac|7|10}} chance of containing an [[amulet of flying]] (70% chance), and a {{frac|4|5}} chance of containing a [[wand of digging]], making it a possible boon for sufficiently tough players. If either type of mind flayer is genocided, they will be replaced by random monsters with the same names.
+
In the [[Lawful Quest]], the locked chamber in the middle of the Cloud Bank has a chance of housing mind flayers known as the "Spice Girls": one named Ginger is guaranteed to appear, while two others named Victoria and Emma each have a {{frac|4|5}} chance of generating. They may be accompanied by two master mind flayers named Mel B. and Mel C., who each have a {{frac|3|5}} chance of being generated. Ginger is generated on top of a [[fountain]] and a [[chest]] that has a [[wand of cold]] with 16 charges; the chest also has a {{frac|7|10}} chance of containing an [[amulet of flying]], and a {{frac|4|5}} chance of containing a [[wand of digging]], making it a possible boon for sufficiently tough players. If either type of mind flayer is genocided, they will be replaced by random monsters with the same names.
  
 
SLASH'EM recognizes the "mindflayer" spelling, so it is okay to genocide "master mindflayer", but a typo like "master mindfalyer" will still wipe out all Monks (including you if you are one).
 
SLASH'EM recognizes the "mindflayer" spelling, so it is okay to genocide "master mindflayer", but a typo like "master mindfalyer" will still wipe out all Monks (including you if you are one).
  
 
===dNetHack===
 
===dNetHack===
In [[dNetHack]], mind flayers and their master kin are considered [[Primordials (dnethack)|primordials]]. dNetHack also adds [[parasitic mind flayer]]s and [[parasitic master mind flayer]]s as well as [[alhoon]]s, master mind flayers that have turned to [[lich]]dom.
+
In [[dNetHack]], mind flayers and their master kin are considered [[primordial]]s. dNetHack also adds [[parasitic mind flayer]]s and [[parasitic master mind flayer]]s as well as [[Alhoon (dNetHack)|alhoons]], mind flayers that have turned to lichdom.
  
The [[Drow Noble Quest]] involves infiltrating a colony of mind flayers and retrieving the [[quest artifact]], the [[Web of the Chosen]]; there are 16 mind flayers and 2 master mind flayers scattered about the goal level around the [[elder brain]].
+
The [[Drow Noble Quest]] involves infiltrating a colony of mind flayers and retrieving the [[quest artifact]], the [[Web of the Chosen]]: there are 16 mind flayers scattered about the goal level at level creation, generally situated around the [[elder brain]] guarding the [[Bell of Opening]]. The quest artifact's actual owner, [[A'gone]], is locked up in a cell on the edge of the level, with her mind completely gone due to the mind flayers.
  
===EvilHack===
+
====Anachrononaut quest====
In [[EvilHack]], mind flayers and master mind flayers use {{orange|h}} in order to differentiate them more easily for dwarven royals. EvilHack also adds alhoon as well as mind flayer larva, which only generate within mind flayer nurseries. Mind flayer larva live in shallow [[pool]]s and can only reach adulthood by attaching themselves to a victim's face; if a player is attacked this way, they have only one turn to kill or remove the larva before it burrows itself into the player's brain, killing them instantly and turning them into a mind flayer.
+
The [[Anachrononaut quest]] features mind flayers as somewhat major antagonists: in the "age before ages", they discovered and woshipped an eldritch "nascent thought" known as Ilsensine, and in bringing knowledge of it back to the past set off a chain of events that caused the end of the world. While the mind flayer empires were overthrown and brought low, the [[god]]s of Law discovered Ilsensine and were consumed, followed by the other gods of the heavens (hence why Anachrononauts do not worship any and cannot make use of altars). In order to change the future and gain a full-scoring ascension, you must gain access to your Quest from your [[quest leader]] before she dies, retrieve [[the Annulus]] and obtain the [[Amulet of Yendor]], then reach the lawful high altar on the [[Astral Plane]] and invoke the Annulus to purge Ilsensine's influence once and for all before ascending as normal.
  
Mind flayers are [[Illithid (starting race)|a playable race]] referred to as illithids, and other illithids can also be found in the dungeon as any of the various [[racial monster]]s present within, e.g. shopkeepers and [[player monster]]s. Player illithids have [[psychic resistance]] which renders them immune to brain-eating attacks, including those from other mind flayers.
+
Mind flayers are one of the many quest monsters: {{frac|7}} of the randomly generated monsters are mind flayer-related - of those, {{frac|8}} are mind flayers, {{frac|8}} are master mind flayers, and the remaining monsters are either [[umber hulk]]s or [[brain golem]]s. Mind flayers are among the various [[H.P. Lovecraft]]-inspired r'lyehians that can appear as well, with a {{frac|7}} chance of a r'lyehian generating: mind flayers make up {{frac|16}} of randomly-generated r'lyehians. Many mind flayers are also generated scattered around the lower filler level(s) of the Quest at level creation. Genocide does not apply to monsters generated in the Quest branch, meaning that Anachrononauts cannot preemptively remove mind flayers to make their quest easier.
  
 
===xNetHack===
 
===xNetHack===
In [[xNetHack]], mind flayers are moved to the [[aberration]] [[monster class]], represented by {{white|U}}; this is done primarily for genocide purposes to avert a YASD for dwarven players, and also solves the problem of minesflayers.
+
In [[xNetHack]], mind flayers are moved to the [[aberration]] [[monster class]] represented by {{white|U} - this is done to avert a potential YASD for dwarvish characters using blessed scrolls of genocide, and also solves the problem of minesflayers.
 +
 
 +
===notdNetHack===
 +
In [[notdNetHack]], in addition to dNetHack details, the [[Illithanachronounbinder]] is a role that is flavored as being a mind flayer of whatever starting race you select, possessing both the traits of that race and those of mind flayers - the role's rank title for [[experience level]]s 14-17 is "Mind Flayer".
 +
 
 +
notdNetHack also adds [[villithid]]s, vampiric mind flayers that are primarily seen on the Illithanachronounbinder quest.
 +
 
 +
===EvilHack===
 +
In [[EvilHack]], mind flayers use {{brightmagenta|h}} in order to differentiate them more easily for dwarven royals. EvilHack also adds [[Alhoon (EvilHack)|alhoons]] (which are implemented differently from dNetHack) as well as [[mind flayer larva]], which only generate within mind flayer nurseries. Mind flayer larva live in shallow [[pool]]s and can only reach adulthood by attaching themselves to a victim's face; if a player is attacked this way, they have only one turn to kill or remove the larva before it burrows itself into the player's brain, killing them instantly and turning them into a mind flayer that can be found in any resulting bones.
 +
 
 +
Mind flayers are also present as a race of monster within the dungeon, referred to as illithids, and can appear as any of the various [[racial monster]]s present within, e.g. shopkeepers and [[player monster]]s - they are also [[Illithid (starting race)|a playable race]]. All forms of illithid have [[psychic resistance]] that renders them immune to brain-eating attacks, including those from other mind flayers.
  
 
==Monster stats by variant==
 
==Monster stats by variant==
===Mind flayer===
 
 
<simpletabs>
 
<simpletabs>
 
SLASH'EM|{{monster
 
SLASH'EM|{{monster
Line 228: Line 208:
 
}}
 
}}
 
|-|
 
|-|
EvilHack|{{ monster
+
EvilHack|{{monster
 
  |name=mind flayer
 
  |name=mind flayer
 
  |difficulty=13
 
  |difficulty=13
Line 248: Line 228:
 
  |reference=[https://github.com/k21971/EvilHack/blob/master/src/monst.c#L625 EvilHack - monst.c, line 625]
 
  |reference=[https://github.com/k21971/EvilHack/blob/master/src/monst.c#L625 EvilHack - monst.c, line 625]
 
}}
 
}}
</simpletabs>
+
|-|
===Master mind flayer===
+
xNetHack|{{monster
<simpletabs>
+
  |name=mind flayer
SLASH'EM|{{monster
+
|symbol={{magenta|U}}
  |name=master mind flayer
+
  |difficulty=13
  |difficulty=19
+
|attacks=Weapon 1d4, Tentacle 2d1 [[int drain]], Tentacle 2d1 [[int drain]], Tentacle 2d1 [[int drain]]
  |level=13
+
  |level=9
  |experience=416
+
  |experience=263
 
  |speed=12
 
  |speed=12
  |AC=0
+
  |AC=5
 
  |MR=90
 
  |MR=90
 
  |align=&minus;8
 
  |align=&minus;8
 
  |frequency=1
 
  |frequency=1
 
  |genocidable=Yes
 
  |genocidable=Yes
|attacks=Weapon 1d8, Tentacle 2d1 [[int drain]], Tentacle 2d1 [[int drain]], Tentacle 2d1 [[int drain]]
 
 
  |weight=1450
 
  |weight=1450
 
  |nutr=400
 
  |nutr=400
Line 268: Line 247:
 
  |resistances=none
 
  |resistances=none
 
  |resistances conveyed=[[Telepathy]] (50%), +1 [[Intelligence]] (50%)
 
  |resistances conveyed=[[Telepathy]] (50%), +1 [[Intelligence]] (50%)
  |attributes={{attributes|A master mind flayer|humanoid=1|fly=1|seeinvis=1|omnivore=1|hostile=1|nasty=1|greedy=1|jewels=1|collect=1|infravisible=1|infravision=1|traitor=1}}
+
  |attributes={{attributes|A mind flayer|humanoid=1|fly=1|seeinvis=1|omnivore=1|hostile=1|nasty=1|greedy=1|jewels=1|collect=1|infravisible=1|infravision=1}}
|reference = [[SLASH'EM 0.0.7E7F2/monst.c#line825]]
+
  |reference=[https://github.com/copperwater/xNetHack/blob/xnh7.0/include/monsters.h#L1961 xNetHack 7.0 include/monsters.h, line 1961]}}
}}
 
|-|
 
dNetHack|{{monster
 
|name=master mind flayer
 
|symbol={{magenta|h}}
 
|tile=
 
|difficulty=18
 
|level=13
 
|experience=465
 
|speed=12
 
|AC=0
 
|MR=90
 
|align=0
 
|frequency=1
 
|genocidable=Yes
 
|attacks=Weapon 1d8 physical, Offhand Weapon 1d8 physical, Tentacle 1d4 [[int drain]], Tentacle 1d2 [[int drain]], Tentacle 1d2 [[int drain]]
 
|weight=3000
 
|nutr=800
 
|size=large
 
|resistances=[[poison]]
 
|resistances conveyed=[[poison]]
 
|attributes={{attributes|A master mind flayer|fly=1|humanoid=1|seeinvis=1|omnivore=1|hostile=1|nasty=1|greedy=1|jewels=1|collect=1|infravisible=1|traitor=1|notame=1}}
 
  |reference=[https://github.com/Chris-plus-alphanumericgibberish/dNAO/blob/compat-3.21.1/src/monst.c#L889 dNetHack src/monst.c, line 889]
 
}}
 
|-|
 
EvilHack|{{monster
 
|name=master mind flayer
 
|difficulty=19
 
|level=13
 
|experience=403
 
|speed=12
 
|AC=0
 
|MR=90
 
|align=-8
 
|frequency=1
 
|genocidable=Yes
 
|attacks=Weapon 1d10, Tentacles 2d1 [[intelligence]] drain, Tentacles 2d1 [[intelligence]] drain, Tentacles 2d1 [[intelligence]] drain, Tentacles 2d1 [[intelligence]] drain, Tentacles 2d1 [[intelligence]] drain
 
|resistances conveyed=[[Telepathy]] (50%), +1 [[Intelligence]] (50%)
 
|resistances=psychic
 
|attributes={{attributes|A master mind flayer|humanoid=1|fly=1|see_invis=1|omnivore=1|hostile=1|nasty=1|greedy=1|jewels=1|collect=1|infravisible=1|infravision=1|mh_illithid=1}}
 
|size=Medium
 
|nutr=400
 
|weight=1450
 
|reference=[https://github.com/k21971/EvilHack/blob/master/src/monst.c#L633 EvilHack - monst.c, line 633]
 
}}
 
 
</simpletabs>
 
</simpletabs>
  
 
==Encyclopedia entry==
 
==Encyclopedia entry==
 
{{encyclopedia|
 
{{encyclopedia|
This creature has a humanoid body, tentacles around its
+
This creature has a humanoid body, tentacles around its covered mouth, and three long fingers on each hand.  Mind flayers are telepathic, and love to devour intelligent beings, especially humans.  If they hit their victim with a tentacle, the mind flayer will slowly drain it of all intelligence, eventually killing its victim.
covered mouth, and three long fingers on each hand.  Mind
 
flayers are telepathic, and love to devour intelligent beings,
 
especially humans.  If they hit their victim with a tentacle,
 
the mind flayer will slowly drain it of all intelligence,
 
eventually killing its victim.
 
 
}}
 
}}
  
 
==References==
 
==References==
 
<references/>
 
<references/>
{{nethack-366|offset=2}}
+
{{nethack-367|offset=1}}
{{slashem-7E7|offset=1}}
 
 
{{featured}}
 
{{featured}}
 
[[Category:Monsters]]
 
[[Category:Monsters]]

Latest revision as of 15:39, 10 March 2024

A mind flayer, h, is a type of monster that appears in NetHack. Mind flayers are omnivorous humanoids with octopus-like tentacled heads, and possess flight, telepathy, see invisible, and infravision. They will also collect gold, gems and any other items they come across. They share a glyph with the dwarf king.

A mind flayer has a weapon attack and three tentacle attacks that can eat its victim's brains - they are also capable of emitting mind blasts that can lock on to you or other monsters on the same level as them: if a monster is either close enough to them or else possesses telepathy, they take d15 damage, which is affected by the half spell damage property. A tame or peaceful mind flayer will not deal damage to you this way unless they are under conflict.

A character that has their brain eaten by a mind flayer's tentacle attack loses intelligence, has their wisdom abused and can also be subjected to amnesia - losing enough intelligence this way causes an irreversibly fatal instadeath by brainlessness, and cannot be averted with life saving or being polymorphed; if you are in explore mode or wizard mode and choose not to die at the prompt that comes up, your intelligence is boosted to 5.[1] Non-mindless monsters that are hit by a brain-sucking tentacle attack take an additional d10 of damage per attack to simulate brain loss.[2]

Eating a mind flayer corpse or tin can either grant telepathy or raise intelligence by 1 point, with an equal probability of each.[3]

The following information pertains to an upcoming version (NetHack 3.7.0). If this version is now released, please verify that it is still accurate, then update the page to incorporate this information.

Mind flayer tentacle attacks no longer cause amnesia, and their glyph color is changed to bright magenta.

Generation

Randomly-generated mind flayers are always generated hostile. A mind flayer can grow up into a master mind flayer.

In addition to random generation, mind flayers are notorious for potentially generating within the Gnomish Mines outside of Minetown and Mines' End at level creation. These "minesflayers" are the result of the Mines levels using mkclass to specify that a random humanoid monster should be generated at normal level creation - while this is almost always a dwarf, hobbit or bugbear, mkclass can completely ignore the difficulty of the monster it produces and create a mind flayer (or master mind flayer).

The following information pertains to an upcoming version (NetHack 3.7.0). If this version is now released, please verify that it is still accurate, then update the page to incorporate this information.

If a genocided monster with a pre-grown form (that is not explicitly a baby form) is chosen for the summon nasties monster spell, and that pre-grown form is not also genocided, it will appear in place of the genocided monster. This means that mind flayers can be generated via the spell in place of genocided master mind flayers.


Strategy

Though they are the weaker of the two flayers, with 5 base AC and fewer tentacle attacks, mind flayers are still a major threat throughout most of the game due to their intelligence-draining attack, both for the loss of level maps and item identities and the outright instadeath they can cause. This makes mind flayers and their 'master' kin common targets for genocide, as well as stellar pets for those who can procure a tame flayer.

Detection

If you start sensing waves of psychic energy, that is your cue to farlook and check any h you encounter—a somewhat common YASD is to mistake the mind flayer for an easier-to-kill dwarf king, then march in and promptly have your character's brain eaten. If you have telepathy, blinding yourself temporarily (e.g., via blindfold or towel) can be used to quickly confirm if a flayer is present on a level; dwarves also do not generate randomly inside Gehennom, making detection there more trivial.

Mind flayers have an impressive MR score of 90, and will often resist many forms of magic available to a character; scaring them through other means is a similarly difficult task. Polymorphing, e.g. via polymorph trap, can also produce hostile mind flayers much earlier than they can generate normally.

Combat

When fighting mind flayers, avoid melee-range combat if at all possible, especially if you are encumbered and/or have low intelligence - projectiles such as daggers or arrows are among your best resources to consistently deal damage, and in a pinch they may even be worth a charge from a wand of death. Alternately, if your ranged attack options are limited and melee is your only out, consider stoning them or taking other measures to prevent or minimize stat loss (discussed in more detail below).

Mind flayers respect Elbereth, though this will not work in Gehennom, and can also be deterred by standing on a scroll of scare monster. While not as secure as Elbereth due to their 90 MR score, an expensive camera or tooled horn can still frighten off mind flayers. Beware that a fleeing mind flayer may still attack you, although it is much less likely to - additionally, a blinded one will not respect Elbereth. Scaring a mind flayer also does not prevent them from mind blasting you. Cancellation will not affect the mind flayer's brain-sucking attacks even if successful.

Preventing intelligence drain

Wearing any greased helm prevents the mind flayer's tentacles from reaching your brain, but the grease has a 12 chance of wearing off with each attack; a non-greased helm has a 78 chance of preventing each of the mind flayer's tentacle attacks. Mind flayers get multiple attacks per turn, so you should not rely solely on a greased helm, especially if you are unable to kill them quickly. Alternate possibilities include wearing a dunce cap or ring of sustain ability: both items will fix your intelligence stat (either at 6 or its current value) and prevent stat loss, and the dunce cap has a chance of blocking the tentacles as with other helms. A blessed unicorn horn or potion of restore ability can also reverse the stat loss fairly quickly.

Polymorphing into a headless monster will protect you from the intelligence drain attacks, which can mitigate the worst of their threat[4][5] - polymorphing into a normally mindless form will not protect you, since as a comment in the relevant code says, players aren't mindless.[6][7]

Remember that none of these methods will prevent amnesia from a successful brain-sucking, and you are likely to be very forgetful after a fight with a mind flayer —have a means of re-identifying items on hand if possible. As a precaution, you can #name and label one of a particular type of item(s) that you consider vital and/or does not auto-identify itself.

The following information pertains to an upcoming version (NetHack 3.7.0). If this version is now released, please verify that it is still accurate, then update the page to incorporate this information.

In addition to mind flayer attacks no longer causing amnesia, unicorn horns will no longer restore lowered stats.

Genocide

While the amnesia and instadeath from brain-eating are enough to make both forms of mind flayer a popular target for genocide, do not attempt blessed genocide of mind flayers if you are a dwarf! Using a blessed scroll of genocide will remove all h from the current game including dwarves, serving as a particularly aggravating form of YASD for dwarvish characters. Also, be sure to mind your spelling, especially if you are a Monk—misspelling it as "master mindfalyer" will only parse the word "Master", one of the Monk's rank titles, and wipe out you and all other monks.

You should already try to identify the beatitude of possible scrolls of genocide before reading them if at all possible, and this is especially true if you plan to eliminate mind flayers with one—in addition to the above, that randomly read scroll you just found may be cursed, and the summoned horde of mind flayers will often result in a quick death; even if you can scare them away, their psychic blasts may still overwhelm you. One or two "normal" genocides, either from the uncursed scroll or a throne, should be used instead; the master mind flayer should ideally be targeted first, as regular mind flayers cannot be generated via summon nasties unless they randomly replace an extinct/genocided nasty.

The following information pertains to an upcoming version (NetHack 3.7.0). If this version is now released, please verify that it is still accurate, then update the page to incorporate this information.

If master mind flayers are genocided, mind flayers can appear in their place if the summon nasties monster spell is cast.

As pets

While highly desirable as pets, taming a mind flayer is extremely hard and dangerous due to their monster magic resistance; you may be much better off using a polymorph trap on your current pet.

Tame mind flayers can make quick work of shopkeepers and various tough monsters, and their telepathic outreach will only lock onto and damage hostile monsters - the harmless message it otherwise produces can be hidden with MSGTYPE. However, there are a few monsters that in turn pose a serious threat should a mind flayer attempt to eat their brain:

  • Cockatrices, chickatrices and Medusa will turn a mind flayer to stone if a tentacle attack lands.
  • Jellies have passive attacks that can easily rack up enough damage to kill an unlucky mind flayer attacking one.
  • Shapeshifters and green slimes are similarly dangerous: the former may go down quickly, but will polymorph a mind flayer that eats its corpse, while the latter is extremely likely to turn it into another slime.
  • The Riders will instantly kill a mind flayer if one manages to eat their's brain, though the Rider in question still takes the extra "brain loss" damage.[8]

Ochre jellies are a common sight in the late game, especially as a summonable nasty—consider giving your mind flayer any yellow dragon scales (or dragon scale mail) that you happen upon to provide them with valuable acid resistance.

Mind flayers also have a tendency to attract covetous monsters with their psychic blasts: if approaching the goal level of your Quest, the Wizard of Yendor's Tower or one of the many demon lairs of Gehennom, you may want to leave them on another floor temporarily. Alternately, if you intend to draw covetous foes to the stairs this way, be prepared accordingly; in particular, a mind flayer pet or polyform can be used by Rogues on their quest to awaken the Master Assassin, who will then warp to you from his otherwise inaccessible dwelling.

Also, remember that only tame and peaceful mind flayers will generate soothing psychic waves—if you see different messages related to psychic waves, are taking damage from them, and you are not generating conflict, then a hostile mind flayer may be on the level. Be especially careful if your tame mind flayer becomes confused—they will turn those psychic waves on you! This also makes conflict similarly perilous - always equip intelligent humanoid pets with a unicorn horn whenever possible. Additionally, a mind flayer's high monster magic resistance ensures that once they reaches level 15, they will become immune to conflict, and thus no threat to you or your brain matter while you are using conflict.

The following information pertains to an upcoming version (NetHack 3.7.0). If this version is now released, please verify that it is still accurate, then update the page to incorporate this information.

As of commit 2f255560:

The chance of resisting conflict now depends on the player's charisma, the monster's level, and the player's level. Conflict is resisted if rnd(20) > min(19, (ACURR(A_CHA) - mtmp->m_lev + u.ulevel)) - thus, there is always at least a 5% chance of resisting it. Conflict also now requires that the monster see the player, not that the monster be in the player's line of sight. These changes are imported from SporkHack.

Additionally, as of commit 0891ef4e, monsters wearing alchemy smocks now gain acid resistance instead of just poison resistance, allowing for more flexibility in kitting out a tame mind flayer. Mind flayers can also gain intrinsics from eating corpses as well, allowing them to gain cold resistance for dealing with blue jellies.

As of commit 2cad4ece, each individual covetous monster will pick either the upstairs or downstairs to warp to.

As a polymorph form

A mind flayer is a solid monster form for polyself: on top of flight, multiple attacks per turn, 5 base AC and the ability to wear all armor, their brain-eating attack is deadly to nearly anything with a mind.

When eating a monster's brain, you gain d30 nutrition per successful tentacle attack and exercise wisdom, without risk of choking; if your intelligence is below its current maximum (e.g., after your own brain was sucked), it will be increased by d4.[9] The intelligence increase is subject to the normal polymorphed attributes rules, and will be reset when you revert to your normal form.

Naturally, players in mind flayer form face the same dangers as pet mind flayers, including potential death from triggering too many passive attacks. Furthermore, brainsucking a green slime causes delayed sliming, and eating a cockatrice's brain causes both immediate stoning and delayed stoning if the immediate stoning was stopped by an amulet of life saving. Sucking the brains of your race or other mind flayers will count as cannibalism as well, though this does not trigger a penalty for each individual brain-sucking attack[10] - for Monks and vegan or vegetarians players, eating brains will also break those conducts. While you cannot choke directly from eating brains, you can become satiated—you will not receive a warning when oversatiated, and thus run a significant risk of choking from eating anything afterward, which is an instadeath even while polymorphed.

History

The mind flayer first appears in NetHack 3.1.0. From this version to NetHack 3.4.3, including some variants based on them, the game does not recognize the alternate spelling "mindflayer" when selecting a monster for genocide.

Origin

Mind flayers are derived from Dungeons & Dragons, where they appear in all editions, and are also known as illithids; the illithid is considered "Product Identity" by Wizards of the Coast, and as such is not released under its Open Game License. Dungeons & Dragons co-creator Gary Gygax stated that one of his inspirations was the cover painting of the Titus Crow book The Burrowers Beneath by Brian Lumley. The first mention of illithids is found in the first issue of TSR Games' official newsletter The Strategic Review; they were included in the Eldritch Wizardry supplement for the original white box edition of the 1976 Dungeons & Dragons game, where they were depicted as Lawful Evil; they also appear in the first edition's Monster Manual; and the 3rd and 3.5 editions introduce playable illithids.

The illithid is "a super-intelligent, man-shaped creature with four tentacles by its mouth which it uses to strike its prey"; a tentacle that hits penetrates to the brain and draws it forth, allowing the monster to devour it. Its major weapon is the 'mind blast', a short-range wave of "PSI force" which affects each opponent differently based on how intelligent it is, and can induce many ailments from confusion and insanity, up to coma and even death. In-universe, the origins of the illithids are subject to many conflicting stories.

Illithid society is structured around a creature called an "Elder Brain", which lives in a pool of cerebral fluid in the center of a city. Dead illithids have their brain extracted and taken to this pool to have its contents absorbed, which illithids believe a form of immortality; this Brain also functions as a vast library of knowledge that an illithid can call upon with a simple telepathic call. Psionic potential is thus an integral part of the illithid identity, and they typically communicate by projecting thoughts and feelings to each other.

While illithids do have a patron deity known as Ilsensine, few of them actively worship her - both because they believe themselves the most powerful creatures in the universe, and because Ilsensine is more of an "abstract" deity that represents universal knowledge and one’s mastery of their own mind, a state that all illithids seek. Outcast illithids that turn to wizardry are often known to become alhoons.

Messages

<The mind flayer>'s tentacles suck you!
A mind flayer has hit you with its brain-sucking attack.
Your brain is eaten!
You lost intelligence and/or memory of items and floors to the brain-sucking attack.
Your <helm> blocks the attack to your head.
Your worn helmet successfully protected you from its tentacle attack.
You don't seem harmed.
You were protected you from the tentacle attack due to being in the form of a headless monster.
Your last thought fades away.
You died of brainlessness.
<Foo>'s brain is eaten!
A monster was hit by a mind flayer attack, and takes an extra d10 damage.
<Foo> doesn't notice.
As above, but the 'victim' was mindless and takes no extra damage.
<Foo>'s last thought fades away...
A monster was killed by the brain-sucking attack.
Ingesting that is fatal.
You ate the brain of a Rider while in mind flayer form, dying instantly and abusing wisdom if you are revived by an amulet of life saving.[11]
You have a sad thought for a moment, then it passes.
A tame mind flayer was turned to stone from an attempt to eat a monster's brain.

Variants and patches

In the Heck² patch, one of the possible special levels in the "heck-a" list is filled with mind flayers.

In the Lethe patch, the Wizard's Manse map for the fifth floor of the Lethe Gorge has a throne room with three thrones, two of which are occupied by sleeping mind flayers - one mind flayer generates with a wand of lightning and the other generates with a wand of sleep.

SLASH'EM

Mind flayers and their master kin are somewhat different in SLASH'EM - in an unusual reverse of their attack dice from vanilla NetHack, the master mind flayer has three brain-eating attacks, while the normal mind flayer has five. All the more importantly, the ring of free action provides Luck-based protection against their brain-eating attacks, starting at a 12 chance of blocking each individual flay and increasing to a 910 chance at maxed-out Luck.[12] This, in combination with a greased helm, can render them somewhat less of a threat.

While genociding mind flayers is still generally a worthwhile idea, there are more sources of amnesia present such as the potion of amnesia and the migo queen's attacks, so this is not a preventative method against amnesia specifically.

Both mind flayer polyforms are incapable of wearing helmets due to their tentacle placement, but can still wear all other armor. In addition, SLASH'EM makes it so that any additional bite or tentacle attacks that would automatically process and result in death (e.g. by attacking a cockatrice) are simply not used; this does not apply to the weapon attack, so as always be mindful of fighting bare-handed.

In the Lawful Quest, the locked chamber in the middle of the Cloud Bank has a chance of housing mind flayers known as the "Spice Girls": one named Ginger is guaranteed to appear, while two others named Victoria and Emma each have a 45 chance of generating. They may be accompanied by two master mind flayers named Mel B. and Mel C., who each have a 35 chance of being generated. Ginger is generated on top of a fountain and a chest that has a wand of cold with 16 charges; the chest also has a 710 chance of containing an amulet of flying, and a 45 chance of containing a wand of digging, making it a possible boon for sufficiently tough players. If either type of mind flayer is genocided, they will be replaced by random monsters with the same names.

SLASH'EM recognizes the "mindflayer" spelling, so it is okay to genocide "master mindflayer", but a typo like "master mindfalyer" will still wipe out all Monks (including you if you are one).

dNetHack

In dNetHack, mind flayers and their master kin are considered primordials. dNetHack also adds parasitic mind flayers and parasitic master mind flayers as well as alhoons, mind flayers that have turned to lichdom.

The Drow Noble Quest involves infiltrating a colony of mind flayers and retrieving the quest artifact, the Web of the Chosen: there are 16 mind flayers scattered about the goal level at level creation, generally situated around the elder brain guarding the Bell of Opening. The quest artifact's actual owner, A'gone, is locked up in a cell on the edge of the level, with her mind completely gone due to the mind flayers.

Anachrononaut quest

The Anachrononaut quest features mind flayers as somewhat major antagonists: in the "age before ages", they discovered and woshipped an eldritch "nascent thought" known as Ilsensine, and in bringing knowledge of it back to the past set off a chain of events that caused the end of the world. While the mind flayer empires were overthrown and brought low, the gods of Law discovered Ilsensine and were consumed, followed by the other gods of the heavens (hence why Anachrononauts do not worship any and cannot make use of altars). In order to change the future and gain a full-scoring ascension, you must gain access to your Quest from your quest leader before she dies, retrieve the Annulus and obtain the Amulet of Yendor, then reach the lawful high altar on the Astral Plane and invoke the Annulus to purge Ilsensine's influence once and for all before ascending as normal.

Mind flayers are one of the many quest monsters: 17 of the randomly generated monsters are mind flayer-related - of those, 18 are mind flayers, 18 are master mind flayers, and the remaining monsters are either umber hulks or brain golems. Mind flayers are among the various H.P. Lovecraft-inspired r'lyehians that can appear as well, with a 17 chance of a r'lyehian generating: mind flayers make up 116 of randomly-generated r'lyehians. Many mind flayers are also generated scattered around the lower filler level(s) of the Quest at level creation. Genocide does not apply to monsters generated in the Quest branch, meaning that Anachrononauts cannot preemptively remove mind flayers to make their quest easier.

xNetHack

In xNetHack, mind flayers are moved to the aberration monster class represented by {{white|U} - this is done to avert a potential YASD for dwarvish characters using blessed scrolls of genocide, and also solves the problem of minesflayers.

notdNetHack

In notdNetHack, in addition to dNetHack details, the Illithanachronounbinder is a role that is flavored as being a mind flayer of whatever starting race you select, possessing both the traits of that race and those of mind flayers - the role's rank title for experience levels 14-17 is "Mind Flayer".

notdNetHack also adds villithids, vampiric mind flayers that are primarily seen on the Illithanachronounbinder quest.

EvilHack

In EvilHack, mind flayers use h in order to differentiate them more easily for dwarven royals. EvilHack also adds alhoons (which are implemented differently from dNetHack) as well as mind flayer larva, which only generate within mind flayer nurseries. Mind flayer larva live in shallow pools and can only reach adulthood by attaching themselves to a victim's face; if a player is attacked this way, they have only one turn to kill or remove the larva before it burrows itself into the player's brain, killing them instantly and turning them into a mind flayer that can be found in any resulting bones.

Mind flayers are also present as a race of monster within the dungeon, referred to as illithids, and can appear as any of the various racial monsters present within, e.g. shopkeepers and player monsters - they are also a playable race. All forms of illithid have psychic resistance that renders them immune to brain-eating attacks, including those from other mind flayers.

Monster stats by variant

Encyclopedia entry

This creature has a humanoid body, tentacles around its covered mouth, and three long fingers on each hand. Mind flayers are telepathic, and love to devour intelligent beings, especially humans. If they hit their victim with a tentacle, the mind flayer will slowly drain it of all intelligence, eventually killing its victim.

References