- Exile creature before fetching land in Path to Exile resolution.

This commit is contained in:
jendave
2011-08-06 05:18:27 +00:00
parent 9b1dab8203
commit ece71e5834

View File

@@ -18142,13 +18142,13 @@ public class CardFactory implements NewConstants {
public void resolve() { public void resolve() {
if(AllZone.GameAction.isCardInPlay(getTargetCard()) if(AllZone.GameAction.isCardInPlay(getTargetCard())
&& CardFactoryUtil.canTarget(card, getTargetCard())) { && CardFactoryUtil.canTarget(card, getTargetCard())) {
//add life
String player = getTargetCard().getController(); String player = getTargetCard().getController();
// PlayerLife life = AllZone.GameAction.getPlayerLife(player);
// life.addLife(getTargetCard().getNetAttack());
PlayerZone lib = AllZone.getZone(Constant.Zone.Library, player); PlayerZone lib = AllZone.getZone(Constant.Zone.Library, player);
//remove card from play
AllZone.GameAction.removeFromGame(getTargetCard());
//Retrieve basic land
CardList lands = new CardList(lib.getCards()); CardList lands = new CardList(lib.getCards());
lands = lands.getType("Basic"); lands = lands.getType("Basic");
@@ -18177,8 +18177,6 @@ public class CardFactory implements NewConstants {
lands.remove(card); lands.remove(card);
AllZone.GameAction.shuffle(player); AllZone.GameAction.shuffle(player);
} }
//remove card from play
AllZone.GameAction.removeFromGame(getTargetCard());
} }
}//resolve() }//resolve()