# Spellbook of detect treasure

spellbook of  +   detect treasure   

Appearance

random

Abundance

2.03%

Base price

400 zm

Weight

50

Turns to read

15

Ink to write

20–39

Spell type

divination

Level

4

Power cost

20 Pw

Direction

non-directional  

Equivalent

potion of object detection

Special for

rogue

Allows you to learn the detect treasure spell. This spell has the same effect as a potion of object detection.[1]  It is the special spell for rogues.

Contents

1 Casting effects
2 Messages
3 Strategy
4 References

Casting effects
Main article: Potion of object detection#Quaffing effects

Case

Effect

Unskilled or Basic

Same effect as quaffing an uncursed potion of object detection. See that page.

Skilled or Expert

Same effect as quaffing a blessed potion of object detection. See that page.

Messages
Main article: Potion of object detection#Messages
The spell generates the same messages as the potion.

Strategy
Main article: Potion of object detection#Strategy
The spell of detect treasure should be used whenever the player has an opportunity; it is preferable to potions of object detection, as it is only limited by the amount of energy available. Since the spell is non-combat, it is usable even with a fairly high failure rate. Even better, it shares its spell school (divination) with magic mapping and identify, two other excellent spells.

References

↑ spell.c in NetHack 3.4.3, line 910: a fake potion is loaded up and used, allowing the peffects (potion effects) code to be reused for spell effects. Thus the spell and the potion are implemented by the same code.

This page is based on a spoiler by Dylan O'Donnell. The original license is:
Redistribution, copying, and editing of these spoilers, with or without modification, are permitted provided that the following conditions are met:

The original contributors to any spoiler must continue to be credited.
Any modifications to the spoiler must be acknowledged and credited.

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.