Skip to content

BBQ Farmer: heal between Auto Battle passes only when HP is below 50% (behavior change) - #21

Closed
dayfine wants to merge 6 commits into
bbq/auto-battle-boundsfrom
bbq/auto-battle-heal-threshold
Closed

dayfine wants to merge 6 commits into
bbq/auto-battle-boundsfrom
bbq/auto-battle-heal-threshold

Conversation

@dayfine

@dayfine dayfine commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

Depends on #18 (Auto Battle bounds) → #17 → #15 → #51 (PokemonAutomation#1754). Base: bbq/auto-battle-bounds; the diff shows only this change.

Part of PokemonAutomation/ComputerControl#263.

Every Auto Battle pass short of the target ended with a nurse heal and a re-fly to the Central Plaza fly point, about 28 s, which a strong lead rarely needs. A new option, Auto Battle Quest - Heal Below HP % (default 50, the user's choice, so this changes behavior unless it is set to 100), skips the heal and re-fly when the HP that clear() reads at the end of the clear is at or above it; unknown HP still heals. Skipping the re-fly is safe because return_to_plaza() already lands on the fly point that the flight to Chargestone starts from. The scripted fake now takes an HP per clear, and new PokemonSV::BBQAutoBattle scenarios cover high and low HP, unknown HP, the 50%/49% boundary and thresholds of 0 and 100 (high HP saves 112 s on an Auto Battle 10 in the model); the native BBQ runner passes 26 of 26. A live run should confirm the pass log shows a percentage rather than HP ?.

🤖 Generated with Claude Code

https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E

…ange)

Every Auto Battle pass used to end with a nurse heal and a re-fly to the
Central Plaza fly point, about 28 s, even when the lead was barely hurt.

Skip the heal and re-fly when the lead's HP, which clear() already reads
at the end of each clear, is at or above the new "Auto Battle Quest -
Heal Below HP %" option (default 50, like the Material Farmer's
Auto-Heal %). Unknown HP still heals. Skipping the re-fly is safe:
return_to_plaza() lands on the Central Plaza fly point, the same place
the first pass and quest_tera_raid()'s retry fly out from.

The per-pass log now says why the pass heals or not.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E
@dayfine dayfine added farmer Farming programs game:sv Scarlet/Violet labels Nov 1, 2026
@dayfine

dayfine commented Nov 9, 2026

Copy link
Copy Markdown
Owner Author

Superseded by consolidated Tree 2 PR #273.

@dayfine dayfine closed this Nov 9, 2026
@dayfine
dayfine deleted the bbq/auto-battle-heal-threshold branch November 13, 2026 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

farmer Farming programs game:sv Scarlet/Violet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant