Difference between revisions of "Dragon"

From NetHackWiki
Jump to navigation Jump to search
(Expanding on general strategy, rearranging History so that it comes before variants section)
Line 73: Line 73:
 
All dragons are carnivorous monsters that are thick-skinned, capable of [[flight]], and are eligible [[steed]]s. They are generally slower than an unburdened, unhasted [[hero]]. Dragons generated randomly and at level creation will always be hostile, and both forms are eligible polyforms.
 
All dragons are carnivorous monsters that are thick-skinned, capable of [[flight]], and are eligible [[steed]]s. They are generally slower than an unburdened, unhasted [[hero]]. Dragons generated randomly and at level creation will always be hostile, and both forms are eligible polyforms.
  
Dragons are [[intelligent]] and [[gold lover|can pick up gold]] and gems, but lack hands and thus cannot use any items they come across or happen to be carrying somehow (e.g., after transformation via [[polymorph trap]]).
+
Dragons are [[intelligent]] and [[gold lover|can pick up gold]] and gems, but lack hands (the default tiles depict them as quadrupedal), and thus cannot use any items they come across or happen to be carrying somehow e.g., after transformation via [[polymorph trap]].
  
 
===Adult dragons===
 
===Adult dragons===
Line 85: Line 85:
  
 
===Generation===
 
===Generation===
Baby dragons, like all baby monsters, are only randomly generated on levels that are eligible for baby monsters, i.e., the neutral-biased [[Oracle]] and [[Sokoban]] levels; they can also be created by hatching dragon [[egg]]s. Adult dragons are not generated by normal random [[monster creation]] until the player reaches rather deep dungeon levels; the special levels they appear in are often at similar depths. Adult dragons are also considered [[throne room]] monsters, and can appear when such rooms are created or a [[throne]] is [[loot]]ed as early as dungeon level 15.{{reffunc|mkroom.c|courtmon}} Adult dragons are all eligible for creation via the [[summon nasties]] spell.
+
Baby dragons, like all baby monsters, are only randomly generated on levels that are eligible for baby monsters, i.e., the neutral-biased [[Oracle]] and [[Sokoban]] levels; they can also be created by hatching dragon [[egg]]s. Adult dragons are first eligible to be generated through normal random [[monster creation]] rooms containing them around the midway depths of the dungeon. Adult dragons are also considered [[throne room]] monsters, and can appear when a [[throne]] is [[loot]]ed; they can also be created in throne rooms as early as dungeon level 15.{{reffunc|mkroom.c|courtmon}} Adult dragons are all eligible for creation via the [[summon nasties]] spell.
  
 
Four adult dragons are generated around the [[moat]] of [[Fort Ludios]] upon its creation, with one random dragon placed at each cardinal direction.
 
Four adult dragons are generated around the [[moat]] of [[Fort Ludios]] upon its creation, with one random dragon placed at each cardinal direction.
Line 242: Line 242:
  
 
==Variants==
 
==Variants==
 +
Variants of ''NetHack'' often subject dragons to extensive changes, as well as adding new monsters to the class. The deferred shimmering dragon is one such frequent addition.
 +
 
===UnNetHack===
 
===UnNetHack===
 
Dragons have been substantially modified in [[UnNetHack]]. All dragons have been given new names and have their breaths, resistances, and colors randomized, with the exception of [[chromatic dragons]], which possess all resistances (except for [[magic resistance]]) and all breaths. As a result, it is impossible to predict breath type based on name or color.
 
Dragons have been substantially modified in [[UnNetHack]]. All dragons have been given new names and have their breaths, resistances, and colors randomized, with the exception of [[chromatic dragons]], which possess all resistances (except for [[magic resistance]]) and all breaths. As a result, it is impossible to predict breath type based on name or color.

Revision as of 17:55, 4 May 2021

The dragon, represented by the overall glyph D, is a class of very powerful mid-game monster in NetHack. Dragons are coveted for the dragon scales they sometimes drop,

Members of the dragon monster class include:

Deferred monsters in the dragon class are:

Common characteristics

All dragons are carnivorous monsters that are thick-skinned, capable of flight, and are eligible steeds. They are generally slower than an unburdened, unhasted hero. Dragons generated randomly and at level creation will always be hostile, and both forms are eligible polyforms.

Dragons are intelligent and can pick up gold and gems, but lack hands (the default tiles depict them as quadrupedal), and thus cannot use any items they come across or happen to be carrying somehow e.g., after transformation via polymorph trap.

Adult dragons

