ihhub/fheroes2

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

オープン

#8,792 opened on 2024/06/01

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)C++ (469 件のフォーク)auto 404
aihelp wantedimprovement

Repository metrics

Stars
 (3,415 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド