mirror of
https://github.com/Relintai/mtg-forge-ios.git
synced 2024-11-14 04:17:19 +01:00
19 lines
1.7 KiB
Plaintext
19 lines
1.7 KiB
Plaintext
|
Name:Whirlpool Warrior
|
||
|
ManaCost:2 U
|
||
|
Types:Creature Merfolk Warrior
|
||
|
PT:2/2
|
||
|
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ WhirlYou | TriggerDescription$ When CARDNAME enters the battlefield, shuffle the cards from your hand into your library, then draw that many cards.
|
||
|
SVar:WhirlYou:DB$ ChangeZoneAll | Defined$ You | Origin$ Hand | Destination$ Library | LibraryPosition$ -1 | RememberChanged$ True | ForgetOtherRemembered$ True | Shuffle$ True | SubAbility$ DBDraw
|
||
|
SVar:DBDraw:DB$Draw | NumCards$ X | Defined$ You | SubAbility$ DBCleanup
|
||
|
A:AB$ RepeatEach | Cost$ R Sac<1/CARDNAME> | 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$ Y | Defined$ Player.IsRemembered | References$ Y | SubAbility$ DBCleanup
|
||
|
SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True
|
||
|
SVar:X:Remembered$Amount
|
||
|
# Amount Minus 1 because the Player is also being remembered at this point
|
||
|
SVar:Y:Remembered$Amount/Minus.1
|
||
|
SVar:RemRandomDeck:True
|
||
|
SVar:RemAIDeck:True
|
||
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/whirlpool_warrior.jpg
|
||
|
Oracle:When Whirlpool Warrior enters the battlefield, shuffle the cards from your hand into your library, then draw that many cards.\n{R}, Sacrifice Whirlpool Warrior: Each player shuffles the cards from his or her hand into his or her library, then draws that many cards.
|