All adult dragons are either lawful or chaotic, with an AC of -1 and an MR of 20. They are strong, gigantic, oviparous, can see invisible, and have the M2_NASTY flag; an associated bit of code in trap.c allows them to instantly tear through webs where their baby forms cannot.[1] All adult dragons possess a breath weapon of an element corresponding to their color. In addition to gold and gems, dragons will pick up magical items such as wands and scrolls, but the aforementioned lack of hands and their inability to speak prevents them from using any of their spoils.

Baby dragons

All baby dragons are of neutral alignment, with an AC of 2 and an MR of 10. They are strong and huge, but lack the adult dragon's ability to use breath weapons, tear through webs, and see invisible. Baby dragons can grow up into their adult forms, which causes their scales to grow in (hence the AC difference of 3 between their forms).

Death drops

Dragons will always leave a corpse if killed in a way that leaves it intact, and adults have a 1 in 3 chance of also dropping a set of their uncursed +0 scales (1 in 20 if the dragon was revived); baby dragons do not drop scales, nor do their corpses grant intrinsics. Adult dragon corpses that grant intrinsics are guaranteed to do so.

Generation

Baby dragons, like all baby monsters, are only randomly generated on levels that are eligible for baby monsters, i.e., the neutral-biased Oracle and Sokoban levels; they can also be created by hatching dragon eggs. Adult dragons are first eligible to be generated through normal random monster creation rooms containing them around the midway depths of the dungeon. Adult dragons are also considered throne room monsters, and can appear when a throne is looted; they can also be created in throne rooms as early as dungeon level 15.[2] Adult dragons are all eligible for creation via the summon nasties spell.

Four adult dragons are generated around the moat of Fort Ludios upon its creation, with one random dragon placed at each cardinal direction.

Many adult dragons appear on the Healer quest - five random dragons are generated upon creation for the home, locate and goal levels, and four random dragons are generated in the filler levels between these.

Four adult dragons are guaranteed to appear in the Castle, with two random dragons occupying each of the alcoves between the storerooms.

Quest nemeses

Two dragons serve as quest nemeses in the game: the D Chromatic Dragon, the Caveman quest nemesis, and D Ixoth, the Knight quest nemesis. Neither of them leave behind any scales upon death.

Ixoth is a powerful red dragon and thus possesses the standard fire breath alongside many other abilities - eating him conveys fire resistance.

The Chromatic Dragon is a special kind of dragon - she possesses the breath weapon of every single dragon in the game, and eating her corpse conveys a random resistance from the ones availble via adult dragon meat. Her corpse is poisonous to eat, however.

Elemental affinities

Each adult dragon has a specific element-and-resistance set of characteristic associated with it, including a breath attack. Eating a given dragon's corpse can give you the associated intrinsics if possible, while the scales (and any mail made from them) will grant the extrinsic characteristic.

Dragon Breath (4d6 unless otherwise noted) Intrinsics/scales Corpse conveys...
Black disintegration disintegration resistance same (100%)
Blue lightning shock resistance same (100%)
Gray magic missile magic resistance nothing (magic resistance cannot be gained intrinsically)
Green poison poison resistance same (100%)
Orange sleep, 4d25 turns sleep resistance same (100%)
Red fire 6d6 fire resistance same (100%)
Silver cold reflection and cold resistance; only reflection is provided by scales nothing (reflection cannot be gained intrinsically)
White cold cold resistance same (100%)
Yellow acid acid resistance and petrification resistance; only acid resistance is provided by scales nothing (neither resistance can be gained intrinsically)

Black dragon

A black dragon is the only source of disintegration resistance in the game; this might make acquiring disintegration resistance tricky were it not for that reflection is already a reliable defense against the black dragon's disintegration blasts. (The only other disintegration cause is a wide-angle disintegration beam from an angry god, which can be survived only by being resistant, or avoided by being sensible regarding religion.)

Disintegration resistance will protect both you and your armor. If a dragon's blast of disintegration hits you (or a monster), and you (or it) are neither resistant nor reflecting, it will destroy:[3][4]

  1. a shield if worn, otherwise:
  2. body armor if worn (plus any cloak), otherwise:
  3. an amulet of life saving if worn;[5] otherwise:
  4. you (or the monster victim), as the case may be.

The rebound can still kill you (or a monster) if your gear saved you from the direct hit.

Gray dragon

A gray dragon (or baby gray dragon) is often the eventual result of repeatedly displacing your pet onto a polymorph trap - as it has intrinsic magic resistance, the trap will not polymorph it further. However, it can still polymorph if it eats a chameleon or doppelganger corpse.

Red dragon

With the exception of Ixoth, there is a guaranteed red dragon in each game, appearing on the Plane of Fire.

