Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve AI ghosts' target priorities #7685

Open
1 task done
zenseii opened this issue Sep 3, 2023 · 0 comments · Fixed by #7766
Open
1 task done

Improve AI ghosts' target priorities #7685

zenseii opened this issue Sep 3, 2023 · 0 comments · Fixed by #7766
Labels
AI Artificial intelligence behaviour improvement New feature, request or improvement
Milestone

Comments

@zenseii
Copy link
Collaborator

zenseii commented Sep 3, 2023

Preliminary checks

Describe the problem requiring a solution

This issue was reported by several users of fheroes2.

There are still obvious cases when the ghosts do not choose to attack a stack which would grant them immediate higher numbers (aka peasants).

One such reproducible example is if you pit 1 wolf and 4 peasants against 1 ghost. The ghosts will attack the wolves first for whatever reason I can't check right now:
Screenshot_20230903_101409_fheroes2

Describe the possible solution

In general, make sure ghosts prioritize more increasing their numbers.

Although there could be cases when purely basing their decision on this isn't the best choice, for example against shooters with peasants in their army.

Additional info

No response

@zenseii zenseii added improvement New feature, request or improvement AI Artificial intelligence behaviour labels Sep 3, 2023
@zenseii zenseii added this to the 1.1.0 milestone Sep 3, 2023
ihhub added a commit that referenced this issue Sep 16, 2023
Since Ghosts have Soul Eater ability it is important to calculate the possible growth of their numbers after the attack.

close #7685
@ihhub ihhub self-assigned this Sep 16, 2023
ihhub added a commit that referenced this issue Sep 21, 2023
@ihhub ihhub reopened this Sep 21, 2023
@ihhub ihhub removed their assignment Oct 2, 2023
@ihhub ihhub modified the milestones: 1.1.0, 1.1.1 May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AI Artificial intelligence behaviour improvement New feature, request or improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants