Difference between revisions of "Scroll of destroy armor"

From NetHackWiki
Jump to navigation Jump to search
(Added details on how the armor is selected.)
m (lede)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
:''"Destroy armor" redirects here. For the monster spell, see [[Destroy armor (monster spell)]].''
+
{{otheruses|the scroll, which "destroy armor" redirects to|the [[monster spell]] that shares many similar messages|Destroy armor (monster spell)}}
 
{{scroll
 
{{scroll
 
  |name=destroy armor
 
  |name=destroy armor
Line 6: Line 6:
 
}}
 
}}
  
Reading a '''scroll of destroy armor''' can destroy, lower [[enchantment]] by one, remove [[erodeproof]]ing from, or erodeproof, one piece of armor.
+
A '''scroll of destroy armor''' is a type of [[scroll]] that appears in ''[[NetHack]]''. The [[randomized appearance|random label]] [[Scroll origins|associated with it]] in [[objects.c]] is JUYED AWK YACC.{{refsrc|src/objects.c|829|version=NetHack 3.6.6}}
  
==Identification==
+
==Description==
 +
Reading the scroll of destroy armor will destroy one piece of worn armor as follows: First, the outermost armor on your torso is determined, i.e. [[cloak]], [[body armor]], and [[shirt]] in that order. Then the scroll checks in order whether you are wearing a [[helm]], [[gloves]], [[boots]], and/or a [[shield]]. For each one of these four items that you are wearing, there is a 75% chance that it will be selected over the previously selected one (or 100% if no armor has been selected yet).<ref>{{function|do_wear.c|some_armor}}</ref>
  
This scroll is one reason that randomly read-testing scrolls is typically a [[bad idea]].  Wearing only non-cursed, disposable, "junk" armor makes this scroll safe to read.  Removing all armor before reading will abuse [[strength]] and [[constitution]], which, while not ideal, may be tolerable.  If you have the option of [[price identification]], remember that this scroll is in the same category as the [[scroll of fire]], another usually unpleasant surprise.
+
If you are wearing a full set of armor, the chances of each piece being selected are as follows:
 
 
==Effects and messages==
 
 
 
The armor affected is chosen by the function some_armor.<ref>{{function|do_wear.c|some_armor}}</ref>
 
*It starts with the outermost layer you are currently wearing. "Outermost" means that a [[cloak]] protects [[body armor]] which protects a [[shirt]].
 
*It looks at your [[helmet]], [[gloves]], [[boots]], and [[shield]] in that order.  For each one that you are wearing, there is a 75% chance the item will be selected over any previously selected item.
 
*If you are wearing a full set of armor the chances are:
 
 
:* 0.39% cloak
 
:* 0.39% cloak
 
:* 1.17% helmet
 
:* 1.17% helmet
Line 24: Line 18:
 
:*75.00% shield
 
:*75.00% shield
  
A non-cursed scroll destroys the armor.  If a cursed scroll targets cursed armor, it lowers the armor's enchantment by one instead of destroying it (to a minimum of -7) and [[stun]]s you for 10-19 turns.  Reading a non-cursed scroll while confused removes erodeproofing.  But reading a cursed scroll while confused actually erodeproofs a piece of armor.  This does not repair it if damaged the way reading a [[scroll of enchant armor]] while confused does.  See the chart below for full details.
+
If a cursed scroll targets cursed armor in this way, it [[stun]]s you for 10-19 turns and lowers that armor's [[enchantment]] by one (unless it is at -7) instead of destroying it.  
  
