Skip to content

Selective Obliteration: AI chooses the most prominent color#10605

Open
kojotak wants to merge 6 commits intoCard-Forge:masterfrom
kojotak:issue/10552/aiPicksWhite
Open

Selective Obliteration: AI chooses the most prominent color#10605
kojotak wants to merge 6 commits intoCard-Forge:masterfrom
kojotak:issue/10552/aiPicksWhite

Conversation

@kojotak
Copy link
Copy Markdown
Contributor

@kojotak kojotak commented May 4, 2026

Possible fix for #10552

problem

Selective Obliteration is a RepeatEach ability choosing a color with

AILogic$ MostProminentInComputerDeck

The ComputerUtilCard#chooseColor() as-is incorrectly assumes, that the activatingPlayer is always AI (computer), so it searches the wrong player's permanents, finds nothing prominent and fallbacks to white.

fix

There is Harsh Mercy - similar card choosing creature type with MostProminentInComputerDeck. This one works, because ComputerUtil#chooseSomeType has the selecting player as its first parameter.

test

image

@kojotak kojotak marked this pull request as ready for review May 5, 2026 20:15
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.

1 participant