- 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

@@ -1,8 +1,10 @@
Name:Valakut, the Molten Pinnacle Name:Valakut, the Molten Pinnacle
ManaCost:no cost ManaCost:no cost
Types:Land Types:Land
Text:Whenever a Mountain enters the battlefield under your control, if you control at least five other Mountains, you may have Valakut, the Molten Pinnacle deal 3 damage to target creature or player. Text:no text
K:Valakut, the Molten Pinnacle enters the battlefield tapped. K:CARDNAME enters the battlefield tapped.
T:Mode$ ChangesZone | ValidCard$ Mountain.YouCtrl | Origin$ Any | Destination$ Battlefield | Optional$ True | Execute$ TrigDamage | IsPresent$ Mountain.YouCtrl | PresentCompare$ GE6 | TriggerZones$ Battlefield | TriggerDescription$ Whenever a Mountain enters the battlefield under your control, if you control at least five other Mountains, you may have CARDNAME deal 3 damage to target creature or player.
SVar:TrigDamage:AB$DealDamage | Cost$ 0 | Tgt$ TgtCP | TgtPrompt$ Select target creature or player | NumDmg$ 3
A:AB$ Mana | Cost$ T | Produced$ R | SpellDescription$ Add R to your mana pool. A:AB$ Mana | Cost$ T | Produced$ R | SpellDescription$ Add R to your mana pool.
SVar:Rarity:Rare SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/valakut_the_molten_pinnacle.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/valakut_the_molten_pinnacle.jpg

View File

@@ -1900,7 +1900,7 @@ public class GameActionUtil {
public static void executeLandfallEffects(Card c) { public static void executeLandfallEffects(Card c) {
if(c.getName().equals("Lotus Cobra")) landfall_Lotus_Cobra(c); if(c.getName().equals("Lotus Cobra")) landfall_Lotus_Cobra(c);
} }
/*
private static boolean checkValakutCondition(Card valakutCard, Card mtn) { private static boolean checkValakutCondition(Card valakutCard, Card mtn) {
// Get a list of all mountains // Get a list of all mountains
CardList mountainList = AllZoneUtil.getPlayerTypeInPlay(valakutCard.getController(), 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 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) { private static boolean showLandfallDialog(Card c) {
AllZone.Display.setCard(c); AllZone.Display.setCard(c);

View File

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