ihhub/fheroes2

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

Ouverte

#7 344 ouverte le 19 juin 2023

 (1 commentaire) (1 réaction) (0 personne assignée)C++ (469 forks)auto 404
aihelp wantedimprovement

Métriques du dépôt

Stars
 (3 415 étoiles)
Métriques de merge PR
 (Merge moyen 5j 15h) (10 PRs mergées en 30 j)

Description

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

Guide contributeur