- Converted Explore and Summer Bloom to script

This commit is contained in:
moomarc
2012-11-23 11:23:02 +00:00
parent 075b94f378
commit 814b15cd79
3 changed files with 17 additions and 5 deletions

View File

@@ -2,6 +2,13 @@ Name:Explore
ManaCost:1 G
Types:Sorcery
Text:You may play an additional land this turn. Draw a card.
Text:no text
A:SP$ Effect | Cost$ 1 G | Name$ Explore Effect | StaticAbilities$ Exploration | AILogic$ Always | SubAbility$ DBDraw | SpellDescription$ You may play an additional land this turn. Draw a card.
SVar:Exploration:Mode$ Continuous | Affected$ You | AddKeyword$ AdjustLandPlays:1 | Description$ You may play an additional land this turn.
SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ 1
SVar:NeedsToPlayVar:LandInHand GE1
SVar:HandInLand:Count$InYourHand.Land
SVar:PlayMain1:TRUE
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/explore.jpg
SetInfo:WWK|Common|http://magiccards.info/scans/en/wwk/99.jpg

View File

@@ -1,7 +1,12 @@
Name:Summer Bloom
ManaCost:1 G
Types:Sorcery
Text:You may play up to three additional lands this turn.
Text:no text
A:SP$ Effect | Cost$ 1 G | Name$ Bloom Effect | StaticAbilities$ BloomingLand | AILogic$ Always | SpellDescription$ You may play up to three additional lands this turn.
SVar:BloomingLand:Mode$ Continuous | Affected$ You | AddKeyword$ AdjustLandPlays:3 | Description$ You may play up to three additional lands this turn.
SVar:NeedsToPlayVar:LandInHand GE1
SVar:HandInLand:Count$InYourHand.Land
SVar:PlayMain1:TRUE
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/summer_bloom.jpg
SetInfo:VIS|Uncommon|http://magiccards.info/scans/en/vi/72.jpg

View File

@@ -594,7 +594,7 @@ public class CardFactorySorceries {
}
};
}
private final static SpellAbility getSummerBloom(final Card card) {
/*private final static SpellAbility getSummerBloom(final Card card) {
card.setSVar("PlayMain1", "TRUE");
return new Spell(card) {
private static final long serialVersionUID = 5559004016728325736L;
@@ -662,7 +662,7 @@ public class CardFactorySorceries {
thePlayer.drawCard();
}
};
}
}*/
private final static SpellAbility getWindfall(final Card card) {
return new Spell(card) {
@@ -1354,8 +1354,8 @@ public class CardFactorySorceries {
} else if (cardName.equals("Global Ruin")) { card.addSpellAbility(getGlobalRuin(card));
} else if (cardName.equals("Haunting Echoes")) { card.addSpellAbility(getHauntingEchoes(card));
} else if (cardName.equals("Balance")) { card.addSpellAbility(getBalance(card));
} else if (cardName.equals("Summer Bloom")) { card.addSpellAbility(getSummerBloom(card));
} else if (cardName.equals("Explore")) { card.addSpellAbility(getExplore(card));
//} else if (cardName.equals("Summer Bloom")) { card.addSpellAbility(getSummerBloom(card));
//} else if (cardName.equals("Explore")) { card.addSpellAbility(getExplore(card));
} else if (cardName.equals("Windfall")) { card.addSpellAbility(getWindfall(card));
} else if (cardName.equals("Patriarch's Bidding")) { card.addSpellAbility(getPatriarchsBidding(card));
} else if (cardName.equals("Leeches")) { card.addSpellAbility(getLeeches(card));