Talk:Arrow
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.