Cold
- This article is about the element sometimes known as frost. For other uses of the term, see Frost (disambiguation).
Cold, also referred to as frost, is a damage type that occurs in NetHack, and is capable of freezing targets and vulnerable items.
Cold damage sources
Cold damage can occur from various sources:
- Cold rays from a zapped wand of cold, an applied frost horn, the cone of cold spell at Basic skill or lower, the cone of cold monster spell, or a cold breath weapon
- Cold explosions created by the cone of cold spell cast at Skilled of higher, or by an applied wand of cold
- The cone of cold monster spell cast by a monster at melee range
- The damage inflicted by the artifact Frost Brand
Various monsters also have cold-element attacks, which use the AD_COLD damage type flag:
- The breath weapon used by winter wolf cubs, winter wolves, white dragons, silver dragons, and randomly by the Chromatic Dragon
- The claw attack of an ice troll
- The cone of cold monster spell, used by Asmodeus
- The engulfing attack of an ice vortex
- The explosion attack of a freezing sphere
- The passive attack of a brown mold or blue jelly, which also allows them to divide
- The sting attack of an ice devil
- The touch attack of an ice vortex or lich[1]
Cold damage effects
Cold damage can destroy potions in the open inventory of a hero or monster subjected to it, dealing +d4 damage for each shattered potion.[2][3]
Cold rays and explosions can destroy doors, freeze affected pools and moats of water into ice, and cool and solidify affected squares of lava into normal rock floor[4][5][6][7][8][9]—cold rays that freeze water and lava will have their range reduced.[10] Water on the Plane of Water cannot be turned to ice by any means.[11]
Ice formed from cold rays and explosions is likely to be temporary: any temporary ice created this way will melt back into water after 50-2000 turns, and any temporary ice affected by a cold ray or explosion will have its duration increased.[12][13][14][15][16] Monsters hiding in water or lava that is frozen will be forced out of hiding. Any items that were submerged in a frozen square of water or lava are buried in the resulting ice or solid rock, while Rider corpses, the invocation items and the Amulet of Yendor will be placed on top of that square instead.[17][18][19]
Magic cancellation can block the effects of melee cold attacks that do not engulf, and cancellation disables the frosty effects of those attacks.
Flesh golems subjected to cold damage will become slower.[20]
The following information pertains to an upcoming version (NetHack 3.7.0). If this version is now released, please verify that the information below is still accurate, then update the page to incorporate it.
Per commit eb22a810, item destruction caused by cold damage is dependent on the amount of damage dealt, with the amount of items in open inventory that are affected being equal to 1⁄5 of the cold damage inflicted.Resistance and vulnerability
Cold resistance is a property that protects a hero or monster from cold damage by reducing or nullifying the amount of damage dealt, though it does not necessarily protect their items from destruction by cold damage.
Monsters that have fire resistance but do not have cold resistance are considered to have a vulnerability to cold, taking roughly 57% more damage from cold rays (+1d3 for each 1d6), as well as double damage from frosty explosions[21][22]—this does not apply to a hero, even if they polymorph into a monster vulnerable to cold.
The following information pertains to an upcoming version (NetHack 3.7.0). If this version is now released, please verify that the information below is still accurate, then update the page to incorporate it.
Per commit b98a70e3, dwarvish cloaks protect items in open inventory from cold damage 9⁄10 of the time.
Per commit 9942b65d, extrinsic cold resistance protects items in open inventory from freezing and shattering 99⁄100 of the time, with a separate roll for each item that would be destroyed.Strategy
A hero can prevent cold damage from destroying their potions by stashing them in a bag or other container, and cold rays and breath weapons can be deflected by any source of reflection.
While cold resistance is not as immediate a concern for a hero as various other properties like reflection or even poison resistance, it is still very useful to have since cold-based hostiles can appear early in the game, and winter wolves and their cubs can make short work of an unfortunate hero. Asmoedus in particular is a massive cold resistance check with his cone of cold spell: without the property, a hero can take nearly 200 points of cold damage, enough to wipe out otherwise-prepared characters in two or three castings.
History
Cold as a damage type is present in Hack 1.21 and Hack for PDP-11, which are based on Jay Fenlason's Hack, and is also present in Hack 1.0.
In NetHack 3.4.3 and previous versions, including some variants based on those versions, ice created by cold rays and explosions lasts indefinitely.
Messages
- The water freezes.
- A pool of water was frozen by a cold ray or explosion.
- The moat is bridged with ice!
- A moat of water was frozen by a cold ray or explosion.
- You hear a crackling sound.
- As above, while outside of your sight.
- The door freezes and shatters!
- A door was destroyed by cold.
- You feel cold.
- As above, while outside of your sight.
- The <bolt of cold/blast of frost> hits you!
- You were hit by a cold ray.
- You don't feel cold.
- You were hit by a ray of cold, but have cold resistance.
- The <bolt of cold/blast of frost> whizzes by you!
- A cold ray missed you while passing through your square.
- You imitate a popsicle!
- You zapped yourself with a ray of cold.
- You feel a little chill.
- As above, while cold resistant.
- Your <potion> freezes and shatters!
- A potion in your open inventory was frozen by cold damage.
- <One/Some/All> of your <potions> freeze(s) and shatter(s)!
- A stack of potions in your open inventory was partly or completely frozen by cold damage.
- You're covered in frost!
- You were hit by a cold melee attack.
- The frost doesn't seem cold!
- As above, but you have cold resistance.
- You are freezing to death!
- You were engulfed by an ice vortex.
- You are suddenly very cold!
- You were hit by a passive cold attack.
- You feel mildly chilly.
- You were engulfed by an ice vortex or hit by a cold passive attack while you have cold resistance.
- The water freezes for a moment.
- A cold ray or explosion affected water squares on the Plane of Water.
- You hear a soft crackling.
- As above, while outside of your sight.
Variants
Variants of NetHack that add object property systems include cold as a potential object property for weapons and sometimes armor.
SLASH'EM
SLASH'EM adds the Ice Mage, a role that specializes in mastery of cold, and includes more sources of cold damage:
- The artifact Deep Freeze deals cold damage on each hit against monsters without cold resistance.
- More monsters have attacks that inflict cold damage, such as steel golems, snow ants and mist wolves.
GruntHack
In GruntHack, "frost" is one of many object properties available for weapons.
UnNetHack
UnNetHack adds the cold trap, which is primarily found in Sheol, and deals cold damage in a manner similar to a fire trap.
dNetHack
In dNetHack, notdNetHack, notnotdNetHack, the freezing, frosted and crystalline object properties grant cold damage to weapons and certain types of armor.
Randomized gaze attacks often include cold as one of the possible damage types.
The eldritch style knightly stance can be used to add cold damage to wielded weapons via the cone of cold spell, at the cost of some power.
Some artifacts deal cold damage:
- Cold Soul is a lawful intelligent artifact whose base item is a large ranseur with a 1⁄4 chance of causing cold explosions centered on a target monster upon each hit.
- The Bow of Skadi is a lawful artifact whose base item is a bow with +1 to-hit and +1d24 cold damage bonuses to arrows fired from it, and the arrows cause a 6d6 freezing explosion centered on any target they hit. using up the arrow.
DynaHack
In DynaHack, "frost" is one of many object properties available for weapons.
FIQHack
In FIQHack, "frost" is one of many object properties available for weapons.
EvilHack
In EvilHack, the "frost" object property grants cold damage to weapons with the property, while armor with the "frost" object property grants cold resistance.
The Hand of Vecna and Dichotomy are artifacts that can inflict cold damage.
Worn dragon-scaled armor made using white dragon scales grants the wearer a passive cold attack.
Some monsters are vulnerable to cold damage, and the vulnerability can also be inflicted with the vulnerability monster spell by clerical casters.
A hero in the Ice Queen's Realm that does not have full cold resistance will take partial cold damage each turn.
Hack'EM
In Hack'EM, the "frost" object property behaves as in EvilHack, as does the vulnerability monster spell.
References
- ↑ src/mhitu.c in NetHack 3.6.7, line 319: engulfing attacks have a grace period after release where a target cannot be immediately re-engulfed; engulf attacks that hit during this period become touch attacks
- ↑ src/zap.c in NetHack 3.6.7, line 4827
- ↑ src/zap.c in NetHack 3.6.7, line 5068
- ↑ src/zap.c in NetHack 3.6.7, line 4482
- ↑ src/zap.c in NetHack 3.6.7, line 4493
- ↑ src/zap.c in NetHack 3.6.7, line 4498
- ↑ src/zap.c in NetHack 3.6.7, line 4501
- ↑ src/zap.c in NetHack 3.6.7, line 4508
- ↑ src/zap.c in NetHack 3.6.7, line 4634
- ↑ src/zap.c in NetHack 3.6.7, line 4497
- ↑ src/zap.c in NetHack 3.6.7, line 4486
- ↑ src/zap.c in NetHack 3.6.7, line 4363
- ↑ src/zap.c in NetHack 3.6.7, line 4370
- ↑ src/zap.c in NetHack 3.6.7, line 4401
- ↑ src/zap.c in NetHack 3.6.7, line 4544
- ↑ src/zap.c in NetHack 3.6.7, line 4550
- ↑ src/zap.c in NetHack 3.6.7, line 4507: calls bury_objs() in dig.c, which then calls bury_an_obj() within the same file
- ↑ src/dig.c in NetHack 3.6.7, line 1823: bury_an_obj() function
- ↑ src/dig.c in NetHack 3.6.7, line 1842: per the explanation provided for the line below, Rider corpses and un-stashable objects will not be buried
- ↑ src/mon.c in NetHack 3.6.7, line 4041
- ↑ src/explode.c in NetHack 3.6.7, line 442: double damage from cold explosions
- ↑ src/zap.c in NetHack 3.6.7, line 3649: extra damage from cold rays