{|class="prettytable"
+
If you read the scroll while you are not wearing armor, your [[strength]] and [[constitution]] are abused. If you are not a [[beginner]], the scroll will be identified - otherwise, "[[you have a strange feeling for a moment, then it passes]]".
!style="width: 20%"|Condition
+
 
!style="width: 30%"|Effect
+
Reading a non-cursed scroll while confused removes erodeproofing on a piece of armor, targeted in the same way as above - reading a cursed scroll while confused instead ''applies'' erodeproofing a piece of armor, but does not repair it if damaged the way reading a [[scroll of enchant armor]] while confused does.
!style="width: 50%"|Messages
 
|-
 
|'''Not wearing armor'''
 
|Abuses your strength and constitution.
 
|
 
* ''"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 bones itch."'' (confused)
 
* ''"Your skin itches."'' (not confused)
 
|-
 
|'''[[blessed]] or [[uncursed]]'''
 
|Destroys one random worn piece of armor.
 
|
 
* ''"Your cloak crumbles and turns to dust!"''
 
* ''"Your armor turns to dust and falls to the &lt;floor&gt;!"''
 
* ''"Your shirt crumbles into tiny threads and falls apart!"''
 
* ''"Your helmet turns to dust and is blown away!"''
 
* ''"Your gloves vanish!"''
 
* ''"Your boots disintegrate!"''
 
* ''"Your shield crumbles away!"''
 
|-
 
|'''[[cursed]]'''
 
|Selects one random worn piece of armor. If the armor is not cursed, then same effect as an uncursed scroll. Otherwise, you are [[stunned]] for 10 to 19 (more) turns and your armor loses one [[enchantment]] if it is -6 or greater.
 
|
 
* ''"Your &lt;armor&gt; vibrates."''
 
|-
 
|'''non-cursed and [[confused]]'''
 
|Removes [[Erodeproof|erodeproofing]] from one random worn piece of armor.
 
|
 
* ''"Your &lt;armor&gt; glows purple for a moment."'' (unblind)
 
* ''"Your &lt;armor&gt; vibrates for a moment."'' ([[blind]])
 
|-
 
|'''cursed and confused'''
 
|Makes one random worn armor [[erodeproof]]. Does NOT repair damage
 
|
 
* ''"Your &lt;armor&gt; glows purple for a moment."'' (unblind)
 
* ''"Your &lt;armor&gt; vibrates for a moment."'' (blind)
 
|}
 
  
 
==Strategy==
 
==Strategy==
 +
The scroll of destroy armor is a typical example of what makes randomly read-testing scrolls a [[bad idea]] without identifying it beforehand in some manner. In terms of [[price identification]], it costs the same base price as the [[scroll of fire]], which is similarly (if not more) perilous to a random scroll reader. Wearing only non-cursed disposable armor makes this scroll safer to read and identify - while wearing none at all will also identify it through its unique message, this may be less preferable depending on how willing to tolerate stat abuse you are at that point.
 +
 +
However, intentionally reading a noncursed scroll can reliably destroy cursed pieces of armor when done after removing all other armor. The confused effect of reading a cursed scroll is also useful for protecting armor - though it does not repair damage, it allows you to save the latter scrolls for actual enchantments if you are only erodeproofing. Writing the cursed scroll with a [[magic marker]] can also save ink compared to scrolls of enchant armor.
 +
 +
==History==
 +
The scroll of destroy armor has been present in the game since the first version of [[Hack]].
  
This scroll is one of the ways to get rid of a [[cursed]] piece of armor; simply remove all but the cursed pieces and read a [[noncursed]] scroll.
+
==Messages==
 +
{{message|Your cloak crumbles and turns to dust!<br/>Your armor turns to dust and falls to the &lt;floor&gt;!<br/>Your shirt crumbles into tiny threads and falls apart!<br/>Your helmet turns to dust and is blown away!<br/>Your gloves vanish!<br/>Your boots disintegrate!<br/>Your shield crumbles away!|One of your worn pieces of armor was destroyed from reading the scroll.}}
 +
{{message|Your <armor> vibrates.|You read a cursed scroll of destroy armor and it targeted a piece of cursed armor you were wearing.}}
 +
{{message|Your skin itches.|You read the scroll while wearing no armor.}}
 +
{{message|Your bones itch.|As above while confused.}}
 +
{{message|Your <armor> glows purple for a moment.|You read the scroll while confused.}}
 +
{{message|Your <armor> vibrates for a moment.|As above, while also blind.}}
  
