mtg-forge-ios/forge-gui/res/cardsfolder/b/booby_trap.txt

18 lines
1.8 KiB
Plaintext
Raw Normal View History

Name:Booby Trap
ManaCost:6
Types:Artifact
K:ETBReplacement:Other:DBNameCard
SVar:DBNameCard:DB$ NameCard | Defined$ You | ValidCards$ Card.nonBasic | ValidDesc$ card other than a basic land | SubAbility$ ChooseP | SpellDescription$ As CARDNAME enters the battlefield, choose an opponent and a card name other than a basic land card name.
SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Opponent | AILogic$ Curse
R:Event$ Draw | ActiveZones$ Battlefield | ValidPlayer$ Player.Chosen | ReplaceWith$ RevealedDraw | Description$ The chosen player reveals each card he or she draws.
SVar:RevealedDraw:AB$ Draw | Cost$ 0 | Defined$ Player.Chosen | NumCards$ 1 | SubAbility$ TrigReveal | RememberDrawn$ True
SVar:TrigReveal:DB$ Reveal | Defined$ Player.Chosen | RevealValid$ Card.IsRemembered | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
T:Mode$ Drawn | ValidCard$ Card.NamedCard+OwnedBy Player.Chosen | TriggerZones$ Battlefield | Execute$ TrapTriggered | TriggerDescription$ When the chosen player draws a card with the chosen name, sacrifice CARDNAME. If you do, CARDNAME deals 10 damage to that player.
SVar:TrapTriggered:AB$ SacrificeAll | Cost$ 0 | ValidCards$ Card.Self | RememberSacrificed$ True | SubAbility$ Explosion
SVar:Explosion:DB$ DealDamage | NumDmg$ 10 | Defined$ Player.Chosen | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup | References$ X
SVar:X:Remembered$Amount
SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/booby_trap.jpg
Oracle:As Booby Trap enters the battlefield, choose an opponent and a card name other than a basic land card name.\nThe chosen player reveals each card he or she draws.\nWhen the chosen player draws a card with the chosen name, sacrifice Booby Trap. If you do, Booby Trap deals 10 damage to that player.