- Added the conversion of Valakut, the Molten Pinnacle by jeffwadsworth.

This commit is contained in:
jendave
2011-08-07 00:37:17 +00:00
parent 86f6bdc0ec
commit e111c94205
3 changed files with 10 additions and 8 deletions

View File

@@ -1900,7 +1900,7 @@ public class GameActionUtil {
public static void executeLandfallEffects(Card c) {
if(c.getName().equals("Lotus Cobra")) landfall_Lotus_Cobra(c);
}
/*
private static boolean checkValakutCondition(Card valakutCard, Card mtn) {
// Get a list of all mountains
CardList mountainList = AllZoneUtil.getPlayerTypeInPlay(valakutCard.getController(),
@@ -2013,7 +2013,7 @@ public class GameActionUtil {
}
return true; // Tell the calling routine it's okay to call again if there are other Valakuts in play
}
}*/
private static boolean showLandfallDialog(Card c) {
AllZone.Display.setCard(c);

View File

@@ -70,11 +70,11 @@ public class PlayerZone_ComesIntoPlay extends DefaultPlayerZone {
if(c.isLand()) {
CardList list = AllZoneUtil.getPlayerCardsInPlay(c.getController());
CardList listValakut = list.filter(new CardListFilter() {
/*CardList listValakut = list.filter(new CardListFilter() {
public boolean addCard(Card c) {
return c.getName().contains("Valakut, the Molten Pinnacle");
}
});
});*/
list = list.filter(new CardListFilter() {
public boolean addCard(Card c) {
@@ -86,7 +86,7 @@ public class PlayerZone_ComesIntoPlay extends DefaultPlayerZone {
for(int i = 0; i < list.size(); i++) {
GameActionUtil.executeLandfallEffects(list.get(i));
}
/*
// Check for a mountain
if (!listValakut.isEmpty() && c.getType().contains("Mountain") ) {
for (int i = 0; i < listValakut.size(); i++) {
@@ -96,7 +96,7 @@ public class PlayerZone_ComesIntoPlay extends DefaultPlayerZone {
break;
}
}
}
}*/
//Tectonic Instability
CardList tis = AllZoneUtil.getCardsInPlay("Tectonic Instability");