mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 05:22:02 -08:00
add aether gust unit tests + fix issue #5902
This commit is contained in:
parent
7ac58f9787
commit
7155977cd2
2 changed files with 80 additions and 3 deletions
|
|
@ -62,10 +62,15 @@ public class PutOnLibraryTargetEffect extends OneShotEffect {
|
|||
}
|
||||
break;
|
||||
case GRAVEYARD:
|
||||
Card graveyardCard = game.getCard(targetId);
|
||||
if (graveyardCard != null) {
|
||||
cards.add(graveyardCard);
|
||||
}
|
||||
break;
|
||||
case STACK:
|
||||
Card card = game.getCard(targetId);
|
||||
if (card != null) {
|
||||
cards.add(card);
|
||||
Card stackSpellCard = game.getSpell(targetId).getCard();
|
||||
if (stackSpellCard != null) {
|
||||
cards.add(stackSpellCard);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue