mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
- Fixed a bug in AF Reveal.
This commit is contained in:
@@ -446,11 +446,11 @@ public final class AbilityFactoryReveal {
|
||||
if (!noMove) {
|
||||
CardList movedCards = new CardList();
|
||||
CardList andOrCards = new CardList();
|
||||
if (mitosis) {
|
||||
valid = AbilityFactoryReveal.sharesNameWithCardOnBattlefield(top);
|
||||
for (final Card c : top) {
|
||||
rest.add(c);
|
||||
}
|
||||
if (mitosis) {
|
||||
valid = AbilityFactoryReveal.sharesNameWithCardOnBattlefield(top);
|
||||
} else if (!changeValid.equals("")) {
|
||||
if (changeValid.contains("ChosenType")) {
|
||||
changeValid = changeValid.replace("ChosenType", host.getChosenType());
|
||||
@@ -461,9 +461,6 @@ public final class AbilityFactoryReveal {
|
||||
andOrCards.removeAll(valid);
|
||||
valid.addAll(andOrCards);
|
||||
}
|
||||
for (final Card c : top) {
|
||||
rest.add(c);
|
||||
}
|
||||
if (valid.isEmpty() && choser.isHuman()) {
|
||||
valid.add(dummy);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user