mtg-forge-ios/forge-gui/res/cardsfolder/s/sift_through_sands.txt

13 lines
1.4 KiB
Plaintext

Name:Sift Through Sands
ManaCost:1 U U
Types:Instant Arcane
A:SP$ Draw | Cost$ 1 U U | Defined$ You | NumCards$ 2 | SubAbility$ DBDiscard | SpellDescription$ Draw two cards, then discard a card. If you've cast a spell named Peer Through Depths and a spell named Reach Through Mists this turn, you may search your library for a card named The Unspeakable, put it onto the battlefield, then shuffle your library.
SVar:DBDiscard:DB$Discard | Defined$ You | NumCards$ 1 | Mode$ TgtChoose | SubAbility$ DBUnspeakable
SVar:DBUnspeakable:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Card.namedThe Unspeakable | ChangeNum$ 1 | ConditionCheckSVar$ PeerReachTotal | ConditionSVarCompare$ EQ2 | References$ Peer,Reach,PeerReachTotal | ShuffleNonMandatory$ True
SVar:PeerReachTotal:SVar$Peer/Plus.Reach
#Max returns any number lower than or equally to the number following the period.
SVar:Peer:Count$ThisTurnCast_Card.YouCtrl+namedPeer Through Depths/LimitMax.1
SVar:Reach:Count$ThisTurnCast_Card.YouCtrl+namedReach Through Mists/LimitMax.1
SVar:Picture:http://www.wizards.com/global/images/magic/general/sift_through_sands.jpg
Oracle:Draw two cards, then discard a card.\nIf you've cast a spell named Peer Through Depths and a spell named Reach Through Mists this turn, you may search your library for a card named The Unspeakable, put it onto the battlefield, then shuffle your library.