mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
- Fixed #5686
This commit is contained in:
parent
d48bae964d
commit
bd6bb7b796
1 changed files with 2 additions and 0 deletions
|
@ -70,12 +70,14 @@ class TheMimeoplasmEffect extends OneShotEffect {
|
|||
if (new CardsInAllGraveyardsCount(new FilterCreatureCard()).calculate(game, source, this) >= 2) {
|
||||
if (controller.chooseUse(Outcome.Benefit, "Do you want to exile two creature cards from graveyards?", source, game)) {
|
||||
TargetCardInGraveyard targetCopy = new TargetCardInGraveyard(new FilterCreatureCard("creature card to become a copy of"));
|
||||
targetCopy.setNotTarget(true);
|
||||
if (controller.choose(Outcome.Copy, targetCopy, source.getSourceId(), game)) {
|
||||
Card cardToCopy = game.getCard(targetCopy.getFirstTarget());
|
||||
if (cardToCopy != null) {
|
||||
FilterCreatureCard filter = new FilterCreatureCard("creature card to determine amount of additional +1/+1 counters");
|
||||
filter.add(Predicates.not(new CardIdPredicate(cardToCopy.getId())));
|
||||
TargetCardInGraveyard targetCounters = new TargetCardInGraveyard(filter);
|
||||
targetCounters.setNotTarget(true);
|
||||
if (controller.choose(Outcome.Copy, targetCounters, source.getSourceId(), game)) {
|
||||
Card cardForCounters = game.getCard(targetCounters.getFirstTarget());
|
||||
if (cardForCounters != null) {
|
||||
|
|
Loading…
Reference in a new issue