Cleaner Focus Punch Handling #6031
Labels
category: battle-ai
Pertains to Battle Engine Upgrade's AI
feature-request
Requests a new feature
type: refactor
type: reminder
Description
Focus Punch is uniquely problematic because it's a super high damage move that the AI almost never wants to go for.
#6028 refactors Focus Punch handling to be more flexible with AI scoring so the AI can actually use it, which is great, but this also means that everywhere in the codebase that calculates a maximum damage or a hits-to-KO threshold will consider Focus Punch as dealing max damage, even though it doing so is very unlikely due to the nature of Focus Punch.
I fixed the one case that was needed to pass existing tests in #6028, but there might be a smarter / cleaner solution overall given some time to think about it.
This issue is a reminder so Alex and I don't forget that we should come back to this.
Discord contact info
@Pawkkie
The text was updated successfully, but these errors were encountered: