mirror of
https://github.com/Relintai/mtg-forge-ios.git
synced 2024-12-21 07:16:52 +01:00
29260c205d
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35700 269b9781-a132-4a9b-9d4e-f004f1b56b58
13 lines
1.2 KiB
Plaintext
13 lines
1.2 KiB
Plaintext
Name:Grave Sifter
|
|
ManaCost:5 G
|
|
Types:Creature Elemental Beast
|
|
PT:5/7
|
|
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigRepeat | TriggerDescription$ When CARDNAME enters the battlefield, each player chooses a creature type and returns any number of cards of that type from his or her graveyard to his or her hand.
|
|
SVar:TrigRepeat:AB$ RepeatEach | Cost$ 0 | RepeatPlayers$ Player | RepeatSubAbility$ DBChoose | SubAbility$ DBCleanup
|
|
SVar:DBChoose:DB$ ChooseType | Defined$ Player.IsRemembered | Type$ Creature | AILogic$ MostProminentInComputerGraveyard | SubAbility$ DBReturn
|
|
SVar:DBReturn:DB$ ChangeZone | ChangeType$ Card.RememberedPlayerCtrl+ChosenType | Hidden$ True | Origin$ Graveyard | Destination$ Hand | DefinedPlayer$ Remembered | Chooser$ Remembered | ChangeNum$ X | References$ X
|
|
SVar:X:Count$ValidGraveyard Card.RememberedPlayerCtrl+ChosenType
|
|
SVar:DBCleanup:DB$ Cleanup | ClearChosenType$ True
|
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/grave_sifter.jpg
|
|
Oracle:When Grave Sifter enters the battlefield, each player chooses a creature type and returns any number of cards of that type from his or her graveyard to his or her hand.
|