Magic marker

From NetHackWiki
Jump to: navigation, search
( Magic marker.png
Name magic marker
Appearance magic marker
Base price 50 zm
Weight 2
Material plastic
Monster use Will not be used by monsters.

A magic marker is a tool item in NetHack. It is one of the most useful writing items as it can be used to write magic scrolls or spellbooks. Of course, to do this, you must have a blank scroll or blank spellbook upon which to write. Magic markers can also be used to scribble a message on the floor (which is about as permanent as an engraving) at a cost of a charge per two letters (thus writing Elbereth costs 4 charges). Magic markers can be recharged only once.[1]Archeologists, Monks, Priests, Tourists, and Wizards all have a chance of starting with a magic marker.

Wizards (especially those with high Luck) have a good chance of writing scrolls and spellbooks that they have not identified yet.

Usage

[Some details borrowed from Sascha Wostmann's "Yet Another NetHack FAQ," http://nethack.de/spoiler/yanfaq.txt ]

To create a scroll or spellbook, you apply the magic marker. Then you are asked what to write on, so you will need to have a scroll of blank paper or a spellbook of blank paper. Finally, you must specify what is to be written.

You may enter the correct name of a scroll ("scroll of light"), or just a short form ("light"). You may also write the label of a scroll ("ZELGO MER"), but only if you have already seen that scroll in your game. This means that if you want to write a scroll of remove curse, and you know that ZELGO MER is definitely the scroll of remove curse but it is not formally identified, you should write "ZELGO MER". Attempting to write "remove curse" will be subject to the normal failure chance from trying to write an unidentified scroll.

Similarly, you may create a spellbook by entering the correct name ("spellbook of detect food"), or a short form ("detect food"), or the spellbook label ("indigo spellbook") provided that you have identified that type of spellbook. You cannot write the Book of the Dead.

When engraving, a magic marker may be selected in response to "What do you want to write with?", creating a fast semipermanent engraving. However, this is generally viewed as a waste of charges, since the same effect can be achieved using an athame or a wand of digging. Early on, though, this can be a lifesaver.

BUC

When you write a scroll or spellbook, the BUC of the resulting item is the sum of the BUCs of the marker and the blank scroll/spellbook, as seen below. In short, blessed markers produce blessed scrolls, unless the material is cursed, and the reverse is true for cursed markers. Uncursed markers produce scrolls with the same status as the material and thus are the most useful.

Marker Paper Document
Blessed Blessed Blessed
Blessed Uncursed Blessed
Blessed Cursed Uncursed
Uncursed Blessed Blessed
Uncursed Uncursed Uncursed
Uncursed Cursed Cursed
Cursed Blessed Uncursed
Cursed Uncursed Cursed
Cursed Cursed Cursed

Ink and charges

Writing with a magic marker uses up charges. Initially, a magic marker will be generated with 30–99 charges.[2]

A magic marker can be recharged with a scroll of charging (or PYEC), but only once.[3] They do not explode. A blessed charge will add 15–30 charges, then round up to 50 or 75 if able. An uncursed charge will add 10–20 charges, then round up to 50 if able. Because of the total gain of 50 charges, it is best to recharge your magic marker when it is totally empty. Blessed charging in this case gives no advantage over uncursed. An exception would be if you want to write a very high-level spellbook. In that case, charging it up to 75 with a blessed scroll could be desirable. Charges are capped at 127, but attempting to exceed this will not cause the marker to explode.[4] It is possible, although with low probability of success, to create magic markers by polypiling magical tools. (It is technically possible to create them from non-magical tools, but the probability of this occuring is vanishingly small.) Be aware that any magic markers created by polymorphing come "pre-recharged", and cannot be charged again.

Each scroll or spellbook has an associated "base ink cost". For scrolls, this is an arbitrary number specified in write.c; for spellbooks it is (spell level * 10).[5]

If the ink cost of a scroll or spellbook is X, then writing it will cost a random number of charges between X/2 and X-1 inclusive. If the marker has fewer than X/2 charges remaining, you will not even attempt to write the specified item ("Your marker is too dry to write that!").[6] If it has between X/2 and X-1, however, you will attempt to write. If it turns out that this is not enough, the written item will be useless, and the marker will lose all its remaining charges ("Your marker dries out!")[7]. Useless scrolls will disappear, while books will clear themselves.


Scrolls

Scroll Ink Charges
mail 2 1
amnesia 8 4-7
earth 8 4-7
fire 8 4-7
gold detection 8 4-7
food detection 8 4-7
light 8 4-7
magic mapping 8 4-7
create monster 10 5-9
destroy armor 10 5-9
punishment 10 5-9
confuse monster 12 6-11
identify 14 7-13
charging 16 8-15
enchant armor 16 8-15
enchant weapon 16 8-15
remove curse 16 8-15
scare monster 20 10-19
stinking cloud 20 10-19
taming 20 10-19
teleportation 20 10-19
genocide 30 15-29

Spellbooks

Spellbook Ink Charges
detect monsters 10 5-9
force bolt 10 5-9
healing 10 5-9
jumping 10 5-9
knock 10 5-9
light 10 5-9
protection 10 5-9
sleep 10 5-9
confuse monster 20 10-19
create monster 20 10-19
cure blindness 20 10-19
detect food 20 10-19
drain life 20 10-19
magic missile 20 10-19
slow monster 20 10-19
wizard lock 20 10-19
cause fear 30 15-29
charm monster 30 15-29
clairvoyance 30 15-29
cure sickness 30 15-29
detect unseen 30 15-29
extra healing 30 15-29
haste self 30 15-29
identify 30 15-29
remove curse 30 15-29
stone to flesh 30 15-29
cone of cold 40 20-39
detect treasure 40 20-39
fireball 40 20-39
invisibility 40 20-39
levitation 40 20-39
restore ability 40 20-39
dig 50 25-49
magic mapping 50 25-49
create familiar 60 30-59
polymorph 60 30-59
teleport away 60 30-59
turn undead 60 30-59
cancellation 70 35-69
finger of death 70 35-69

Unknown scrolls and spellbooks

Your chance of successfully writing a scroll or spellbook which is currently unknown to you depends on your luck and whether you are a wizard.[8] Regardless of whether or not you succeed or fail, you will still use the normal range of ink.[9][10]

A scroll or spellbook type is known to you if you have identified it in any way (so it appears as, e.g., "a scroll of identify"). Note that as of 3.6.0 type-naming a scroll no longer allows you to automatically write the scroll by its formally identified type (you can still safely write the scroll's label).

Luck Wizard Non-Wizard
<-1 <1% <1%
-1 to 1 20% 6.7%
2 to 4 39% 13%
5 to 7 59% 20%
8 to 10 78% 26%
11+ 98% 33%

If you successfully write an unknown scroll or spellbook type, name its class immediately. This will place it in your discoveries list so you can refer to it for the scroll label or spellbook type, enabling you to write it again later with 100% success.

Provided your Luck is maximized, it may be worthwhile to attempt to write unknown scrolls or spellbooks even if you are a non-Wizard, depending on the number of charges on your magic marker. For example, if you have a magic marker with a high number of charges, you are very likely to be able to write a scroll of charging and save a wish on the Castle wand. It is also useful and easy to write a low level unknown spellbook, such as the spellbook of sleep or spellbook of jumping; the spellbook of magic missile is also a possibility although less easily written.

Assuming maximized Luck, the following table gives approximate probabilities of successfully writing at least one of the specified scrolls or spellbooks, attempting repeatedly until the item is written or the marker goes dry, as a non-Wizard, given an initial number of magic marker charges:

# of charges Any 8 ink scroll Any level 1 spellbook Scroll of charging Any level 2 spellbook Scroll of genocide or any level 3 spellbook
40 94% 88% 70% 60% 40%
50 97% 93% 79% 70% 52%
60 98%+ 96% 85% 77% 59%
70 99%+ 98% 90% 83% 66%
80 99%+ 99%+ 92% 87% 72%
90 99%+ 99%+ 95% 90% 77%

Obviously, the lower the number of charges on the marker or the greater the ink cost of the item, the less likely you are to write it successfully.

The ink 8 scrolls include gold detection and magic mapping, and can almost certainly be written unless your marker is nearly dry.

If you have a source of charging and your marker has not been recharged you of course have 50 more charges to attempt to write; therefore (for example) a Knight gunning for a spellbook of magic missile starting with a (0:40) magic marker, and willing to spend the entire marker if necessary, has about an 88% chance of obtaining it in total with maxed Luck (60% he gets it without recharging, plus 70% times 40% that he gets it after recharging. This is not quite the same probability as a marker with 90 charges since typically a few leftover charges are "wasted" after the last attempt before recharging.)

If you try to write something without enough ink, or fail at an unknown scroll/book, a scroll will disappear, but a spellbook will just blank.[11]

Writing while blind

Spellbooks cannot be written while blind ("Your magic marker can't create braille text").

You may attempt to write a scroll while blind, but this is subject to fail depending on your luck, with the message "You fail to write the scroll correctly and it disappears." You have the same chance of successfully writing the scroll as a non-blind Wizard does to write an unknown scroll, so maximizing your Luck will give you a high chance of success. The game tests this after checking whether you failed to write an unknown scroll, so it is doubly hard to write an unknown scroll while blind.

SLASH'EM

SLASH'EM incorporates a balance patch to ink costs. Scrolls of enchant armor, enchant weapon, stinking cloud, remove curse, and charging require 24 ink (12-23 charges) to write,[12] while scrolls of scare monster cost less, requiring 14 ink.

Scrolls

Scroll Ink Charges
mail 2 1
amnesia 8 4-7
earth 8 4-7
fire 8 4-7
gold detection 8 4-7
food detection 8 4-7
light 8 4-7
magic mapping 8 4-7
create monster 10 5-9
destroy armor 10 5-9
punishment 10 5-9
confuse monster 12 6-11
identify 14 7-13
scare monster 14 7-13
taming 20 10-19
teleportation 20 10-19
charging 24 12-23
enchant armor 24 12-23
enchant weapon 24 12-23
remove curse 24 12-23
stinking cloud 24 12-23
genocide 30 15-29

Spellbooks

Spellbook Ink Charges
blank paper 0 0
detect monsters 10 5-9
flame sphere 10 5-9
force bolt 10 5-9
freeze sphere 10 5-9
healing 10 5-9
jumping 10 5-9
knock 10 5-9
light 10 5-9
protection 10 5-9
resist poison 10 5-9
resist sleep 10 5-9
sleep 10 5-9
confuse monster 20 10-19
create monster 20 10-19
cure blindness 20 10-19
detect food 20 10-19
endure cold 20 10-19
endure heat 20 10-19
insulate 20 10-19
magic missile 20 10-19
slow monster 20 10-19
wizard lock 20 10-19
cause fear 30 15-29
charm monster 30 15-29
clairvoyance 30 15-29
cure sickness 30 15-29
detect unseen 30 15-29
drain life 30 15-29
extra healing 30 15-29
haste self 30 15-29
stone to flesh 30 15-29
acid stream 40 20-39
detect treasure 40 20-39
enlighten 40 20-39
fireball 40 20-39
invisibility 40 20-39
levitation 40 20-39
lightning 40 20-39
poison blast 40 20-39
restore ability 40 20-39
command undead 50 25-49
cone of cold 50 25-49
dig 50 25-49
identify 50 25-49
magic mapping 50 25-49
remove curse 50 25-49
summon undead 50 25-49
create familiar 60 30-59
passwall 60 30-59
polymorph 60 30-59
teleport away 60 30-59
turn undead 60 30-59
cancellation 70 35-69
enchant armor 70 35-69
enchant weapon 70 35-69
finger of death 70 35-69

AceHack

You are no longer guaranteed to write scrolls and books you have only named, not formally identified. This is the price to pay for the ability to name things you don't have.

dNethack

You no longer can write scrolls you don't know. ("You don't know how to write that!\n You write "<username> was here!" and the scroll disappears.") This does consume charges on the marker.

Encyclopedia entry

The pen is mightier than the sword.

[ Richelieu, by Edward Bulwer-Lytton ]

References

  1. read.c in NetHack 3.4.3, line 312
  2. mkobj.c in NetHack 3.4.3, line 496
  3. read.c in NetHack 3.4.3, line 318
  4. read.c in NetHack 3.4.3, line 344
  5. write.c in NetHack 3.4.3, line 17
  6. write.c in NetHack 3.4.3, line 169
  7. write.c in NetHack 3.4.3, line 181
  8. write.c in NetHack 3.4.3, line 201
  9. write.c in NetHack 3.4.3, line 175
  10. write.c in NetHack 3.4.3, line 198: Ink cost calculated before logic of whether item is known
  11. write.c in NetHack 3.4.3, line 203
  12. write.c in SLASH'EM 0.0.7E7F2, line 51: "more useful scrolls cost more"