From NetHackWiki
Jump to: navigation, search

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)