Difference between revisions of "Scroll of enchant armor"

From NetHackWiki
Jump to navigation Jump to search
m (Effects: minor c/e)
m (Strategy: changed error referencing "weapon" instead of "armor")
 
(31 intermediate revisions by 12 users not shown)
Line 1: Line 1:
 
{{scroll|name=enchant armor|cost=80|ink=8-15}}
 
{{scroll|name=enchant armor|cost=80|ink=8-15}}
  
The '''scroll of enchant armor''' allows you to raise the enchantment on [[armor]] which you are wearing. The scroll chooses at random which armor receives the enhancement. If body armor is chosen, only the outermost worn layer of [[cloak]] / [[body armor]] / [[shirt]] is eligible.<ref>{{function|do_wear.c|some_armor|version=NetHack 3.6.0}}</ref> Thus, before reading the scroll, most players normally remove all of their armor except for the piece that they want to enchant.
+
The '''scroll of enchant armor''' is a [[scroll]] that alters the [[enchantment]] on [[armor]] worn by the reader. The scroll chooses at random which piece of armor will be affected. If any armor is worn on the torso, only the outermost worn layer of [[cloak]], [[body armor]], or [[shirt]] is eligible.<ref>{{function|do_wear.c|some_armor|version=NetHack 3.6.0}}</ref>
 
 
==Common usage==
 
An [[uncursed]] scroll normally raises enchantment by 1 (for example, changing a +0 iron helm into a +1 iron helm), while a [[blessed]] scroll can sometimes raise enchantment by 2 or 3. For example, a blessed scroll might raise a +0 iron helm to +1, +2, or +3, and it might raise a +3 iron helm to +4 or +5. {{refsrc|read.c|1053|version=NetHack 3.6.0}}
 
 
 
However there is a risk of vaporising your armor when enchanting it. Armor currently at +3 or below is safe to enchant; but if you try to enchant armor currently at +4 or more, the chance of vaporising the armor increases. See below for the tables.
 
 
 
In practice, this means that players with enough scrolls of enchant armor will enchant up to +4 (or +5 if a blessed scroll skips +4).
 
 
 
Elven armor (and for [[Wizard|Wizards]], the [[cornuthaum]]) is an exception; it is safe to enchant even when it is currently at +5 (but not any higher).
 
 
 
Reading a noncursed scroll while [[confusion|confused]] will repair [[erosion]] on one piece of armor, and make the armor [[erodeproof]].{{refsrc|read.c|998|version=NetHack 3.6.0}} As this does not increase the enchantment of the armor, this does not risk vaporization. Reading a cursed scroll when confused will not heal your armor, and will remove erodeproofing if present. Reading a cursed [[scroll of destroy armor]] while confused will erodeproof but not repair your armor.
 
 
 
A [[cursed]] scroll of enchant armor will actually harm your armor (decrease its enhancement bonus). This is useful if you just have to have that +5 armor but don't want to risk vaporization. However, it's usually better to reduce armor enchantment using the spell of [[drain life (spell)|drain life]], since the spell doesn't require using up a scroll.
 
 
 
A scroll of enchant armor may also change the [[BUC status]] of your armor. A cursed or blessed scroll will cause the armor it affects to become cursed or blessed respectively. An uncursed scroll will uncurse cursed armor.
 
  
 
==Effects==
 
==Effects==
Line 22: Line 7:
 
All of the possible effects of reading the scroll under different circumstances are documented in the following sections. If the armor's [[enchantment]] is altered as a result of any of the effects listed below, then you have identified the scroll.
 
All of the possible effects of reading the scroll under different circumstances are documented in the following sections. If the armor's [[enchantment]] is altered as a result of any of the effects listed below, then you have identified the scroll.
  
===Not wearing armor===
+
===Uncursed===
[[Exercise|Exercises]] (abuses if [[cursed]]) [[strength]] and [[constitution]].
+
One worn piece of armor is randomly selected, enchanted by +1, and, if it is [[cursed]], made [[uncursed]]:
 +
