Ticket #700 (closed bug: fixed)

Opened 20 months ago

Last modified 16 months ago

Running should not run into immobile monsters

Reported by: takkaria Owned by: takkaria
Milestone: 3.1.1 beta Keywords:
Cc:

Attachments

Change History

  Changed 16 months ago by magnate

  • owner set to magnate
  • status changed from new to assigned

  Changed 16 months ago by magnate

It looks as if this has already been incorporated into pathfind.c - perhaps this ticket can be closed?

  Changed 16 months ago by magnate

  • owner changed from magnate to takkaria

Hmmm. I can't see any changes to this code, yet it looks a lot like the patch proposed in the forum thread linked above. It's not clear that adding && (r_ptr->flags[2] & RF2_NEVER_MOVE) would improve things. Reassigning to Takkaria to give guidance or close.

follow-up: ↓ 5   Changed 16 months ago by magnate

I just tested this, with a mold in exactly the right place:

####
#..m
#.##
#.#

I ran up the corridor and stopped in the corner, one square away from adjacent to the mold. The only remaining possibility for this ticket is if you run towards an immobile monster that you can already see. I haven't tried that.

in reply to: ↑ 4   Changed 16 months ago by magnate

Replying to magnate:

The only remaining possibility for this ticket is if you run towards an immobile monster that you can already see. I haven't tried that.

Ok, I tested it. If you run towards an immobile (or sleeping) monster that you can already see, you run right up to it. IMO you should stop one square away in either case.

  Changed 16 months ago by magnate

  • status changed from assigned to closed
  • resolution set to fixed

r1413 (for any monsters, not just immobile ones)

Add/Change #700 (Running should not run into immobile monsters)

Author



Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.