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

14 lines
1.2 KiB
Plaintext
Raw Normal View History

Name:Scrying Glass
ManaCost:2
Types:Artifact
A:AB$ ChooseNumber | Cost$ 3 T | Min$ 1 | SubAbility$ DBScryingGlassChooseColor | SpellDescription$ Choose a number greater than 0 and a color. Target opponent reveals his or her hand. If that opponent reveals exactly the chosen number of cards of the chosen color, you draw a card.
SVar:DBScryingGlassChooseColor:DB$ ChooseColor | SubAbility$ DBScryingGlassRevealHand
SVar:DBScryingGlassRevealHand:DB$ RevealHand | RememberRevealed$ True | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | SubAbility$ DBScryingGlassDraw
SVar:DBScryingGlassDraw:DB$ Draw | ConditionCheckSVar$ ScryingGlassX | ConditionSVarCompare$ EQScryingGlassY | SubAbility$ DBScryingGlassCleanup | References$ ScryingGlassX,ScryingGlassY
SVar:DBScryingGlassCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:ScryingGlassX:Remembered$Valid Card.ChosenColor
SVar:ScryingGlassY:Count$ChosenNumber
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/scrying_glass.jpg
Oracle:{3}, {T}: Choose a number greater than 0 and a color. Target opponent reveals his or her hand. If that opponent reveals exactly the chosen number of cards of the chosen color, you draw a card.