fheroes2 icon indicating copy to clipboard operation
fheroes2 copied to clipboard

Adventure map, AI behavior, AI hero does not attack a weak hero and gets dangerously close to a stronger hero (0.9.20 5949)

Open LeHerosInconnu opened this issue 2 years ago • 0 comments

Preliminary checks

Describe the problem requiring a solution

In fheroes2, an AI hero does not attack a weak hero and gets dangerously close to a stronger hero.

In fheroes2:

https://user-images.githubusercontent.com/43583994/200322981-a67cb7dd-b2d5-49ba-8018-b4a1231ce0ea.mp4

Here is the save file: Before AI not attack 01.zip

Describe the possible solution

Make the AI deal with weak heroes nearby (they can still be a nuisance, like capturing resource generators, etc.). Make the AI's heroes not get close to more powerful heroes (except maybe to combine several attacks of its heroes with a first hero destined to "weaken" the hero by making him spend magic points or by casting damage spells, etc.).

Additional info

No response

LeHerosInconnu avatar Nov 07 '22 13:11 LeHerosInconnu