Difference between revisions of "Scroll of destroy armor"

From NetHackWiki
Jump to navigation Jump to search
m (Description: Clearer description of the selection algorithm)
Line 9: Line 9:
  
 
==Description==
 
==Description==
If you are not a [[beginner]], reading the scroll of destroy armor will destroy one piece of worn armor, starting with the outermost layer you are currently wearing, i.e. [[cloak]], [[body armor]], and [[shirt]] in that order. It then looks at any worn [[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.<ref>{{function|do_wear.c|some_armor}}</ref> If you read the scroll while you are not wearing armor, your [[strength]] and [[constitution]] are abused.
+
If you are not a [[beginner]], reading the scroll of destroy armor will destroy one piece of worn armor. The piece to be destroyed is selected as follows: first, the outermost armor on your torso is determined, i.e. [[cloak]], [[body armor]], and [[shirt]] in that order. Then the scroll looks whether you are wearing [[helmet]], [[gloves]], [[boots]], and [[shield]] in that order. For each one of these four items that you are wearing, there is a 75% chance that the item will be selected over any previously selected item (or 100% if no armor has been selected yet).<ref>{{function|do_wear.c|some_armor}}</ref> If you read the scroll while you are not wearing any armor, your [[strength]] and [[constitution]] are abused.
  
If you are wearing a full set of armor the chances are as follows:
+
If you are wearing a full set of armor, the chances of each piece being selected are as follows:
 
:* 0.39% cloak
 
:* 0.39% cloak
 
:* 1.17% helmet
 
:* 1.17% helmet
Line 18: Line 18:
 
:*75.00% shield
 
:*75.00% shield
  
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 to a minimum of -7 instead of destroying it.
+
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 already -7) instead of destroying it.
  
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.
+
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==
 
==Strategy==

Revision as of 00:38, 27 August 2021

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.

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

Description

If you are not a beginner, reading the scroll of destroy armor will destroy one piece of worn armor. The piece to be destroyed is selected as follows: first, the outermost armor on your torso is determined, i.e. cloak, body armor, and shirt in that order. Then the scroll looks whether you are wearing helmet, gloves, boots, and shield in that order. For each one of these four items that you are wearing, there is a 75% chance that the item will be selected over any previously selected item (or 100% if no armor has been selected yet).[2] If you read the scroll while you are not wearing any armor, your strength and constitution are abused.

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 already -7) instead of destroying it.

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, reading a noncursed scroll of destroy armor intentionally can be used to reliably destroy cursed pieces of armor when done after removing all others. The confused effect of reading a cursed scroll is also useful for protecting armor - though it does not repair damage like the confused effect of a scroll of enchant armor, it allows you to save the latter scrolls for actual enchantments if you are only erodeproofing. Writing this 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