Take a look at this pic. Note that it's cavalry's turn now.
http://imageshack.com/a/img40/4595/5wxx.png
This is what you see in a clearer description.
http://imageshack.com/a/img850/1518/lmx2.png
Now I'm going to explain what's the problem.
The game "shadows" the area over which the cavalry can move (in the custom image, that's the green tiles) on all directions. So far so good. I will focus my explanation on the custom image (2nd link) :
I name the top left tile as 1:1 and the rest of them respectively increasing to the right and to the bottom. i:j => i=row and j=column
As you can see, the cavalry can move to 2:2,2:3,3:2,3:3
It can also move to 2:4,2:5,3:4,3:5
HOWEVER, it can't move to 2:3,2:4,3:3,3:4 and this is ok because there is no path to reach there given its speed 7. The problem is, when the player mouseovers on 2:3,2:4,3:3,3:4 the moving-system makes a square on those tiles and when you click to move there nothing happens. So, make the mouseover to be unable to select such tile-pairs in case the creature can't move there. |