ihhub / fheroes2

fheroes2 is a recreation of Heroes of Might and Magic II game engine.
https://ihhub.github.io/fheroes2/
GNU General Public License v2.0
2.69k stars 375 forks source link

Battle: add a window with a retreat question #7944

Closed fheroes2bugs closed 10 months ago

fheroes2bugs commented 11 months ago

Preliminary checks

Describe the problem requiring a solution

As far as I remember, in original heroes 2, if it autobattle enabled, if you are going to lose, appears a window with a question: will you retreat or die?

In fheroes2 I just lose the battle and lose the hero:

https://github.com/ihhub/fheroes2/assets/145407420/c9b15ff8-e02a-444a-94bb-b4aeed0ed133

Describe the possible solution

Add this window

Additional info

version 1.09

save: window retreat.zip

ihhub commented 10 months ago

The window exists in the game. The AI needs changes in logic which are going to be addressed in #7344 .

I'm closing this issue as duplicate.

oleg-derevenetz commented 10 months ago

Hi @ihhub fheroes2 in auto battle mode never asks the player to retreat, and the original game doesn't do that either (I've never seen this). This is a video from the original game:

https://github.com/ihhub/fheroes2/assets/32623900/edb810b1-fcbd-49fb-9cd7-f451ebdb1dfa

Perhaps the author of the issue confused with HoMM3 HotA, where there really is something like this:

https://github.com/ihhub/fheroes2/assets/32623900/0d8bd195-e119-44cc-a0ce-97943da6f081

ihhub commented 10 months ago

Hi @oleg-derevenetz , do we intend to implement this? I think such "improvement" makes the game more casual, where players just play the game with the AI doing everything.

oleg-derevenetz commented 10 months ago

Hi @ihhub I think definitely not in the near future. Maybe someday later, when there will be clear justifications for the necessity of this feature. The losing player in most cases will not retreat, but load the last save and try to replay the battle manually hoping for better result or surrender for money.