Skip to content

Update HumanCostDecision.java#10468

Merged
Agetian merged 4 commits intoCard-Forge:masterfrom
Akse1ot:patch-3
Apr 21, 2026
Merged

Update HumanCostDecision.java#10468
Agetian merged 4 commits intoCard-Forge:masterfrom
Akse1ot:patch-3

Conversation

@Akse1ot
Copy link
Copy Markdown
Contributor

@Akse1ot Akse1ot commented Apr 20, 2026

Adds a UI filter to HumanCostDecision that prevents incompatible cards from being selected when paying an exile cost with +withSharedCardType, especially for selections of three or more cards.

Adds a UI filter to HumanCostDecision that prevents incompatible cards from being selected when paying the exile cost if the +withSharedCardType condition is met.
@Akse1ot
Copy link
Copy Markdown
Contributor Author

Akse1ot commented Apr 20, 2026

I implemented this for my fork; it may also be useful to someone in the main branch.

Comment thread forge-gui/src/main/java/forge/player/HumanCostDecision.java Outdated
Comment thread forge-gui/src/main/java/forge/player/HumanCostDecision.java Outdated
Hanmac
Hanmac previously approved these changes Apr 21, 2026
@Hanmac Hanmac requested a review from Agetian April 21, 2026 15:37
Comment thread forge-gui/src/main/java/forge/player/HumanCostDecision.java Outdated
@Agetian Agetian merged commit 640cde0 into Card-Forge:master Apr 21, 2026
2 checks passed
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