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 Trick/Switcheroo giving AI score even if the opponent has no held item #5412

Merged
merged 1 commit into from
Sep 21, 2024

Conversation

kittenchilly
Copy link

Description

Simply checks if the AI knows the opponent has a held item before running the code that gives score depending on what hold effect it is. Before it always gave a weak score to the move even if the opponent had no held item.

Issue(s) that this PR fixes

Fixes #5411

Discord contact info

kittenchilly

@AlexOn1ine AlexOn1ine merged commit f7d2e62 into rh-hideout:master Sep 21, 2024
1 check passed
@AlexOn1ine AlexOn1ine added category: battle-ai Pertains to Battle Engine Upgrade's AI bugfix Bugfixes labels Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Bugfixes category: battle-ai Pertains to Battle Engine Upgrade's AI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NPC Trainer Repeatedly Uses Switcheroo Without Held Item
2 participants