Reading a cursed scroll of destroy armor while [[confused]] will [[fooproof]] a random piece of worn armor. This is a good use of the scroll if you are not in need of the other function of it. It will not, however, repair any damage. For that, you could read a [[confused]] [[scroll of enchant armor]], but using cursed scrolls of destroy armor saves scrolls of enchant armor for their primary purpose. A scroll of destroy armor also costs less ink to write with a [[magic marker]].
+
==xNetHack==
 +
In [[xNetHack]], reading the blessed scroll of destroy armor allows you to select which piece of armor to destroy.
  
 
==References==
 
==References==
 
<references/>
 
<references/>
 
[[Category:Scrolls|Destroy armor]]
 
[[Category:Scrolls|Destroy armor]]
{{nethack-360}}
+
{{nethack-366}}

Latest revision as of 16:20, 9 March 2024

This article is about the scroll, which "destroy armor" redirects to. For the monster spell that shares many similar messages, see Destroy armor (monster spell).
? Scroll.png
Name destroy armor
Appearance random
Base price 100 zm
Weight 5
Ink to write 5-9
Monster use Will not be used by monsters.

A scroll of destroy armor is a type of scroll that appears in NetHack. The random label associated with it in objects.c is JUYED AWK YACC.[1]

Description

Reading the scroll of destroy armor will destroy one piece of worn armor as follows: First, the outermost armor on your torso is determined, i.e. cloak, body armor, and shirt in that order. Then the scroll checks in order whether you are wearing a helm, gloves, boots, and/or a shield. For each one of these four items that you are wearing, there is a 75% chance that it will be selected over the previously selected one (or 100% if no armor has been selected yet).[2]

If you are wearing a full set of armor, the chances of each piece being selected are as follows:

  • 0.39% cloak
  • 1.17% helmet
  • 4.69% gloves
  • 18.75% boots
  • 75.00% shield

If a cursed scroll targets cursed armor in this way, it stuns you for 10-19 turns and lowers that armor's enchantment by one (unless it is at -7) instead of destroying it.

If you read the scroll while you are not wearing armor, your strength and constitution are abused. If you are not a beginner, the scroll will be identified - otherwise, "you have a strange feeling for a moment, then it passes".

Reading a non-cursed scroll while confused removes erodeproofing on a piece of armor, targeted in the same way as above - reading a cursed scroll while confused instead applies erodeproofing a piece of armor, but does not repair it if damaged the way reading a scroll of enchant armor while confused does.

Strategy

The scroll of destroy armor is a typical example of what makes randomly read-testing scrolls a bad idea without identifying it beforehand in some manner. In terms of price identification, it costs the same base price as the scroll of fire, which is similarly (if not more) perilous to a random scroll reader. Wearing only non-cursed disposable armor makes this scroll safer to read and identify - while wearing none at all will also identify it through its unique message, this may be less preferable depending on how willing to tolerate stat abuse you are at that point.

However, intentionally reading a noncursed scroll can reliably destroy cursed pieces of armor when done after removing all other armor. The confused effect of reading a cursed scroll is also useful for protecting armor - though it does not repair damage, it allows you to save the latter scrolls for actual enchantments if you are only erodeproofing. Writing the cursed scroll with a magic marker can also save ink compared to scrolls of enchant armor.

History

The scroll of destroy armor has been present in the game since the first version of Hack.

Messages

Your cloak crumbles and turns to dust!
Your armor turns to dust and falls to the <floor>!
Your shirt crumbles into tiny threads and falls apart!
Your helmet turns to dust and is blown away!
Your gloves vanish!
Your boots disintegrate!
Your shield crumbles away!
One of your worn pieces of armor was destroyed from reading the scroll.
Your <armor> vibrates.
You read a cursed scroll of destroy armor and it targeted a piece of cursed armor you were wearing.
Your skin itches.
You read the scroll while wearing no armor.
Your bones itch.
As above while confused.
Your <armor> glows purple for a moment.
You read the scroll while confused.
Your <armor> vibrates for a moment.
As above, while also blind.

xNetHack

In xNetHack, reading the blessed scroll of destroy armor allows you to select which piece of armor to destroy.

References