Implemented Celestial Gatekeeper

This commit is contained in:
Evan Kranzler 2017-09-13 10:30:35 -04:00
parent 4ab4c449d8
commit cd58164b89
4 changed files with 102 additions and 4 deletions

View file

@ -75,7 +75,7 @@ public class ReturnFromGraveyardToBattlefieldTargetEffect extends OneShotEffect
Set<Card> cardsToMove = new HashSet<>();
for (UUID targetId : getTargetPointer().getTargets(game, source)) {
Card card = game.getCard(targetId);
if (card != null) {
if (card != null && game.getState().getZone(card.getId()) == Zone.GRAVEYARD) {
cardsToMove.add(card);
}
}