fheroes2
fheroes2 copied to clipboard
Combat, Golems decide not to attack dragons and walk away to attack another dragons
Preliminary checks
- [X] I've checked that there aren't other open issues on the same topic.
- [X] I've checked that this issue is reproducible on the latest snapshot build.
Platform
Windows
Describe the bug
https://user-images.githubusercontent.com/55348946/236820594-131245ec-93c5-4137-ada7-33a89721659d.mov
Golems could attack the lowest stack of dragons, but decide to attack another, which requrest two turns to reach, instead of instant attack.
Save file
Additional info
No response
Hello @Branikolog,
Golems could attack the lowest stack of dragons, but decide to attack another, which requrest two turns to reach, instead of instant attack.
It seems that the troop of golems is moving in order to attack (next turn) the group of dragons that took the most damage. This may be a good tactic. However, the path to this group of dragons will be blocked by the group of boars anyway (if the AI plays this same tactic of attacking the most damaged group of dragons first). And if this is the case (the group of boars is blocking access to the group of dragons at the top of the screen), attacking the group of dragons at the bottom of the screen (which also suffered some damage) would have been more judicious. Here the AI should be taught to organize his actions over several turns (at least two turns) without his own troops getting in each other's way.
@Branikolog.
When loading the provided save file, I don't get the same obstacle configuration nor the same obstacles on the battlefield, while the configuration should be the same because it's the same square of the adventure map from a save file. This is a bug that I will report. (https://github.com/ihhub/fheroes2/issues/7146)
In fheroes2: Screenshot from the scenario video:
Screenshot from the saved scenario:
In your combat: Did the boars block the access? And what did the golems do then?
Hi, @LeHerosInconnu
Hello @Branikolog,
Golems could attack the lowest stack of dragons, but decide to attack another, which requrest two turns to reach, instead of instant attack.
It seems that the troop of golems is moving in order to attack (next turn) the group of dragons that took the most damage. This may be a good tactic. However, the path to this group of dragons will be blocked by the group of boars anyway (if the AI plays this same tactic of attacking the most damaged group of dragons first). And if this is the case (the group of boars is blocking access to the group of dragons at the top of the screen), attacking the group of dragons at the bottom of the screen (which also suffered some damage) would have been more judicious. Here the AI should be taught to organize his actions over several turns (at least two turns) without his own troops getting in each other's way.
Well, Golems could do considerable damage to the lowest stack, but they instead ignored it and rushed the upper one. I suppose, they could only do this only if they do ridiculously low damage and would die from the retaliation. Only then I suppose they could come to the upper location to block somebody or sacrifice for the sake of turning retaliation off.
When supposedly target dragons were blocked, Golems start attacking the nearest one. So the maneuver from the video was useless. :)
Another exampe I borrowed from a video from youtube:
https://github.com/ihhub/fheroes2/assets/55348946/bbc5ca7e-30c8-4bd4-a144-f184140e6202