Difference between revisions of "Create ammo"

From NetHackWiki
Jump to navigation Jump to search
m (Chance to = opportunity; chance of = probability)
m (EvilHack: Capital letter)
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
'''Create ammo''' is a [[technique]] a [[Gangster]] begins with in [[Slash'EM Extended]]. It can also be learned by a [[pokemon]] that has gained enough level-ups to reach experience level 15. [[Zyborg]]s can randomly learn this technique upon leveling up, and [[binder]]s with expert [[firearms]] skill automatically learn it.
+
{{otheruses|the [[artifact]] [[invoke]] effect|the deferred [[technique]] in [[SlashTHEM]]|Deferred and defunct features (SlashTHEM)#Create ammo}}
  
Using this technique causes the player character to "make some ammo for your gun", adding (techlevel+1) [[bullet]]s to the inventory; if the [[knapsack]] is full (52 items or more in main inventory), ammo creation is aborted. This means it's probably a good idea to free up some item slots for using this technique, as every bullet has its own chance of being [[blessed]], [[cursed]] or having a random positive or negative [[enchantment]]. After it has been used, the player has to wait a random time in order to use it again; the timeout is usually around 500 turns.
+
'''Create ammo''' is a [[property]] that appears in ''[[NetHack]]'' and only occurs as an item effect of [[artifact weapon]]s that can be [[invoked]].
  
A [[firearms|gunslinger]] player may want to use this technique a lot in order to always have some ammo for his guns; it's only useful for guns that use normal bullets, though. The maximum amount of bullets per use is 31 for a gangster that is at experience level 30.
+
==Description==
 +
Creating ammo is solely associated with the artifact weapon [[The Longbow of Diana]], and is formally defined by the <code>CREATE_AMMO</code> flag in [[artifact.h]].{{refsrc|include/artilist.h|232|version=NetHack 3.6.7}}{{refsrc|include/artifact.h|66|version=NetHack 3.6.7}} The effect will create a set of [[projectile]] [[weapon]] items that typically match the [[launcher]] being invoked.
  
[[Category:Techniques]]
+
===Arrow creation details===
[[Category:Slash'EM Extended]]
+
{{main|RNE}}
 +
The [[enchantment]] range of the items created is inclusive and depends on [[rne]](3) and the current beatitude of the artifact when invoked.{{refsrc|src/artifact.c|1582|version=NetHack 3.6.7|comment=arti_invoke calls mksobj to create arrows}}{{refsrc|src/mkobj.c|803|version=NetHack 3.6.7|comment=relevant section of mksobj}} A blessed Longbow or other artifact with this effect will only produce arrows with enchantment from 0 to 10; a cursed Longbow will only produce arrows with enchantment from -10 to 0; and an uncursed Longbow will produce arrows in the range of -10 to 10.
 +
 
 +
The probability distribution of the enchantments is not uniform: Items generated from a blessed or cursed Longbow of Diana (or other artifact) are more likely to be +0 than randomly generated blessed or cursed arrows. This is because <code>mksobj</code> - which <code>arti_invoke</code> calls to generate the items - can produce items of any beatitude, regardless of the artifact's beatitude, and the items have their beatitude changed to the intended one that <code>mksobj</code> returns, bringing negative enchantments on blessed items and positive enchantments on cursed items to 0.
 +
 
 +
==Strategy==
 +
While in theory it can be quite useful to have a never-ending supply of ammo on demand with lenient cooldown, in practice this relies entirely on the type of ammo produced: the Longbow of Diana is notoriously much less effective as a [[quest artifact]] for [[Ranger]]s that are not [[Human (starting race)|human]], since each playable race gains [[multishot]] bonuses for using particular types of [[arrow]]s and [[bow]]s - non-human Rangers lose out on up to a +2 racial multishot bonus by switching to the Longbow. [[Gnome (starting race)|Gnomish]] Rangers are especially out of luck since they gain multishot from using [[crossbow]]s, which requires an entirely different [[skill]] than the Longbow. Additionally, arrows themselves are fairly commonplace around the dungeon, and a character with sufficient [[Luck]] and enchantment will not lack for spare arrows.
 +
 
 +
{{upcoming|NetHack 3.7.0|Rangers get a +1 [[multishot]] bonus when wielding the Longbow of Diana.}}
 +
 
 +
==Variants==
 +
Variants of ''NetHack'' may add other artifact weapons with the ability to create ammo and/or alter how it functions.
 +
 
 +
===dNetHack===
 +
In [[dNetHack]], several artifacts are capable of creating ammo when invoked, including artifacts with non-launcher [[base item]]s:
 +
 
 +
* [[dNetHack artifacts#Fuma-itto no Ken|Fuma-itto no Ken]], an artifact [[broadsword]] that creates [[shuriken]]
 +
* [[dNetHack artifacts#Yoichi no yumi|Yoichi no yumi]], an artifact [[yumi]] that creates [[ya]]
 +
* [[dNetHack artifacts#Silver Starlight|Silver Starlight]], an artifact [[rapier]] that creates shuriken
 +
* [[dNetHack artifacts#Wrathful Spider|Wrathful Spider]], an artifact [[droven crossbow]] that creates [[droven bolt]]s
 +
* [[dNetHack artifacts#Liecleaver|Liecleaver]], an artifact droven crossbow that creates droven bolts
 +
* [[dNetHack artifacts#Belthronding|Belthronding]], an artifact [[elven bow]] that creates [[elven arrow]]s
 +
* [[The Annulus]], an artifact with multiple forms that can create [[silver bullet]]s or rockets while in the form of a [[BFG]]
 +
 
 +
[[The Moonbow of Sehanine]] is an artifact elven bow in the data of dNetHack that creates elven arrows similar to Belthronding, but is not available in regular play.
 +
 
 +
===EvilHack===
 +
In [[EvilHack]], [[The Crossbow of Carl]] has the same invocation effect as the Longbow.
 +
 
 +
[[Object materials (EvilHack)|Object materials]] and [[Forge (dungeon feature)|forges]] mean that a variety of arrows and [[crossbow bolt]]s can be created and used for purposes beyond ammo.
 +
 
 +
===SlashTHEM===
 +
In [[SlashTHEM]], the Yoichi no yumi and Fuma-itto no Ken can create ammo as in dNetHack.
 +
 
 +
Fuma-itto no Ken in particular is the quest artifact for the [[Ninja (role)|Ninja]] [[role]], which can reach Expert skill in shuriken.
 +
 
 +
==References==
 +
<references/>
 +
{{nethack-367}}
 +
[[Category:Item attributes]]

Latest revision as of 23:09, 10 February 2024

This article is about the artifact invoke effect. For the deferred technique in SlashTHEM, see Deferred and defunct features (SlashTHEM)#Create ammo.

Create ammo is a property that appears in NetHack and only occurs as an item effect of artifact weapons that can be invoked.

Description

Creating ammo is solely associated with the artifact weapon The Longbow of Diana, and is formally defined by the CREATE_AMMO flag in artifact.h.[1][2] The effect will create a set of projectile weapon items that typically match the launcher being invoked.

Arrow creation details

Main article: RNE

The enchantment range of the items created is inclusive and depends on rne(3) and the current beatitude of the artifact when invoked.[3][4] A blessed Longbow or other artifact with this effect will only produce arrows with enchantment from 0 to 10; a cursed Longbow will only produce arrows with enchantment from -10 to 0; and an uncursed Longbow will produce arrows in the range of -10 to 10.

The probability distribution of the enchantments is not uniform: Items generated from a blessed or cursed Longbow of Diana (or other artifact) are more likely to be +0 than randomly generated blessed or cursed arrows. This is because mksobj - which arti_invoke calls to generate the items - can produce items of any beatitude, regardless of the artifact's beatitude, and the items have their beatitude changed to the intended one that mksobj returns, bringing negative enchantments on blessed items and positive enchantments on cursed items to 0.

Strategy

While in theory it can be quite useful to have a never-ending supply of ammo on demand with lenient cooldown, in practice this relies entirely on the type of ammo produced: the Longbow of Diana is notoriously much less effective as a quest artifact for Rangers that are not human, since each playable race gains multishot bonuses for using particular types of arrows and bows - non-human Rangers lose out on up to a +2 racial multishot bonus by switching to the Longbow. Gnomish Rangers are especially out of luck since they gain multishot from using crossbows, which requires an entirely different skill than the Longbow. Additionally, arrows themselves are fairly commonplace around the dungeon, and a character with sufficient Luck and enchantment will not lack for spare arrows.

The following information pertains to an upcoming version (NetHack 3.7.0). If this version is now released, please verify that it is still accurate, then update the page to incorporate this information.

Rangers get a +1 multishot bonus when wielding the Longbow of Diana.

Variants

Variants of NetHack may add other artifact weapons with the ability to create ammo and/or alter how it functions.

dNetHack

In dNetHack, several artifacts are capable of creating ammo when invoked, including artifacts with non-launcher base items:

The Moonbow of Sehanine is an artifact elven bow in the data of dNetHack that creates elven arrows similar to Belthronding, but is not available in regular play.

EvilHack

In EvilHack, The Crossbow of Carl has the same invocation effect as the Longbow.

Object materials and forges mean that a variety of arrows and crossbow bolts can be created and used for purposes beyond ammo.

SlashTHEM

In SlashTHEM, the Yoichi no yumi and Fuma-itto no Ken can create ammo as in dNetHack.

Fuma-itto no Ken in particular is the quest artifact for the Ninja role, which can reach Expert skill in shuriken.

References