Files
nethack/include
nethack.rankin ce018468c4 crossing long worms' tails (trunk only)
This is one of the items from "#Q397: List of Bugs from #nethack" sent
in Janurary by <email deleted> and containing a list
of things collected from the IRC channel associated with nethack.alt.org's
public server.  Moving diagonally between segments of a worm tail is
conceptually passing right through the worm's body.  This patch prevents
moving in such a fashion for both the hero and monsters (it's still
possible to fight in that position though).  It only applies when the two
tail segments are consecutive.

|......  In the diagram here, where tail segments are represented by
|.w1?..  digits indicating relative sequence number, the @ can still
|..@2..  move between segments 2 and 5 to reach !, but can no longer
|.65!3.  move between 1 and 2 to reach ?.  [However, if there is a
|...4..  monster at the ? spot, it can still hit @ and vice versa.]

     Missiles and wand zaps still pass through such diagonals without
noticing or affecting the worm.  I'm not sure whether this ought to be
extended to change that--it might get pretty messy since it would need
to be considered during monsters' targetting as well as during the path
traversal itself.
2007-07-17 00:29:44 +00:00
..
2002-01-18 02:50:06 +00:00
2002-01-05 21:05:47 +00:00
2006-10-17 23:55:42 +00:00
2006-10-08 21:37:58 +00:00
2007-03-03 05:07:53 +00:00
2006-10-01 21:17:38 +00:00
2007-06-19 03:13:20 +00:00
2002-01-05 21:05:47 +00:00
2007-01-19 03:02:05 +00:00
2002-01-05 21:05:47 +00:00
2006-04-14 16:23:56 +00:00
2005-03-13 05:29:01 +00:00
2007-04-30 02:18:03 +00:00
2007-04-08 04:35:19 +00:00
2007-04-01 01:20:57 +00:00
2006-09-21 01:46:15 +00:00
2007-01-09 05:29:17 +00:00
2006-07-10 02:10:22 +00:00
2006-01-06 05:46:03 +00:00
2002-01-05 21:05:48 +00:00
2006-10-17 23:55:42 +00:00
2006-02-12 06:24:25 +00:00
2006-10-02 13:15:50 +00:00
2005-01-02 20:55:41 +00:00
2006-10-26 23:30:00 +00:00
2006-10-08 21:37:58 +00:00
2006-10-02 13:15:50 +00:00
2005-01-23 19:39:01 +00:00
2007-01-18 04:16:03 +00:00
2006-10-17 23:55:42 +00:00
2006-03-02 05:54:04 +00:00
2007-03-18 03:26:43 +00:00