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

Fix battle palace bug #2416

Merged
merged 3 commits into from
Nov 1, 2022
Merged

Conversation

DizzyEggg
Copy link
Collaborator

This should hopefully fix the battle palace bug #2396

How did the bug appear?
The way AI moves are set-up and chosen was changed a while ago, but the palace code has not been updated with these changes.

@AsparagusEduardo
Copy link
Collaborator

It seems that all described issues were fixed, but now there's a new one introduced: Sometimes the AI will attack themselves, no matter if they're in the player's side or the opponent's.

autotarget3.mp4
autotarget4.mp4

@DizzyEggg
Copy link
Collaborator Author

Does it happen all the time or only with specific moves / moves with specific target?

@AsparagusEduardo
Copy link
Collaborator

Does it happen all the time or only with specific moves / moves with specific target?

It doesn't happen all the time, but so far I've only encountered it with moves that target a single foe.

Here's Mud Shot targeting the user and then the opponent in the next turn:

autotarget5.mp4

@DizzyEggg
Copy link
Collaborator Author

@AsparagusEduardo Should be fixed now

@AsparagusEduardo AsparagusEduardo changed the base branch from wip-2.0.0 to upcoming October 31, 2022 18:26
@AsparagusEduardo AsparagusEduardo merged commit ebc9fc3 into rh-hideout:upcoming Nov 1, 2022
@AsparagusEduardo AsparagusEduardo mentioned this pull request Nov 10, 2022
@DizzyEggg DizzyEggg deleted the fix_palace branch July 6, 2023 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants