mirror of
https://github.com/correl/mage.git
synced 2024-12-25 19:25:41 +00: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);
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue