[ZNR] Fix Turntimber Symbiosis not shuffling cards (#9158)

This commit is contained in:
Alex Vasile 2022-07-04 22:22:08 -04:00 committed by GitHub
parent a8a16968d3
commit 25e3c62eee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -97,18 +97,18 @@ class TurntimberSymbiosisEffect extends OneShotEffect {
); );
player.choose(outcome, cards, target, game); player.choose(outcome, cards, target, game);
Card card = game.getCard(target.getFirstTarget()); Card card = game.getCard(target.getFirstTarget());
if (card == null) { if (card != null) {
player.putCardsOnBottomOfLibrary(cards, game, source, false); cards.remove(card);
return true;
}
boolean small = card.getManaValue() <= 3; boolean small = card.getManaValue() <= 3;
player.moveCards(card, Zone.BATTLEFIELD, source, game); player.moveCards(card, Zone.BATTLEFIELD, source, game);
Permanent permanent = game.getPermanent(card.getId()); Permanent permanent = game.getPermanent(card.getId());
if (permanent == null || !small) { if (small && permanent != null) {
return true; permanent.addCounters(CounterType.P1P1.createInstance(3), source.getControllerId(), source, game);
}
} }
permanent.addCounters(CounterType.P1P1.createInstance(3), source.getControllerId(), source, game); player.putCardsOnBottomOfLibrary(cards, game, source, false);
return true; return true;
} }
} }