mirror of
https://github.com/correl/mage.git
synced 2025-03-16 09:16:26 -09:00
[ZNR] Fix Turntimber Symbiosis not shuffling cards (#9158)
This commit is contained in:
parent
a8a16968d3
commit
25e3c62eee
1 changed files with 10 additions and 10 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue