ihhub/fheroes2

AI heroes should retreat more often if the battle outcome is obvious

Offen

#7.344 geöffnet am 19.06.2023

 (1 Kommentar) (1 Reaktion) (0 zugewiesene Personen)C++ (469 Forks)auto 404
aihelp wantedimprovement

Repository-Metriken

Stars
 (3.415 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 5T 15h) (10 gemergte PRs in 30 T)

Beschreibung

Preliminary checks

Describe the problem requiring a solution

AI heroes do not retreat during very obvious cases when they would definitely lose. Retreating from a battle is more beneficial than just give the opponent to win because the opponent would have more experience at the end.

Describe the possible solution

We need to add more conditions that even even weakest AI heroes should escape if there is nothing much to do during the battle.

Additional info

No response

Contributor Guide