mirror of
https://github.com/Relintai/mtg-forge-ios.git
synced 2024-11-14 04:17:19 +01:00
18 lines
1.9 KiB
Plaintext
18 lines
1.9 KiB
Plaintext
|
Name:Timesifter
|
||
|
ManaCost:5
|
||
|
Types:Artifact
|
||
|
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | Execute$ TrigExile | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of each upkeep, each player exiles the top card of his or her library. The player who exiled the card with the highest converted mana cost takes an extra turn after this one. If two or more players' cards are tied for highest cost, the tied players repeat this process until the tie is broken.
|
||
|
SVar:TrigExile:AB$ Mill | Cost$ 0 | Defined$ Player | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SubAbility$ FindHighestCMCFirst
|
||
|
SVar:FindHighestCMCFirst:DB$ Pump | ImprintCards$ ValidAll Card.greatestRememberedCMC | SubAbility$ FindOne
|
||
|
SVar:FindOne:DB$ Repeat | RepeatCheckSVar$ X | References$ X | RepeatSVarCompare$ GE2 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | RepeatSubAbility$ DBClear | SubAbility$ DBAddTurn
|
||
|
SVar:DBClear:DB$ Cleanup | ClearRemembered$ True | SubAbility$ DBExile
|
||
|
SVar:DBExile:DB$ Mill | Defined$ ImprintedController | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SubAbility$ ClearImprint
|
||
|
SVar:ClearImprint:DB$ Cleanup | ClearImprinted$ True | SubAbility$ FindHighestCMC
|
||
|
SVar:FindHighestCMC:DB$ Pump | ImprintCards$ ValidAll Card.greatestRememberedCMC
|
||
|
SVar:X:Count$ValidExile Card.IsImprinted
|
||
|
SVar:DBAddTurn:DB$ AddTurn | Defined$ ImprintedController | NumTurns$ 1 | ShowMessage$ True | SubAbility$ DBCleanup
|
||
|
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True
|
||
|
SVar:RemRandomDeck:True
|
||
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/timesifter.jpg
|
||
|
Oracle:At the beginning of each upkeep, each player exiles the top card of his or her library. The player who exiled the card with the highest converted mana cost takes an extra turn after this one. If two or more players' cards are tied for highest cost, the tied players repeat this process until the tie is broken.
|