mirror of
https://github.com/Relintai/mtg-forge-ios.git
synced 2024-12-25 21:17:12 +01:00
29260c205d
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35700 269b9781-a132-4a9b-9d4e-f004f1b56b58
15 lines
2.1 KiB
Plaintext
15 lines
2.1 KiB
Plaintext
Name:Queen's Agent
|
|
ManaCost:5 B
|
|
Types:Creature Vampire Scout
|
|
PT:3/3
|
|
K:Lifelink
|
|
# TODO: Explore will be rewritten as a separate effect by Hanmac. The followup script code will then become obsolete.
|
|
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDig | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME enters the battlefield, it 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 | ShowCardInPrompt$ FirstRemembered | 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
|
|
DeckHas:Ability$Counters
|
|
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/queens_agent.jpg
|
|
Oracle:Lifelink\nWhen Queen's Agent enters the battlefield, it 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 or put it into your graveyard.) |