mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
- Fix Cream of the Crop not revealing a card when x = 1.
This commit is contained in:
@@ -194,7 +194,7 @@ public class DigEffect extends SpellAbilityEffect {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// If all the cards are valid choices, no need for a separate reveal dialog to the chooser.
|
// If all the cards are valid choices, no need for a separate reveal dialog to the chooser.
|
||||||
if (p == chooser) {
|
if (p == chooser && destZone1ChangeNum > 1) {
|
||||||
delayedReveal = null;
|
delayedReveal = null;
|
||||||
}
|
}
|
||||||
valid = top;
|
valid = top;
|
||||||
@@ -369,6 +369,7 @@ public class DigEffect extends SpellAbilityEffect {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO This should be somewhere else, maybe like CardUtil or something like that
|
||||||
// returns a List<Card> that is a subset of list with cards that share a name
|
// returns a List<Card> that is a subset of list with cards that share a name
|
||||||
// with a permanent on the battlefield
|
// with a permanent on the battlefield
|
||||||
private static CardCollection sharesNameWithCardOnBattlefield(final Game game, final List<Card> list) {
|
private static CardCollection sharesNameWithCardOnBattlefield(final Game game, final List<Card> list) {
|
||||||
|
|||||||
Reference in New Issue
Block a user