Yellow dragon

The fourth variant of Medusa's Island has a yellow dragon generated asleep behind Medusa's dwelling; she nests on 1-3 baby yellow dragon eggs, and there may be up to two live babies sleeping next to her.

Deferred dragons

The shimmering dragon, whose scales grant displacement, appears in the code along with its baby form, but is commented out by default - monster displacement has not yet been implemented in vanilla NetHack. However, variants make used of them, such as SLASH'EM.

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

Displacer beasts have been successfully added to the latest in-development version, indicating that monster displacement is now possible.

Strategy

While baby dragons may not be especially difficult due to their sole bite attack, adult dragons are fearsome foes - the value of their scales and the frequency at which they start appearing from the midgame on make them threats that every player must eventually prepare for.

Combat

Dragons will use their breath weapons only at range (i.e., more than one square from the character) - players that get within melee distance can avoid the breath attacks, but will have to contend with their powerful bite and subsequent claw attacks. Characters without magic cancellation, magic resistance, or reflection to avoid or negate the breath's rays may prefer this option, and good AC is almost a must in any case.

Dragons are considered kebabable, granting a +2 to-hit bonus when attacking them with weapons that uses the spear or javelin skills. In addition, Dragonbane deals double damage to all dragons, and the reflection it grants when wielded is perfect for dealing with their breath attacks. Those looking to make dragon scale mail may opt to use a cursed scroll of genocide to generate dragons of their desired color to kill, which is best done in conjunction with an engraved Elbereth or scroll of scare monster; it may be wisest to attempt this in a smaller room to reduce the chances of breath attacks occuring, and Dragonbane is especially useful to this particular end.

As pets

Dragons are excellent pets in the early game if you ever get one. The easiest way to get a dragon pet is through a dragon egg; the egg may be obtained by polymorphing into any of the dragons and then sitting if your character is female. If you repeatedly displace your pet onto a polymorph trap you will often end up with a gray dragon, since they are magic-resistant and will not polymorph further.

The most recommendable colors for adult dragons are silver and gray, as both are immune to death rays; silver dragons are also immune to disintegration breath, while gray ones are immune to polymorph traps. Yellow is a good option too, due to stoning resistance.

Pet dragons can be used as steeds with the advantages of flight, fighting strength, and carnivorousness, which makes them easy to feed. However, their lack of speed ensures they will spend most of their time either catching up with you or eating corpses; even after making them fast (e.g., by zapping a wand of speed monster at them), their movement speed still pales in comparison to many other available steeds, though the flight and breath weapon may still make them a worthwhile choice. Players making use of dragon pets or steeds may want to carry a magic whistle.

Intrinsics and food sources

Dragon corpses are very high-nutrition and filling, and eating after being satiated abuses your wisdom if you are lawful. Using a tinning kit is preferred if you plan to chew through several servings of dragon in a short time. Most dragons are also among the relatively few monsters in NetHack that are guaranteed to confer an intrinsic, so they are also worth tinning as backup sources of those intrinsics in case they are lost (e.g., to a gremlin attack at night).

Baby dragons

Baby dragons generally possess the resistances of their adult forms. However, baby silver dragons do not possess reflection, which is provided by the adult's scales.[6] They grant no intrinsics when eaten, they do not drop scales, and they do not have breath attacks.

However, one can still use tame baby dragons to obtain scales and/or resistances. Pet baby dragons will eventually grow up into their adult forms, which can then be killed (possibly via conflict or by rendering them non-tame through abuse) for their scales and intrinsics.

Obtaining pet baby dragons can be accomplished via controlled polymorph for a female character fairly easily: all dragons are oviparous, and baby dragons coming from laid eggs will be tame. A male character can use an amulet of change to swap genders, or he can repeatedly polymorph into a dragon using the spell or the ring until he changes sex.[7]

History

Hack 1.0 has the standard dragon, which does not have an explicit color. This early dragon breathes fire and its corpse confers fire resistance, making it equivalent to the modern red dragon. A dragon corpse is the only way to get intrinsic fire resistance in Hack, so it was quite likely that the player wouldn't have acquired it yet by the time they would see dragons. This, combined with the ability to use their breath attack in melee on top of their normal melee attacks, made them significantly more dangerous; furthermore, reflection would not be introduced until much later. Such would remain true for the earlier versions of NetHack.

NetHack 2.3e introduces all of the modern dragon types except for silver. The corpse is still referred to as a "dead dragon" regardless of type, and eating it always confers fire resistance. Black dragon breath causes instadeath, and there is no reflection, disintegration resistance, or amulet of life saving, making genocide tempting - but fire resistance is necessary to traverse Hell, and there is no method of genociding only black dragons.

