mirror of
https://github.com/correl/mage.git
synced 2024-12-27 11:07:39 +00:00
updated some mistakes
This commit is contained in:
parent
492d989cae
commit
a15ac336b0
2 changed files with 2 additions and 2 deletions
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue