- Converted Winds of Change to script (by Squee).

This commit is contained in:
Sloth
2012-04-05 20:08:51 +00:00
parent 6fe7456d8d
commit d355d7fd33
2 changed files with 13 additions and 4 deletions

View File

@@ -1,7 +1,16 @@
Name:Winds of Change Name:Winds of Change
ManaCost:R ManaCost:R
Types:Sorcery Types:Sorcery
Text:Each player shuffles the cards from his or her hand into his or her library, then draws that many cards. Text:no text
A:SP$ ChangeZoneAll | Cost$ R | Defined$ You | Origin$ Hand | Destination$ Library | LibraryPosition$ -1 | RememberChanged$ True | ForgetOtherRemembered$ True | Shuffle$ True | SubAbility$ WindDraw | SpellDescription$ Each player shuffles the cards from his or her hand into his or her library, then draws that many cards.
SVar:WindDraw:DB$Draw | NumCards$ X | Defined$ You | SubAbility$ CleanTheWind
SVar:CleanTheWind:DB$Cleanup | ClearRemembered$ True | SubAbility$ WindOpp
SVar:WindOpp:DB$ ChangeZoneAll | Defined$ Opponent | Origin$ Hand | Destination$ Library | LibraryPosition$ -1 | RememberChanged$ True | ForgetOtherRemembered$ True | Shuffle$ True | SubAbility$ WindDrawOpp
SVar:WindDrawOpp:DB$Draw | NumCards$ X | Defined$ Opponent | SubAbility$ DBCleanup
SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True
SVar:X:Remembered$Amount
SVar:RemRandomDeck:True
SVar:RemAIDeck:True
SVar:Rarity:Uncommon SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/winds_of_change.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/winds_of_change.jpg
SetInfo:5ED|Rare|http://magiccards.info/scans/en/5e/275.jpg SetInfo:5ED|Rare|http://magiccards.info/scans/en/5e/275.jpg

View File

@@ -1340,12 +1340,12 @@ public class CardFactorySorceries {
} // *************** END ************ END ************************** } // *************** END ************ END **************************
// *************** START *********** START ************************** // *************** START *********** START **************************
else if (cardName.equals("Winds of Change")) { /*else if (cardName.equals("Winds of Change")) {
/* /*
* Each player shuffles the cards from his or her hand into his or * Each player shuffles the cards from his or her hand into his or
* her library, then draws that many cards. * her library, then draws that many cards.
*/ */
final SpellAbility spell = new Spell(card) { /*final SpellAbility spell = new Spell(card) {
private static final long serialVersionUID = 1137557863607126794L; private static final long serialVersionUID = 1137557863607126794L;
@Override @Override
@@ -1378,7 +1378,7 @@ public class CardFactorySorceries {
}; // SpellAbility }; // SpellAbility
card.addSpellAbility(spell); card.addSpellAbility(spell);
} // *************** END ************ END ************************** }*/ // *************** END ************ END **************************
// *************** START *********** START ************************** // *************** START *********** START **************************
else if (cardName.equals("Molten Psyche")) { else if (cardName.equals("Molten Psyche")) {