NetHack 3.0.0 introduces baby dragons, distinguishes the dragons and their corpses by type, and also introduces dragon scale mail; in this series, dragon scale mail is obtained by polymorphing a dragon corpse. Reflection is introduced in this version, and black dragon breath is toned down a bit. The changes to how dragons are distinguished also makes it possible to genocide only black dragons.

NetHack 3.1.0 introduces dragon scales and the modern method of obtaining dragon scale mail. This version also adds the Quests, and with them the Chromatic Dragon and Ixoth. Hell is replaced by Gehennom in this version, and fire resistance is no longer necessary to enter (though it is still recommended)

NetHack 3.3.0 adds the silver dragon along with its corresponding baby form and scales.

Variants

Variants of NetHack often subject dragons to extensive changes, as well as adding new monsters to the class. The deferred shimmering dragon is one such frequent addition.

UnNetHack

Dragons have been substantially modified in UnNetHack. All dragons have been given new names and have their breaths, resistances, and colors randomized, with the exception of chromatic dragons, which possess all resistances (except for magic resistance) and all breaths. As a result, it is impossible to predict breath type based on name or color.

This randomization happens at the start of the game, but all dragons of the same name or color within a game are of the same type - identify one, and you identify all of that type; dragons are auto-identified upon witnessing their breath attack. In addition, a new type of breath attack has been added - a lava breath that does heavy fire damage and melts walls instead of bouncing.

Glowing dragon scales and scale mail function as an infinite light source, in addition to providing the resistance that glowing dragons possess in that individual game. Chromatic dragon scales and scale mail provide all resistances (including reflection) except magic resistance.

The following are the names given to random dragons in UnNetHack:

  • leviathan
  • tatzelworm
  • lindworm
  • guivre
  • sarkany
  • amphitere
  • wyvern
  • draken
  • sirrush
  • glowing dragon

SLASH'EM

Main article: Dragon (SLASH'EM)

SLASH'EM adds two new dragons, the formerly deferred shimmering dragon D and the deep dragon D, whose scales give displacement and drain resistance, respectively. The hydra and wyvern also use the D glyph.

FIQHack

FIQHack dragons are significantly faster (speed 20 instead of 9), and their claw attacks are 1d8 instead of 1d4. In addition, they have special AI that allows them to use their breath weapon in melee range, and they will try to move more intelligently in general: they will keep you in their line of fire when possible, or move out of that line when they can't use their breath, and will flee to preserve survival.

FIQHack also includes the deferred shimmering dragons from vanilla, which have innate displacement and stunning breath, and whose scales confer displacement when worn.

Dragon breaths operate as skilled ray-type wands: there is a chance per breath attack that it will bypass reflection. Disintegration breath never does this.

SpliceHack

Main article: Dragon (SpliceHack)

SpliceHack added not only the shimmering dragon, but a number of other dragons, including more-potent elder dragons. SpliceHack dragons also have better capabilities in some other regards.

Encyclopedia entry

In the West the dragon was the natural enemy of man. Although
preferring to live in bleak and desolate regions, whenever it
was seen among men it left in its wake a trail of destruction
and disease. Yet any attempt to slay this beast was a perilous
undertaking. For the dragon's assailant had to contend
not only with clouds of sulphurous fumes pouring from its fire
breathing nostrils, but also with the thrashings of its tail,
the most deadly part of its serpent-like body.

[ Mythical Beasts by Deirdre Headon (The Leprechaun Library) ]


"One whom the dragons will speak with," he said, "that is a
dragonlord, or at least that is the center of the matter. It's
not a trick of mastering the dragons, as most people think.
Dragons have no masters. The question is always the same, with
a dragon: will he talk to you or will he eat you? If you can
count upon his doing the former, and not doing the latter, why
then you're a dragonlord."

[ The Tombs of Atuan, by Ursula K. Le Guin ]

References

  1. trap.c in NetHack 3.4.3, line 2039: extra_nasty() discerns adult dragons from baby dragons to let them tear through webs
  2. courtmon in mkroom.c
  3. zap.c in NetHack 3.6.1, line 3686
  4. zap.c in NetHack 3.6.1, line 3542
  5. Corner case: an amulet of life saving is never destroyed by the blast, but it does not die instead of an undead or non-living monster. This case can only arise if a living monster wearing an amulet has been polymorphed.
  6. muse.c in NetHack 3.6.1, line 2141
  7. polyself.c in NetHack 3.4.3, line 488