Difference between revisions of "Talk:Arrow"
Jump to navigation
Jump to search
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 | + | :: 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. |
Revision as of 22:25, 9 January 2008
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.