Difference between revisions of "Talk:Arrow"

From NetHackWiki
Jump to navigation Jump to search
(arrow lonlevity: stop when multishot impaired, not then stack completely disappears.)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
Does anyone know the formula nethack uses to decide whether an arrow disappears after firing?
 
Does anyone know the formula nethack uses to decide whether an arrow disappears after firing?
:: It looks like it's in Dothrow.c#throw_obj starting around line 1312, it's a random chance that is also affected by erosion and BUC status, and possibly the type of ammo.  Maybe someone with a little more practice reading the source code can deduce a formula.
+
:: It looks like it's in Dothrow.c starting around line 1312, it's a random chance that is also affected by erosion and BUC status, and possibly the type of ammo.  Maybe someone with a little more practice reading the source code can deduce a formula.
 +
 
 +
 
 +
==Big Changes==
 +
I put all the arrow pages together and took out the stub labels.  I'm putting in a request to have the old pages removed.
 +
 
 +
:There's no need to delete them; just turn them into redirects. -- [[User:Killian|Killian]] 11:20, 21 May 2008 (UTC)
 +
 
 +
==Arrow longlevity==
 +
The arrow stack longlevity tables look like they describe how often you can expect to fire until all of the arrows have vanished. I'd think it is much more useful to stop when the "stack" isn't large enough to allow full multishot instead. [[User:Tjr|Tjr]] 20:46, July 11, 2010 (UTC)

Latest revision as of 20:46, 11 July 2010

Does anyone know the formula nethack uses to decide whether an arrow disappears after firing?

It looks like it's in Dothrow.c starting around line 1312, it's a random chance that is also affected by erosion and BUC status, and possibly the type of ammo. Maybe someone with a little more practice reading the source code can deduce a formula.


Big Changes

I put all the arrow pages together and took out the stub labels. I'm putting in a request to have the old pages removed.

There's no need to delete them; just turn them into redirects. -- Killian 11:20, 21 May 2008 (UTC)

Arrow longlevity

The arrow stack longlevity tables look like they describe how often you can expect to fire until all of the arrows have vanished. I'd think it is much more useful to stop when the "stack" isn't large enough to allow full multishot instead. Tjr 20:46, July 11, 2010 (UTC)