mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Added the conversion of Valakut, the Molten Pinnacle by jeffwadsworth.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user