mtg-forge-ios/forge-gui/res/cardsfolder/d/deadeye_tracker.txt

14 lines
2.2 KiB
Plaintext

Name:Deadeye Tracker
ManaCost:B
Types:Creature Human Pirate
PT:1/1
# TODO: Explore will be rewritten as a separate effect by Hanmac. The followup script code will then become obsolete.
A:AB$ ChangeZone | Cost$ 1 B T | TargetMin$ 2 | TargetMax$ 2 | Origin$ Graveyard | Destination$ Exile | Choose target card in a opponent's graveyard | ValidTgts$ Card.OppOwn | SubAbility$ TrigDig | TriggerController$ TriggeredSourceController | TriggerDescription$ Exile two target cards from an opponent's graveyard. Deadeye Tracker explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back on top or into your graveyard.)
SVar:TrigDig:DB$ Dig | DigNum$ 1 | Reveal$ True | NoMove$ True | Explore$ True | RememberRevealed$ True | SubAbility$ DBGrabLand | SpellDescription$ Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back on top or into your graveyard.
SVar:DBGrabLand:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Hand | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ GE1 | SubAbility$ DBPutCounter
SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterNum$ 1 | CounterType$ P1P1 | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBPutInGraveyardOption
SVar:DBPutInGraveyardOption:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Library | DestinationAlternative$ Graveyard | AlternativeDestinationMessage$ Would you like to put the revealed card back on top of your library (and not into your graveyard?) | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:Picture:http://www.wizards.com/global/images/magic/general/deadeye_tracker.jpg
Oracle:{1}{B}, {T}: Exile two target cards from an opponent's graveyard. Deadeye Tracker explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back on top or into your graveyard.)