mtg-forge-ios/forge-gui/res/cardsfolder/l/lammastide_weave.txt

15 lines
1.1 KiB
Plaintext

Name:Lammastide Weave
ManaCost:1 G
Types:Instant
A:SP$ NameCard | Cost$ 1 G | Defined$ You | SubAbility$ DBMill | SpellDescription$ Choose a card name, then target player puts the top card of his or her library into his or her graveyard. If that card has the chosen name, you gain life equal to its converted mana cost. Draw a card.
SVar:DBMill:DB$ Mill | NumCards$ 1 | ValidTgts$ Player | TgtPrompt$ Choose a player | RememberMilled$ True | SubAbility$ DBGainLife
SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | References$ X,Y | ConditionCheckSVar$ Y | ConditionSVarCompare$ EQ1 | SubAbility$ DBDraw
SVar:DBDraw:DB$ Draw | NumCards$ 1 | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:X:Remembered$CardManaCost
SVar:Y:Remembered$Valid Card.NamedCard
SVar:RemAIDeck:True
SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/lammastide_weave.jpg
Oracle:Choose a card name, then target player puts the top card of his or her library into his or her graveyard. If that card has the chosen name, you gain life equal to its converted mana cost.\nDraw a card.