ihhub/fheroes2

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

Aperta

#7344 aperta il 19 giu 2023

 (1 commento) (1 reazione) (0 assegnatari)C++ (469 fork)auto 404
aihelp wantedimprovement

Metriche repository

Star
 (3415 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor