Difference between revisions of "The Longbow of Diana"

From NetHackWiki
Jump to navigation Jump to search
(Longbow does NOT always produce +0 arrows. The real picture is much more complicated.)
(Misread rne page.)
Line 18: Line 18:
 
When carried, the Longbow of Diana confers [[telepathy]]. When wielded, it confers [[reflection]] and +d5 to hit when firing arrows. [[invoke|Invoking]] the Bow creates arrows with the same [[BUC]] status (but not the same enchantment charge) as the Bow. A blessed Bow creates more [[arrow|arrows]], up to 21 at once, and a cursed Bow fewer, at most 11 at once. The Bow does not have charges but the invocations have a little timeout, so you cannot create new arrows every turn.
 
When carried, the Longbow of Diana confers [[telepathy]]. When wielded, it confers [[reflection]] and +d5 to hit when firing arrows. [[invoke|Invoking]] the Bow creates arrows with the same [[BUC]] status (but not the same enchantment charge) as the Bow. A blessed Bow creates more [[arrow|arrows]], up to 21 at once, and a cursed Bow fewer, at most 11 at once. The Bow does not have charges but the invocations have a little timeout, so you cannot create new arrows every turn.
  
The [[enchantment]] of the [[arrow]]s depends on [[rne]](3) and the [[BUC]] status of the longbow.<ref>[[Artifact.c#line1333|arti_invoke calls mksobj to create arrows]]</ref><ref>[[Mkobj.c#line391|relevant section of mksobj]]</ref> A [[BUC|blessed]] longbow will only produce [[arrow]]s with [[enchantment]] from 0 to 5 inclusive, or 0 to 10 inclusive if the player is over [[XL|level]] 18. A [[cursed]] longbow will only produce [[arrow]]s with [[enchantment]] from -5 to 0 inclusive, or -10 to 0 inclusive if the player is over [[XL|level]] 18. An [[uncursed]] longbow will produce [[arrow]]s in the range -5 to 5 inclusive, or -10 to 10 inclusive when the player is over [[XL|level]] 18. The probability distribution of the [[enchantment|enchantments]] is not uniform, see the [[rne|page on rne]] for details. With small probability, the longbow can produce [[poisoned]] [[arrow]]s.
+
The [[enchantment]] of the [[arrow]]s depends on [[rne]](3) and the [[BUC]] status of the longbow.<ref>[[Artifact.c#line1333|arti_invoke calls mksobj to create arrows]]</ref><ref>[[Mkobj.c#line391|relevant section of mksobj]]</ref> A [[BUC|blessed]] longbow will only produce [[arrow]]s with [[enchantment]] from 0 to 10 inclusive. A [[cursed]] longbow will only produce [[arrow]]s with [[enchantment]] from -10 to 0 inclusive. An [[uncursed]] longbow will produce [[arrow]]s in the range -10 to 10 inclusive. The probability distribution of the [[enchantment|enchantments]] is not uniform, see the [[rne|page on rne]] for details. With small probability, the longbow can produce [[poisoned]] [[arrow]]s.
  
 
[[Arrow]]s generated from the [[blessed]] or [[cursed]] longbow are more likely to be +0 than randomly generated [[blessed]] or [[cursed]] [[arrow]]s. This is because [[Mkobj.c#line362|mksobj]], which [[Artifact.c#line11184|arti_invoke]] calls to generate the [[arrow]]s, can produce [[arrow]]s of any [[BUC]], regardless of the [[BUC]] of the longbow, [[Artifact.c#line11184|arti_invoke]] changes the [[arrow]]s' [[BUC]] after [[Mkobj.c#line362|mksobj]] returns, and transforms negative [[enchantment]]s on [[blessed]] [[arrow]]s, and positive [[enchantment]]s on [[cursed]] [[arrow]]s into 0. This has the effect of taking some groups of [[arrow]]s, which, had they not been produced by the longbow, would have had non-zero [[enchantment]], and giving them zero [[enchantment]].
 
[[Arrow]]s generated from the [[blessed]] or [[cursed]] longbow are more likely to be +0 than randomly generated [[blessed]] or [[cursed]] [[arrow]]s. This is because [[Mkobj.c#line362|mksobj]], which [[Artifact.c#line11184|arti_invoke]] calls to generate the [[arrow]]s, can produce [[arrow]]s of any [[BUC]], regardless of the [[BUC]] of the longbow, [[Artifact.c#line11184|arti_invoke]] changes the [[arrow]]s' [[BUC]] after [[Mkobj.c#line362|mksobj]] returns, and transforms negative [[enchantment]]s on [[blessed]] [[arrow]]s, and positive [[enchantment]]s on [[cursed]] [[arrow]]s into 0. This has the effect of taking some groups of [[arrow]]s, which, had they not been produced by the longbow, would have had non-zero [[enchantment]], and giving them zero [[enchantment]].

Revision as of 00:20, 26 February 2011

)   The Longbow of Diana   Bow.png
Base item bow
Damage vs. small 1d2
Damage vs. large 1d2
To-hit bonus +1d5
Bonus versus (any)
Weapon skill bow
Size one-handed
Affiliation
When carried
When wielded
When invoked
Base price 4000 zm
Weight 30
Material wood

The Longbow of Diana is the ranger quest artifact. It is chaotic for wishing purposes. Its base item type is a bow.

When carried, the Longbow of Diana confers telepathy. When wielded, it confers reflection and +d5 to hit when firing arrows. Invoking the Bow creates arrows with the same BUC status (but not the same enchantment charge) as the Bow. A blessed Bow creates more arrows, up to 21 at once, and a cursed Bow fewer, at most 11 at once. The Bow does not have charges but the invocations have a little timeout, so you cannot create new arrows every turn.

The enchantment of the arrows depends on rne(3) and the BUC status of the longbow.[1][2] A blessed longbow will only produce arrows with enchantment from 0 to 10 inclusive. A cursed longbow will only produce arrows with enchantment from -10 to 0 inclusive. An uncursed longbow will produce arrows in the range -10 to 10 inclusive. The probability distribution of the enchantments is not uniform, see the page on rne for details. With small probability, the longbow can produce poisoned arrows.

Arrows generated from the blessed or cursed longbow are more likely to be +0 than randomly generated blessed or cursed arrows. This is because mksobj, which arti_invoke calls to generate the arrows, can produce arrows of any BUC, regardless of the BUC of the longbow, arti_invoke changes the arrows' BUC after mksobj returns, and transforms negative enchantments on blessed arrows, and positive enchantments on cursed arrows into 0. This has the effect of taking some groups of arrows, which, had they not been produced by the longbow, would have had non-zero enchantment, and giving them zero enchantment.

History

The Longbow of Diana first appears, along with the Ranger class, in NetHack 3.3.0 under the name of The Longbow of Artemis. It was renamed in NetHack 3.4.0.

Encyclopedia entry

This legendary bow grants ESP when carried and can reflect magical
attacks when wielded. When invoked it provides a supply of arrows.

References

See also