Difference between revisions of "Wand of lightning"

From NetHackWiki
Jump to navigation Jump to search
m (fix reference)
(zapping yourself does 12d6 damage)
Line 17: Line 17:
 
Like a [[wand of fire]], [[engraving]] with a wand of lightning will burn text into the ground and [[auto-identify]] it; however, doing so will blind you for d50 turns unless you are already blind or resist blindness.{{refsrc|src/engrave.c|791|nethack=3.6.7}}{{refsrc|src/engrave.c|1162|nethack=3.6.7}} You can avoid this by cancelling the prompt when asked what to engrave.{{refsrc|src/engrave.c|1034|nethack=3.6.7|comment=cancelling the prompt causes <code>doengrave()</code> to return early}}
 
Like a [[wand of fire]], [[engraving]] with a wand of lightning will burn text into the ground and [[auto-identify]] it; however, doing so will blind you for d50 turns unless you are already blind or resist blindness.{{refsrc|src/engrave.c|791|nethack=3.6.7}}{{refsrc|src/engrave.c|1162|nethack=3.6.7}} You can avoid this by cancelling the prompt when asked what to engrave.{{refsrc|src/engrave.c|1034|nethack=3.6.7|comment=cancelling the prompt causes <code>doengrave()</code> to return early}}
  
If you zap yourself with a wand of lightning, you are blinded for 1&ndash;100 turns unless you are already blind or resist blindness.{{refsrc|src/zap.c|2308|nethack=3.6.7}}
+
If you zap yourself with a wand of lightning, you are blinded for 1&ndash;100 turns unless you are already blind or resist blindness, and take 12d6 damage unless shock resistant.{{refsrc|src/zap.c|2295|nethack=3.6.7}}
  
 
[[Apply]]ing a wand of lightning to break it creates an explosion that deals quadruple the normal damage of applying other wands{{refsrc|src/apply.c|3367|nethack=3.6.7}} to yourself and all monsters surrounding squares. Your inventory is subject to the same effects as though you were zapped with the wand, i.e. your rings and wands may explode.
 
[[Apply]]ing a wand of lightning to break it creates an explosion that deals quadruple the normal damage of applying other wands{{refsrc|src/apply.c|3367|nethack=3.6.7}} to yourself and all monsters surrounding squares. Your inventory is subject to the same effects as though you were zapped with the wand, i.e. your rings and wands may explode.

Revision as of 01:29, 18 March 2023

/
Name lightning
Appearance random
Abundance 4%
Base price 175 zm
Weight 7
Type ray
Maximum charges 8
Monster use May be used offensively by monsters.

The wand of lightning is a wand that appears in NetHack.

Effects

Zapping the wand in a given direction shoots a ray of lightning, dealing 6d6[1][2] damage to non-shock resistant targets; it also blinds monsters in its line of fire for d50 turns,[3] and may destroy any rings, wands or amulets in their inventory unless they have reflection. The ray bounces when it hits walls or targets with reflection. If a wand of lightning's ray hits you or passes through your location, you are blinded for 6d50 turns, unless you are already blind or resistant to blindness.[4][5]

Only the ring of shock resistance and the wand of lightning itself are immune to destruction by shock damage,[6] e.g. chest traps, a returning Mjollnir, energy vortices or electric eels.

Like a wand of fire, engraving with a wand of lightning will burn text into the ground and auto-identify it; however, doing so will blind you for d50 turns unless you are already blind or resist blindness.[7][8] You can avoid this by cancelling the prompt when asked what to engrave.[9]

If you zap yourself with a wand of lightning, you are blinded for 1–100 turns unless you are already blind or resist blindness, and take 12d6 damage unless shock resistant.[10]

Applying a wand of lightning to break it creates an explosion that deals quadruple the normal damage of applying other wands[11] to yourself and all monsters surrounding squares. Your inventory is subject to the same effects as though you were zapped with the wand, i.e. your rings and wands may explode.

Strategy

Wands of lightning are a powerful offensive item since they few monsters resist shock; however, it is especially annoying when a soldier or another monster surprises you with a bolt that destroys your only ring of slow digestion. Reflection is naturally the best defense against monsters with wands of lightning, but it also helps to have a means of curing blindness (e.g. a unicorn horn), as well as a means to safely stash your magical items.

You should avoid breaking these wands as a form of crowd-control unless you have no valuable rings or wands in your open inventory, or are otherwise going to die next turn anyway.

Messages

You are blinded by the flash!
You were blinded by a bolt of lightning.
Your arm tingles.
While blinded, a bolt of lightning was fired at you and missed.

References

  1. src/zap.c in NetHack 3.6.7, line 3065: nd is 6
  2. src/zap.c in NetHack 3.6.7, line 3711
  3. src/zap.c in NetHack 3.6.7, line 3716: Despite code to add d50 turns of blindness capped at 127, no additional turns of blindness are actually added to already-blind monsters, because blinded monsters resist further blindness.
  4. src/zap.c in NetHack 3.6.7, line 4233
  5. src/zap.c in NetHack 3.6.7, line 2646: flashburn(); note that it calls resists_blnd(), which returns TRUE if you are already blind or otherwise resist blindness.
  6. src/zap.c in NetHack 3.6.7, line 5112
  7. src/engrave.c in NetHack 3.6.7, line 791
  8. src/engrave.c in NetHack 3.6.7, line 1162
  9. src/engrave.c in NetHack 3.6.7, line 1034: cancelling the prompt causes doengrave() to return early
  10. src/zap.c in NetHack 3.6.7, line 2295
  11. src/apply.c in NetHack 3.6.7, line 3367