mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- Exile creature before fetching land in Path to Exile resolution.
This commit is contained in:
@@ -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()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user