Files
forge/forge-gui/res/cardsfolder/w/winds_of_change.txt
elcnesh 018fe1145c Cleanup: unify all card files' line endings to '\n' and make sure each file ends with a newline.
Nonfunctional change that allows the oracle script to update the oracle texts of cards in the future.
2014-06-16 17:15:06 +00:00

14 lines
956 B
Plaintext

Name:Winds of Change
ManaCost:R
Types:Sorcery
A:SP$ RepeatEach | Cost$ R | RepeatPlayers$ Player | RepeatSubAbility$ ShuffleHand | SpellDescription$ Each player shuffles the cards from his or her hand into his or her library, then draws that many cards.
SVar:ShuffleHand:DB$ ChangeZoneAll | Defined$ Player.IsRemembered | Origin$ Hand | Destination$ Library | LibraryPosition$ -1 | RememberChanged$ True | Shuffle$ True | SubAbility$ WindDraw
SVar:WindDraw:DB$ Draw | NumCards$ X | Defined$ Player.IsRemembered | References$ X | SubAbility$ CleanTheWind
SVar:CleanTheWind:DB$ Cleanup | ClearRemembered$ True
SVar:X:Remembered$Amount/Minus.1
# Amount Minus 1 because the Player is also being remembered at this point
SVar:RemRandomDeck:True
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/winds_of_change.jpg
Oracle:Each player shuffles the cards from his or her hand into his or her library, then draws that many cards.