Pyrdacor / Ambermoon.net

Ambermoon rewrite in C#
GNU General Public License v3.0
424 stars 22 forks source link

[Bug Report] Enemies get stuck in second lowest row #364

Closed Talmit closed 10 months ago

Talmit commented 11 months ago

Describe the bug When an enemy enters the second lowest row, he seems to be unable to move.

To Reproduce Steps to reproduce the behavior:

  1. Put the player character in the rightmost position of the front row, Egil next to them
  2. Start combat with the bandit + bandit captain
  3. Click on okay. The leftmost bandit moves into the second lowest row
  4. Click on okay. The leftmost bandit stays where he was in the round before, although a route to Egil is valid
  5. Kill the central bandit next to Egil (e.g. Firebrand)
  6. Click on okay. The leftmost bandit still remains (even though now a route in the second and third row is available)

Expected behavior The bandit should use the path in the second row to move to Egil. If he cannot move horizontally in the second row, he should return to the third row and move to Egil as soon as the place next to him is free.

Screenshots Movements during combat. image image image After Fireball: image

Desktop (please complete the following information):

Additional context I'm using ambermoon advanced (1.03) and ambermoon 1.9.2. The attached Save 2 has the appropriate setup, simply clicking okay during combat should create the situation described in the bug.

Pyrdacor commented 10 months ago

This should be fixed in 1.9.3 now.

Pyrdacor commented 10 months ago

Note that the bandit will still not move up and right if another bandit blocks the horizontal way. This is on purpose for now and not a bug. More a missing feature. ;)

Talmit commented 10 months ago

I think that's also behavior from the original game, so that would be as expected ;) I was just initially wondering that the bandit wasn't moving at all if it had a direct route, thanks for fixing this :)