fheroes2 icon indicating copy to clipboard operation
fheroes2 copied to clipboard

Combat, AI behavior, when an IA troop cannot reach an opposing troop, it should position so that it can reach the opposing troop no matter where the opposing troop positions the next turn when possible (0.9.6 4111)

Open LeHerosInconnu opened this issue 3 years ago • 0 comments

Preliminary checks

Describe the problem requiring a solution

In fheroes2, the AI does not optimize the placement of its troops according to the situation, and it is easy to hold a troop at a distance to hit it with damage spells.

In fheroes2:

https://user-images.githubusercontent.com/43583994/132004360-f5e87df6-c86e-47cd-bc78-ba330863af88.mp4

Here is the save file: Troop dont move 20.zip

Describe the possible solution

In the example, the AI should position his troop of Crusaders in a hex near the center of the battlefield so that he can reach the troop of Dragons no matter where the troop of Dragons is going to be positioned, rather than running behind the troop of Dragons with no hope of reaching them.

Additional info

No response

LeHerosInconnu avatar Sep 03 '21 12:09 LeHerosInconnu