Skip to content

Fix auto-tap highlight never showing#11339

Open
autumnmyst wants to merge 1 commit into
Card-Forge:masterfrom
autumnmyst:fix-autotap-highlight
Open

Fix auto-tap highlight never showing#11339
autumnmyst wants to merge 1 commit into
Card-Forge:masterfrom
autumnmyst:fix-autotap-highlight

Conversation

@autumnmyst

@autumnmyst autumnmyst commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

The auto-tap highlight never appeared because getManaSourcesToPayCost read its cards from a List<Mana> that a test=true payment never populates (test mode only predicts the mana produced and records the chosen abilities) so it always returned an empty set and no card reached the strength-2 threshold the highlight requires. This threads the chosen mana abilities out of payManaCost so their host cards are reported, and draws the glow after the actionable highlight so it stays visible when black borders are disabled, where that highlight is an outset that otherwise covers it.

EDIT: now after rebase this PR only changes the visuals for more clarity by making the boarder highlight the same yellow as the glow for visual clarity.

Comment thread forge-ai/src/main/java/forge/ai/ComputerUtilMana.java Outdated
@autumnmyst
autumnmyst force-pushed the fix-autotap-highlight branch from 6b4b8c6 to 8af375a Compare July 24, 2026 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants