[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);
Card card = game.getCard(target.getFirstTarget());
if (card == null) {
player.putCardsOnBottomOfLibrary(cards, game, source, false);
return true;
}
if (card != null) {
cards.remove(card);
boolean small = card.getManaValue() <= 3;
player.moveCards(card, Zone.BATTLEFIELD, source, game);
Permanent permanent = game.getPermanent(card.getId());
if (permanent == null || !small) {
return true;
boolean small = card.getManaValue() <= 3;
player.moveCards(card, Zone.BATTLEFIELD, source, game);
Permanent permanent = game.getPermanent(card.getId());
if (small && permanent != null) {
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;
}
}