* ''"Your <armor> glows silver for a moment."'' (unblind)
 +
* ''"Your <armor> vibrates for a moment."'' (blind)
  
* ''"You have a strange feeling for a moment, then it passes."'' ([[beginner]] not [[hallucinating]])
+
For armor that is already silver-colored, including [[silver dragon scale mail]] and the [[shield of reflection]], the word "silver" is omitted.
* ''"You have a normal feeling for a moment, then it passes."'' (beginner hallucinating)
 
* ''"Your skin glows then fades."'' (unblind)
 
* ''"Your skin feels warm for a moment."'' ([[blind]])
 
  
===Blessed===
+
In [[NetHack 3.6.0]], due to a bug, cursed armor will not be made uncursed by this scroll. The bug was fixed in [[3.6.1]].
One piece of current worn armor is selected and [[blessed]].
 
  
If the [[enchantment]] of the armor is already above +3 (+5 for [[Elf (starting race)#Elven_items|elven armor]] or a [[Cornuthaum|wizard's cornuthaum]]), there is a 1 in ''(current enchantment)'' chance that it WON'T be vaporized. This means if the armor is already +6, there is a 1 in 6 chance it will survive. If it is vaporized:
 
  
* ''"Your &lt;armor&gt; violently glows silver for a while, then evaporates."'' (no "silver" if [[shield of reflection]] or [[silver dragon scales]] or [[Silver dragon scale mail|scale mail]])
+
If the armor is a [[dragon scales|set of dragon scales]], it will become a [[dragon scale mail]] of the same color:
 +
* ''"Your set of <color> dragon scales merges and hardens!"''
 +
The level of enchantment will remain unchanged.
  
Armor enchanted to or above +9 has only a 1 in ''(current enchantment)'' chance of being further enchanted, assuming it survives the evaporation risk.
+
===Blessed===
 +
One piece of currently worn armor is randomly selected, enchanted and [[blessed]].
  
[[Dragon scales]] become dragon [[Dragon scale mail#Making_dragon_scale_mail_from_scales|scale mail]], gain one enchantment, and are blessed.
+
[[Dragon scales]] become dragon [[Dragon scale mail#Making_dragon_scale_mail_from_scales|scale mail]] of the same color, and their enchantment increases by 1.
  
* ''"Your &lt;scales&gt; merges and hardens!"''
+
Other armor has a chance of gaining multiple degrees of enchantment:
 
 
Other armor can gain several enchantments:
 
 
{|class="prettytable"
 
{|class="prettytable"
 
!Current enchantment  
 
!Current enchantment  
| -3 to -1
+
| &minus;3 to &minus;1
|0 to +2
+
| 0 to +2
 
| +3 to +5
 
| +3 to +5
 
| +6 to +8
 
| +6 to +8
Line 60: Line 43:
 
|}
 
|}
  
The enchantment gain is determined as follows.  If the current enchantment is +9 or higher, there is a 1 in (current enchantment) chance of gaining one additional enchantment (this is the same with an uncursed scroll).{{refsrc|read.c|1054|version=NetHack 3.6.0}}  If the current enchantment is below +9, the random number [[Rnd|rnd]](3 - (current enchantment) / 3) is rolled for the enchantment gain.{{refsrc|read.c|1055|version=NetHack 3.6.0|comment=To be precise, when the current enchantment is negative, the integer division by 3 could result in platform-dependent behavior: the integer expression -1 / 3 may be rounded to -1 or 0.  The former case makes it possible to gain 4 enchantments from a blessed scroll on that platform.  However, gcc and C99-compliant compilers always treat the result of integer division as an arithmetic quotient (that is, the quotient is truncated or "rounded towards zero").  In that case, only a -3 piece of armor is eligible for a 25% chance of gaining 4 enchantments from a blessed scroll, while a -2 to +2 piece gains 1 to 3 points.}}  This means a +3 piece of armor has a 50% chance of being enchanted to +5 by a blessed scroll.
+
The enchantment gain is determined as follows:
  
* ''"Your &lt;armor&gt; glows silver for a moment."'' (+1)
+
If the current enchantment is +9 or higher, there is a 1 in (current enchantment) chance of gaining one additional point of enchantment, as with an uncursed scroll.{{refsrc|read.c|1054|version=NetHack 3.6.0}}
* ''"Your &lt;armor&gt; glows silver for a while."'' (more than +1)
 
* ''"Your &lt;armor&gt; violently glows silver for a moment."'' (+0) (no "silver" if shield of reflection or silver dragon scales or scale mail)
 
NOTE: If you were blind, then "glows silver" is replaced by "vibrates".
 
The
 
  
If the armor is enchanted beyond the safe limit, it may vibrate:
+
If the current enchantment is below +9, the armor gains 1 point of enchantment, plus a random number from 0 to 3&nbsp;&minus;&nbsp;{{sfrac|current enchantment|3}}.{{refsrc|read.c|1055|version=NetHack 3.6.0|comment=To be precise, when the current enchantment is negative, the integer division by 3 could result in platform-dependent behavior: the integer expression &minus;1 / 3 may be rounded to &minus;1 or 0. The former case makes it possible to gain 4 enchantments from a blessed scroll on that platform. However, gcc and C99-compliant compilers always treat the result of integer division as an arithmetic quotient (that is, the quotient is truncated or "rounded towards zero"). In that case, only a &minus;3 piece of armor is eligible for a 25% chance of gaining 4 enchantments from a blessed scroll, while a &minus;2 to +2 piece gains 1 to 3 points.}} This means a +3 piece of armor has a 50% chance of being enchanted to +5 by a blessed scroll.
* ''"Your &lt;armor&gt; suddenly vibrates unexpectedly."'' (unblind)
 
* ''"Your &lt;armor&gt; suddenly vibrates again."'' (blind)
 
  
===Uncursed===
+
If the enchantment on the armor increased by more than one point, the message printed is modified:
One worn item of armor is randomly selected, and if [[cursed]] is uncursed.
+
* ''"Your &lt;armor&gt; glows silver for a while."'' (unblind)
 +
* ''"Your &lt;armor&gt; vibrates for a while."'' (blind)
  
As with blessed above, if the [[enchantment]] of the armor is already above +3 (+5 for [[Elf (starting race)#Elven_items|elven armor]] or a [[Cornuthaum|wizard's cornuthaum]]), there is a 1 in ''(current enchantment)'' chance that it WON'T be vaporized. This means if the armor is current +6, there is a 1 in 6 chance it will survive. If it is vaporized:
+
The scroll otherwise behaves exactly as an uncursed scroll.
  
* ''"Your <armor> violently glows silver for a while, then evaporates."'' (no "silver" if [[shield of reflection]] or [[silver dragon scales]] or [[Silver dragon scale mail|scale mail]])
+
===Cursed===
 +
One worn item of armor is randomly selected, [[cursed]], and loses one point of enchantment:
 +
* ''"Your <armor> glows black for a moment."'' (unblind)
 +
* ''"Your <armor> vibrates for a moment."'' (blind)
  
[[Dragon scales]] become the same colour of [[dragon scale mail]].
+
==Vaporization==
 +
If the enchantment of the armor is already above +3, the armor may be destroyed when a non-cursed scroll is read:
 +
* ''"Your <armor> violently glows silver for a while, then evaporates."'' (unblind)
 +
* ''"Your <armor> violently vibrates for a while, then evaporates."'' (blind)
 +
The probability that the armor will survive is equal to 1 divided by the current enchantment.
  
* ''"Your <scales> merges and hardens!"''
+
The armor may be safely enchanted with a current enchantment of +5 or lower if:
 +
* it is [[Elf (starting race)#Elven items|elven]] or
 +
* it is a [[cornuthaum]] and you are a Wizard.
  
Other armor gains +1 enchantment (unless it is +9 or above, then there is only a 1 in enchantment chance it will gain +1 and the rest of the time it will gain nothing).
+
If the armor is successfully enchanted beyond the safe limit, it may vibrate:
* ''"Your <armor> glows silver for a moment."'' (+1)
 
* ''"Your <armor> violently glows silver for a moment."'' (+0) (no "silver" if shield of reflection or silver dragon scales or scale mail)
 
NOTE: If you were blind, then "glows silver" is replaced by "vibrates".
 
 
 
If the armor is enchanted beyond the safe limit, it may vibrate:
 
 
* ''"Your <armor> suddenly vibrates unexpectedly."'' (unblind)
 
* ''"Your <armor> suddenly vibrates unexpectedly."'' (unblind)
 
* ''"Your <armor> suddenly vibrates again."'' (blind)
 
* ''"Your <armor> suddenly vibrates again."'' (blind)
  
===Cursed===
+
There is a chance of vaporizing negatively-enchanted armor with a cursed scroll, with exactly the same probability as using a noncursed scroll to vaporize a positively enchanted piece of armor.
One worn item of armor is randomly selected, and is [[cursed]].
+
* ''"Your <armor> violently glows black for a while, then evaporates."'' (unblind)
 +
* ''"Your <armor> violently vibrates for a while, then evaporates."'' (blind)
  
If the enchantment of the armor already below -3 (-5 for [[Elf (starting race)#Elven_items|elven]] armor or a [[Cornuthaum|wizard's cornuthaum]]), there is a 1 in (current absolute enchantment) that it WON'T be vaporized. If it is vaporized:
+
===Failure===
 +
In the highly unlikely event that a piece of armor at an enchantment +9 or higher does not evaporate, there is then ''another'' check, with the same probability as the previous one. If this check is failed, the scroll fails to take entirely:
 +
* ''"Your <armor> violently glows silver for a moment."'' (unblind)
 +
* ''"Your <armor> violently vibrates for a moment."'' (blind)
  
* ''"Your <armor> violently glows black for a while, then evaporates."'' (no "black" if black dragon scales or scale mail)
+
==When confused==
 +
Reading a noncursed scroll while [[confusion|confused]] will repair [[erosion]] on one piece of armor, and make the armor [[erodeproof]].{{refsrc|read.c|998|version=NetHack 3.6.0}} As this does not increase the enchantment of the armor, it also does not risk vaporization.
  
Otherwise armor loses one enchantment and is cursed.
+
* ''"Your <armor> is covered by a shimmering golden shield!"'' (unblind)
 +
* ''"Your <armor> feels warm for a moment."'' (blind)
 +
For shields, the word "shield" in the unblind message is replaced with "layer".
  
* ''"Your <armor> glows black for a moment."'' (unblind) (no "black" if black dragon scales or scale mail)
+
If the armor was damaged, the following message is also displayed:
* ''"Your <armor> vibrates for a moment."'' (blind)
+
* "Your <armor> looks as good as new!"'' (unblind)
 +
* "Your <armor> feels as good as new!"'' (blind)
  
==Non-cursed and confused==
+
Cursed scrolls will not repair damaged armor and will remove, instead of applying, erodeproofing:
 
+
* ''"Your <armor> is covered by a mottled black glow!"'' (unblind)
Makes one random worn armor [[erodeproof]].
 
 
 
* ''"Your <armor> is covered by a shimmering golden shield/layer!"'' (unblind)
 
 
* ''"Your <armor> feels warm for a moment."'' (blind)
 
* ''"Your <armor> feels warm for a moment."'' (blind)
  
If that armor had damage, it is repaired.
+
==When naked==
 +
If the player reads the scroll with no armor worn, their [[strength]] and [[constitution]] are [[Exercise|exercised]], or abused if the scroll is cursed:
 +
* ''"You have a strange feeling for a moment, then it passes."'' ([[beginner]] not [[hallucinating]])
 +
* ''"You have a normal feeling for a moment, then it passes."'' (beginner hallucinating)
 +
* ''"Your skin glows then fades."'' (unblind)
 +
* ''"Your skin feels warm for a moment."'' ([[blind]])
  
* "Your <armor> looks as good as new!"'' (unblind)
+
==Strategy==
* "Your <armor> feels as good as new!"'' (blind)
+
Because the piece to be enchanted is selected at random among all the armor worn, most players normally remove all but the desired armor before reading the scroll.
 
 
==Cursed and confused==
 
  
Removes the [[erodeproof|erodeproofing]] from one random worn piece of armor.
+
As with [[scroll of enchant weapon|scrolls of enchant weapon]], you may want to save them until you have enough of them to enchant a piece of armor up to its desired maximum enchantment, in anticipation of any set of armor with a better base AC down the road. You don't want to bother hoarding any more scrolls than that, because you can't dump them all on a single item.
  
* ''"Your <armor> is covered by a mottled black glow!"'' (unblind)
+
A spare scroll of enchant armor may save you a wish for [[dragon scale mail]] when putting together an [[ascension kit]]. This may make it difficult to get the color of scale mail you want, but if you take sufficient precautions, you can [[Genocide#Reverse genocide|reverse-genocide]] the desired color of dragon.
* ''"Your <armor> feels warm for a moment."'' (blind)
 
  
 +
A [[cursed]] scroll may be useful if you just have to have that +5 armor, but don't want to risk vaporization. However, it's usually better to reduce armor enchantment using the spell of [[drain life (spell)|drain life]], since that doesn't use up a scroll.
  
 
==See also==
 
==See also==

Latest revision as of 02:26, 24 September 2022

? Scroll.png
Name enchant armor
Appearance random
Base price 80 zm
Weight 5
Ink to write 8-15
Monster use Will not be used by monsters.

The scroll of enchant armor is a scroll that alters the enchantment on armor worn by the reader. The scroll chooses at random which piece of armor will be affected. If any armor is worn on the torso, only the outermost worn layer of cloak, body armor, or shirt is eligible.[1]

Effects

All of the possible effects of reading the scroll under different circumstances are documented in the following sections. If the armor's enchantment is altered as a result of any of the effects listed below, then you have identified the scroll.

Uncursed

One worn piece of armor is randomly selected, enchanted by +1, and, if it is cursed, made uncursed:

  • "Your <armor> glows silver for a moment." (unblind)
  • "Your <armor> vibrates for a moment." (blind)

For armor that is already silver-colored, including silver dragon scale mail and the shield of reflection, the word "silver" is omitted.

In NetHack 3.6.0, due to a bug, cursed armor will not be made uncursed by this scroll. The bug was fixed in 3.6.1.


If the armor is a set of dragon scales, it will become a dragon scale mail of the same color:

  • "Your set of <color> dragon scales merges and hardens!"

The level of enchantment will remain unchanged.

Blessed

One piece of currently worn armor is randomly selected, enchanted and blessed.

Dragon scales become dragon scale mail of the same color, and their enchantment increases by 1.

Other armor has a chance of gaining multiple degrees of enchantment:

Current enchantment −3 to −1 0 to +2 +3 to +5 +6 to +8 +9 or more
Additional possible 1 to 4 1 to 3 1 to 2 1 0 or 1

The enchantment gain is determined as follows:

If the current enchantment is +9 or higher, there is a 1 in (current enchantment) chance of gaining one additional point of enchantment, as with an uncursed scroll.[2]

If the current enchantment is below +9, the armor gains 1 point of enchantment, plus a random number from 0 to 3 − current enchantment3.[3] This means a +3 piece of armor has a 50% chance of being enchanted to +5 by a blessed scroll.

If the enchantment on the armor increased by more than one point, the message printed is modified:

  • "Your <armor> glows silver for a while." (unblind)
  • "Your <armor> vibrates for a while." (blind)

The scroll otherwise behaves exactly as an uncursed scroll.

Cursed

One worn item of armor is randomly selected, cursed, and loses one point of enchantment:

  • "Your <armor> glows black for a moment." (unblind)
  • "Your <armor> vibrates for a moment." (blind)

Vaporization

If the enchantment of the armor is already above +3, the armor may be destroyed when a non-cursed scroll is read:

  • "Your <armor> violently glows silver for a while, then evaporates." (unblind)
  • "Your <armor> violently vibrates for a while, then evaporates." (blind)

The probability that the armor will survive is equal to 1 divided by the current enchantment.

The armor may be safely enchanted with a current enchantment of +5 or lower if:

If the armor is successfully enchanted beyond the safe limit, it may vibrate:

  • "Your <armor> suddenly vibrates unexpectedly." (unblind)
  • "Your <armor> suddenly vibrates again." (blind)

There is a chance of vaporizing negatively-enchanted armor with a cursed scroll, with exactly the same probability as using a noncursed scroll to vaporize a positively enchanted piece of armor.

  • "Your <armor> violently glows black for a while, then evaporates." (unblind)
  • "Your <armor> violently vibrates for a while, then evaporates." (blind)

Failure

In the highly unlikely event that a piece of armor at an enchantment +9 or higher does not evaporate, there is then another check, with the same probability as the previous one. If this check is failed, the scroll fails to take entirely:

  • "Your <armor> violently glows silver for a moment." (unblind)
  • "Your <armor> violently vibrates for a moment." (blind)

When confused

Reading a noncursed scroll while confused will repair erosion on one piece of armor, and make the armor erodeproof.[4] As this does not increase the enchantment of the armor, it also does not risk vaporization.

  • "Your <armor> is covered by a shimmering golden shield!" (unblind)
  • "Your <armor> feels warm for a moment." (blind)

For shields, the word "shield" in the unblind message is replaced with "layer".

If the armor was damaged, the following message is also displayed:

  • "Your <armor> looks as good as new!" (unblind)
  • "Your <armor> feels as good as new!" (blind)

Cursed scrolls will not repair damaged armor and will remove, instead of applying, erodeproofing:

  • "Your <armor> is covered by a mottled black glow!" (unblind)
  • "Your <armor> feels warm for a moment." (blind)

When naked

If the player reads the scroll with no armor worn, their strength and constitution are exercised, or abused if the scroll is cursed:

  • "You have a strange feeling for a moment, then it passes." (beginner not hallucinating)
  • "You have a normal feeling for a moment, then it passes." (beginner hallucinating)
  • "Your skin glows then fades." (unblind)
  • "Your skin feels warm for a moment." (blind)

Strategy

Because the piece to be enchanted is selected at random among all the armor worn, most players normally remove all but the desired armor before reading the scroll.

As with scrolls of enchant weapon, you may want to save them until you have enough of them to enchant a piece of armor up to its desired maximum enchantment, in anticipation of any set of armor with a better base AC down the road. You don't want to bother hoarding any more scrolls than that, because you can't dump them all on a single item.

A spare scroll of enchant armor may save you a wish for dragon scale mail when putting together an ascension kit. This may make it difficult to get the color of scale mail you want, but if you take sufficient precautions, you can reverse-genocide the desired color of dragon.

A cursed scroll may be useful if you just have to have that +5 armor, but don't want to risk vaporization. However, it's usually better to reduce armor enchantment using the spell of drain life, since that doesn't use up a scroll.

See also

References

  1. some_armor in do_wear.c
  2. read.c in NetHack 3.6.0, line 1054
  3. read.c in NetHack 3.6.0, line 1055: To be precise, when the current enchantment is negative, the integer division by 3 could result in platform-dependent behavior: the integer expression −1 / 3 may be rounded to −1 or 0. The former case makes it possible to gain 4 enchantments from a blessed scroll on that platform. However, gcc and C99-compliant compilers always treat the result of integer division as an arithmetic quotient (that is, the quotient is truncated or "rounded towards zero"). In that case, only a −3 piece of armor is eligible for a 25% chance of gaining 4 enchantments from a blessed scroll, while a −2 to +2 piece gains 1 to 3 points.
  4. read.c in NetHack 3.6.0, line 998


This page may need to be updated for the current version of NetHack.

It may contain text specific to NetHack 3.4.3. Information on this page may be out of date.

Editors: After reviewing this page and making necessary edits, please change the {{nethack-343}} tag to the current version's tag or {{noversion}} as appropriate.