mtg-forge-ios/forge-gui/res/cardsfolder/g/grave_sifter.txt

13 lines
1.2 KiB
Plaintext
Raw Normal View History

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.