mirror of
https://github.com/Relintai/mtg-forge-ios.git
synced 2024-11-14 04:17:19 +01:00
14 lines
1.5 KiB
Plaintext
14 lines
1.5 KiB
Plaintext
|
Name:Tainted Pact
|
||
|
ManaCost:1 B
|
||
|
Types:Instant
|
||
|
A:SP$ Repeat | Cost$ 1 B | RepeatSubAbility$ DBRepeat | RepeatCheckSVar$ TaintedCheck | RepeatSVarCompare$ EQ0 | RepeatDefined$ Imprinted | RepeatPresent$ Card.sharesNameWith Remembered | RepeatCompare$ EQ0 | SubAbility$ DBCleanup | StackDescription$ SpellDescription | SpellDescription$ Exile the top card of your library. You may put that card into your hand unless it has the same name as another card exiled this way. Repeat this process until you put a card into your hand or you exile two cards with the same name, whichever comes first.
|
||
|
SVar:DBRepeat:DB$ Pump | RememberObjects$ Imprinted | SubAbility$ DBForget
|
||
|
SVar:DBForget:DB$ Cleanup | ClearImprinted$ True | SubAbility$ DBMill
|
||
|
SVar:DBMill:DB$ Mill | Defined$ You | NumCards$ 1 | Destination$ Exile | Imprint$ True | SubAbility$ DBReturnToHand
|
||
|
SVar:DBReturnToHand:DB$ ChangeZone | ConditionCheckSVar$ CheckName | ConditionSVarCompare$ EQ0 | Origin$ Exile | Destination$ Hand | Defined$ Imprinted | Optional$ True
|
||
|
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True
|
||
|
SVar:TaintedCheck:Count$ValidHand Card.IsImprinted
|
||
|
SVar:CheckName:Imprinted$Valid Card.sharesNameWith Remembered
|
||
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/tainted_pact.jpg
|
||
|
Oracle:Exile the top card of your library. You may put that card into your hand unless it has the same name as another card exiled this way. Repeat this process until you put a card into your hand or you exile two cards with the same name, whichever comes first.
|