Open LeHerosInconnu opened 3 years ago
I played several hours with v0.9.7 and this happened very frequently. The AI kept blatantly sending their weak heroes towards my strong hero (I guess to do some exploration). AI in the OG, was much more careful in these situations.
Another save for this (1.0.2 6820): AI heroes suicidal 01.zip
In fheroes2:
Hello @ihhub,
This AI behavior is still valid with version 1.0.8 7767.
Preliminary checks
Describe the problem requiring a solution
In fheroes2, hero Gwenneth of the yellow AI player moves too close to a human player's hero who has a much stronger army.
In fheroes2:
https://user-images.githubusercontent.com/43583994/131678171-8f3bcc4c-1a24-4331-997b-e1e8b51aefac.mp4
Here are the save files (before and after): AI hero comes too close.zip
Describe the possible solution
Each AI hero should better evaluate the risks when opposing heroes are close.
Additional info
Edit 2022/11/03.
Another save for this (version 0.9.20 5949): AI heroes move no escape.zip
AI hero Maximus moves closer to the human player's hero, rather than away from him.
In fheroes2:
https://user-images.githubusercontent.com/43583994/199731145-84984d30-3af1-4226-9cd0-da4c6dff7d02.mp4
Edit 2022/11/06.
Other saves for this (version 0.9.20 5949): Before AI heroes move 01.zip
In similar cases, the AI should send its heroes in different directions so that only one AI hero can be threatened by the opponent hero.
In fheroes2:
https://user-images.githubusercontent.com/43583994/200169506-dd0a4a98-f0db-49aa-86db-659251aa7af5.mp4
https://user-images.githubusercontent.com/43583994/200169456-0698ad30-19ec-4f93-ba8e-46cfb9c7df1b.mp4