Talk:Arrow

From NetHackWiki
Revision as of 22:24, 9 January 2008 by MysterX (talk | contribs)
Jump to navigation Jump to search

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.