ihhub/fheroes2

AI doesn't take into an account Troll's regenerative abilities

Aperta

#8792 aperta il 1 giu 2024

 (2 commenti) (0 reazioni) (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 doesn't take into an account Troll's regenerative abilities leading to waste of shooter's arrows. Attack the nearest castle and use autobattle mode to see what happens: Rangers waste shots on Trolls.

Aventerra_0025.zip

Describe the possible solution

Make AI to not to waste shots for such cases: the simplest check would be if no magic exist and it is the last shooter to hit the enemy.

Additional info

No response

Guida contributor