updated some mistakes

This commit is contained in:
Evan Kranzler 2017-09-14 20:28:56 -04:00
parent 492d989cae
commit a15ac336b0
2 changed files with 2 additions and 2 deletions

View file

@ -119,7 +119,7 @@ class FieldOfRuinEffect extends OneShotEffect {
for (UUID cardId : target.getTargets()) { for (UUID cardId : target.getTargets()) {
Card card = player.getLibrary().getCard(cardId, game); Card card = player.getLibrary().getCard(cardId, game);
if (card != null) { if (card != null) {
card.putOntoBattlefield(game, Zone.LIBRARY, source.getSourceId(), player.getId(), true); card.putOntoBattlefield(game, Zone.LIBRARY, source.getSourceId(), player.getId());
} }
} }

View file

@ -108,7 +108,7 @@ class VancesBlastingCannonsExileEffect extends OneShotEffect {
if (controller != null && sourcePermanent != null) { if (controller != null && sourcePermanent != null) {
Card card = controller.getLibrary().getFromTop(game); Card card = controller.getLibrary().getFromTop(game);
if (card != null) { if (card != null) {
String exileName = sourcePermanent.getIdName() + " <this card may be cast the turn it was exiled"; String exileName = sourcePermanent.getIdName() + (card.isLand() ? "" : " <this card may be cast the turn it was exiled");
controller.moveCardsToExile(card, source, game, true, source.getSourceId(), exileName); controller.moveCardsToExile(card, source, game, true, source.getSourceId(), exileName);
if (game.getState().getZone(card.getId()) == Zone.EXILED && !card.isLand()) { if (game.getState().getZone(card.getId()) == Zone.EXILED && !card.isLand()) {
ContinuousEffect effect = new CastFromNonHandZoneTargetEffect(Duration.EndOfTurn); ContinuousEffect effect = new CastFromNonHandZoneTargetEffect(Duration.EndOfTurn);