From 35685bb2b258ec30b5784697036eab9958e473e8 Mon Sep 17 00:00:00 2001 From: Eduardo MG Date: Thu, 26 Jan 2023 00:19:37 -0600 Subject: [PATCH] Bug Fixes to primitives Gadrak, the Crown-Scourge Underhanded Designs Raff, Weatherlight Stalwart Casting of Bones Storm World Mogg Infestation Pathbreaker Ibex Mantle of the Wolf Virulent Wound Slumbering Tora Balance of Power Vandalize Hull Breach Cunning Wishclaw Talisman Bamboozle Oath of Lieges Chandra, Bold Pyromancer Tyvar Kell Backdraft Hellkite --- .../bin/Res/sets/primitives/borderline.txt | 47 +++++++++---------- projects/mtg/bin/Res/sets/primitives/mtg.txt | 34 +++++--------- .../bin/Res/sets/primitives/planeswalkers.txt | 10 ++-- 3 files changed, 40 insertions(+), 51 deletions(-) diff --git a/projects/mtg/bin/Res/sets/primitives/borderline.txt b/projects/mtg/bin/Res/sets/primitives/borderline.txt index 63c4347e9..0435bbb0b 100644 --- a/projects/mtg/bin/Res/sets/primitives/borderline.txt +++ b/projects/mtg/bin/Res/sets/primitives/borderline.txt @@ -4918,7 +4918,7 @@ type=Instant [card] name=Backdraft Hellkite abilities=flying -auto=@combat(attacking) all(instant,sorcery|mygraveyard) tempflashback ueot +auto=_ATTACKING_all(instant,sorcery|mygraveyard) tempflashback ueot text=Flying -- Whenever Backdraft Hellkite attacks, each instant and sorcery card in your graveyard gains flashback until end of turn. The flashback cost is equal to its mana cost. mana={3}{R}{R} type=Creature @@ -29469,7 +29469,7 @@ name=Gadrak, the Crown-Scourge abilities=flying auto=aslongas(artifact|myBattlefield) cantattack <4 auto=aslongas(artifact|myBattlefield) cantpwattack <4 -auto=@each my endofturn:foreach(creature[-token;fresh]) graveyard token(Treasure Sur) +auto=@each my endofturn:foreach(creature[-token;fresh]|graveyard) token(Treasure Sur) text=Flying -- Gadrak, the Crown-Scourge can't attack unless you control four or more artifacts. -- At the beginning of your end step, create a Treasure token for each nontoken creature that died this turn. (It's an artifact with " {T}, Sacrifice this artifact: Add one mana of any color.") mana={2}{R} type=Legendary Creature @@ -37368,9 +37368,9 @@ toughness=3 [/card] [card] name=Hull Breach -auto=choice destroy target(artifact) -auto=choice destroy target(enchantment) -auto=choice destroy target(artifact) && destroy target(enchantment) +auto=choice name(Destroy target artifact) destroy target(artifact) restriction{type(artifact|battlefield)~morethan~0} +auto=choice name(Destroy target enchantment) destroy target(enchantment) restriction{type(enchantment|battlefield)~morethan~0} +auto=choice name(Destroy both) destroy target(artifact) && ability$!name(Destroy target enchantment) destroy target(enchantment)!$ controller restriction{type(*[artifact,enchantment]|battlefield)~morethan~0} text=Choose one -- Destroy target artifact. -- Destroy target enchantment. -- Destroy target artifact and target enchantment. mana={R}{G} type=Sorcery @@ -47710,7 +47710,7 @@ subtype=Aura name=Mantle of the Wolf target=creature auto=4/4 -auto=@movedto(this|graveyard):_WOLFTOKEN_*2 +autograveyard=_DIES__WOLFTOKEN_*2 text=Enchant creature -- Enchanted creature gets +4/+4. -- When Mantle of the Wolf is put into a graveyard from the battlefield, create two 2/2 green Wolf creature tokens. mana={3}{G} type=Enchantment @@ -50000,7 +50000,7 @@ type=Enchantment [card] name=Mogg Infestation target=player -auto=all(creature|targetedpersonsbattlefield) destroy and!( if cantargetcard(creature|graveyard) then _GOBLINTOKEN_*2 targetedpersonsbattlefield)! +auto=all(creature|targetedpersonsbattlefield) destroy and!( if cantargetcard(creature|graveyard) then _GOBLINTOKEN_*2 targetedplayerbattlefield)! mana={3}{R}{R} type=Sorcery text=Destroy all creatures target player controls. For each creature that died this way, put two 1/1 red Goblin creature tokens onto the battlefield under that player's control. @@ -56132,6 +56132,7 @@ type=Artifact [/card] [card] name=Patriarch's Bidding +auto=ability$!chooseatype moveto(ownerbattlefield) all(creature[chosentype]|graveyard) chooseend!$ opponent auto=chooseatype moveto(ownerbattlefield) all(creature[chosentype]|graveyard) chooseend text=Each player chooses a creature type. Each player returns all creature cards of a type chosen this way from his or her graveyard to the battlefield. mana={3}{B}{B} @@ -60031,7 +60032,6 @@ toughness=3 [/card] [card] name=Raff, Weatherlight Stalwart -abilities=vigilance auto=@movedTo(instant,sorcery|mystack):may transforms((,newability[tap notatarget(<2>creature[-tapped]|myBattlefield)],newability[draw:1])) oneshot auto={3}{W}{W}:all(creature|myBattlefield)) transforms((,newability[1/1],newability[vigilance])) ueot text=Whenever you cast an instant or sorcery spell, you may tap two untapped creatures you control. If you do, draw a card. -- {3}{W}{W}: Creatures you control get +1/+1 and gain vigilance until end of turn. @@ -66870,7 +66870,6 @@ type=Sorcery name=Scouting Hawk abilities=flying auto=if type(land|mybattlefield)~lessthan~type(land|opponentbattlefield) then name(Keen Sight) reveal:plibrarycount optionone name(choose card) target(plains|reveal) moveto(ownerlibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerlibrary) and!( all(*|reveal) moveto(ownerlibrary) and!(shuffle)! )! optiontwoend afterrevealed all(tobecast|mylibrary) moveto(ownerlibrary) and!(moveTo(myBattlefield))! afterrevealedend revealend -- if|opponentBattlefield) more lands than you, search your library for a basic plains card, putonto the battlefield tapped && shuffle text=Flying -- Keen Sight - When Scouting Hawk enters the battlefield, if an opponent controls more lands than you, search your library for a basic Plains card, put it onto the battlefield tapped, then shuffle. mana={2}{W} type=Creature @@ -74102,47 +74101,47 @@ auto={T}{S(*[goat]|mybattlefield)}:add{G} && life:1 controller auto={T}{S(*[goat]|mybattlefield)}:add{U} && life:1 controller auto={T}{S(*[goat]|mybattlefield)}:add{R} && life:1 controller auto={T}{S(*[goat]|mybattlefield)}:add{B} && life:1 controller -auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add(W}(W} && life:2 controller +auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{W}{W} && life:2 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{G}{G} && life:2 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{U}{U} && life:2 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{R}{R} && life:2 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{B}{B} && life:2 controller -auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add(W}(W}(W} && life:3 controller +auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{W}{W}{W} && life:3 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{G}{G}{G} && life:3 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{U}{U}{U} && life:3 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{R}{R}{R} && life:3 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{B}{B}{B} && life:3 controller -auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{W}(W}(W}(W} && life:4 controller +auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{W}{W}{W}{W} && life:4 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{G}{G}{G}{G} && life:4 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{U}{U}{U}{U} && life:4 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{R}{R}{R}{R} && life:4 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{B}{B}{B}{B} && life:4 controller -auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add(W}(W}(W}(W}(W} && life:5 controller +auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{W}{W}{W}{W}{W} && life:5 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{G}{G}{G}{G}{G} && life:5 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{U}{U}{U}{U}{U} && life:5 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{R}{R}{R}{R}{R} && life:5 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{B}{B}{B}{B}{B} && life:5 controller -auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add(W}(W}(W}(W}(W}(W} && life:6 controller +auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{W}{W}{W}{W}{W}{W} && life:6 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{G}{G}{G}{G}{G}{G} && life:6 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{U}{U}{U}{U}{U}{U} && life:6 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{R}{R}{R}{R}{R}{R} && life:6 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{B}{B}{B}{B}{B}{B} && life:6 controller -auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add(W}(W}(W}(W}(W}(W}(W} && life:7 controller +auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{W}{W}{W}{W}{W}{W}{W} && life:7 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{G}{G}{G}{G}{G}{G}{G} && life:7 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{U}{U}{U}{U}{U}{U}{U} && life:7 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{R}{R}{R}{R}{R}{R}{R} && life:7 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{B}{B}{B}{B}{B}{B}{B} && life:7 controller -auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add(W}(W}(W}(W}(W}(W}(W}(W} && life:8 controller +auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{W}{W}{W}{W}{W}{W}{W}{W} && life:8 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{G}{G}{G}{G}{G}{G}{G}{G} && life:8 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{U}{U}{U}{U}{U}{U}{U}{U} && life:8 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{R}{R}{R}{R}{R}{R}{R}{R} && life:8 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{B}{B}{B}{B}{B}{B}{B}{B} && life:8 controller -auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add(W}(W}(W}(W}(W}(W}(W}(W}(W} && life:9 controller +auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{W}{W}{W}{W}{W}{W}{W}{W}{W} && life:9 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{G}{G}{G}{G}{G}{G}{G}{G}{G} && life:9 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{U}{U}{U}{U}{U}{U}{U}{U}{U} && life:9 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{R}{R}{R}{R}{R}{R}{R}{R}{R} && life:9 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{B}{B}{B}{B}{B}{B}{B}{B}{B} && life:9 controller -auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add(W}(W}(W}(W}(W}(W}(W}(W}(W}(W} && life:10 controller +auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{W}{W}{W}{W}{W}{W}{W}{W}{W}{W} && life:10 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{G}{G}{G}{G}{G}{G}{G}{G}{G}{G} && life:10 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{U}{U}{U}{U}{U}{U}{U}{U}{U}{U} && life:10 controller auto={T}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}{S(*[goat]|mybattlefield)}:add{R}{R}{R}{R}{R}{R}{R}{R}{R}{R} && life:10 controller @@ -84506,9 +84505,9 @@ type=Legendary Enchantment [/card] [card] name=Vandalize -target=land,artifact -auto=choice name(Destroy target artifact or land) destroy -auto=choice name(Destroy target artifact and land) destroy && destroy target(artifact,land) +auto=choice name(Destroy target artifact) destroy target(artifact) restriction{type(artifact|battlefield)~morethan~0} +auto=choice name(Destroy target land) destroy target(land) restriction{type(land|battlefield)~morethan~0} +auto=choice name(Destroy both) destroy target(artifact) && ability$!name(Destroy target land) destroy target(land)!$ controller restriction{type(*[artifact,land]|battlefield)~morethan~0} text=Choose one or both -- Destroy target artifact. -- Destroy target land. mana={4}{R} type=Sorcery @@ -85780,8 +85779,8 @@ type=Sorcery [card] name=Virulent Wound target=creature -auto=counter(-1/-1) -auto=transforms((,newability[@movedto(this|mygraveyard):alterpoison:1 controller])) ueot +auto=transforms((,newability[@movedto(this|graveyard):alterpoison:1 controller])) ueot +auto=choice counter(-1/-1) text=Put a -1/-1 counter on target creature. When that creature dies this turn, its controller gets a poison counter. mana={B} type=Instant @@ -88594,7 +88593,7 @@ type=Sorcery [card] name=Wishclaw Talisman auto=counter(0/0,3,wish) -auto={1}{T}{C(0/0,-1,wish)}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(myhand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend && moveto(opponentBattlefield) myturnonly +auto={1}{T}{C(0/0,-1,wish)}:name(search card) moveto(myhand) target(*|mylibrary) && moveTo(opponentbattlefield) all(this) text=Wishclaw Talisman enters the battlefield with three wish counters on it. -- {1}, {T}, Remove a wish counter from Wishclaw Talisman: Search your library for a card, put it into your hand, then shuffle your library. An opponent gains control of Wishclaw Talisman. Activate this ability only during your turn. mana={1}{B} type=Artifact diff --git a/projects/mtg/bin/Res/sets/primitives/mtg.txt b/projects/mtg/bin/Res/sets/primitives/mtg.txt index 7b676455e..956ed5320 100644 --- a/projects/mtg/bin/Res/sets/primitives/mtg.txt +++ b/projects/mtg/bin/Res/sets/primitives/mtg.txt @@ -8371,7 +8371,7 @@ toughness=2 [card] name=Balance of Power target=opponent -auto=foreach(*|targetedpersonshand) if type(*|targetedpersonshand)~morethan~type(*|myhand) then draw:1 +auto=foreach(*|targetedpersonshand) if type(*|targetedpersonshand)~morethan~type(*|myhand) then draw:1 controller text=If target opponent has more cards in hand than you, draw cards equal to the difference. mana={3}{U}{U} type=Sorcery @@ -8758,7 +8758,7 @@ toughness=3 [card] name=Bamboozle target=player -auto=reveal:4 revealzone(targetedpersonslibrary) optionone name(Put in graveyard) target(<2>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend revealend +auto=reveal:4 revealzone(targetedpersonslibrary) optionone name(Put in graveyard) target(<2>*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put on top) target(<2>*|reveal) moveTo(myLibrary) optiontwoend revealend text=Target player reveals the top four cards of his or her library. You choose two of those cards and put them into his or her graveyard. Put the rest on top of his or her library in any order. mana={2}{U} type=Sorcery @@ -17376,8 +17376,7 @@ type=Sorcery [card] name=Casting of Bones target=creature -auto=@movedto(graveyard) from(mytgt|Battlefield):draw:3 controller -auto=@movedto(graveyard) from(mytgt|Battlefield):reject notatarget(*|hand) +auto=@movedto(graveyard) from(mytgt|Battlefield):draw:3 && transforms((,newability[target(*|myhand) reject])) forever text=Enchant creature -- When enchanted creature is put into a graveyard, draw three cards, then discard one of them. mana={2}{B} type=Enchantment @@ -24909,7 +24908,7 @@ type=Instant name=Cunning target=creature auto=3/3 -auto=@combat(attacking,blocking) source(mytgt):phaseaction[cleanup,sourceinplay] sacrifice +auto=@combat(attacking,blocking) source(mytgt):phaseaction[cleanup,sourceinplay] sacrifice all(this) text=Enchant creature -- Enchanted creature gets +3/+3. -- When enchanted creature attacks or blocks, sacrifice Cunning at the beginning of the next cleanup step. mana={1}{U} type=Enchantment @@ -26051,16 +26050,6 @@ power=3 toughness=3 [/card] [card] -name=Darksteel Garrison -auto={3}:equip target(land|mybattlefield) -auto=teach(land) indestructible -auto=@tapped(mytgt):1/1 target(creature|battlefield) ueot -text=Fortified land is indestructible. Whenever fortified land becomes tapped, target creature gets +1/+1 until end of turn. -- Fortify ({3}: Attach to target land you control. Fortify only as a sorcery. This card comes into play unattached and stays in play if the land leaves play.) -mana={2} -type=Artifact -subtype=Fortification -[/card] -[card] name=Darksteel Ingot abilities=indestructible auto={T}:add{W} @@ -81356,8 +81345,8 @@ type=Legendary Enchantment [/card] [card] name=Oath of Lieges -auto=@each my upkeep:if type(land|mygraveyard)~morethan~type(land|opponentgraveyard) then target(land[basic]|mylibrary) moveTo(mybattlefield) -auto=@each opponent upkeep:if type(land|opponentgraveyard)~morethan~type(land|mygraveyard) then ability$!name(fetch basic land) target(land[basic]|mylibrary) moveTo(mybattlefield)!$ opponent +auto=@each my upkeep:if type(land|mybattlefield)~lessthan~type(land|opponentbattlefield) then target(land[basic]|mylibrary) moveTo(mybattlefield) +auto=@each opponent upkeep:if type(land|opponentbattlefield)~lessthan~type(land|mybattlefield) then ability$!name(fetch basic land) target(land[basic]|mylibrary) moveTo(mybattlefield)!$ opponent text=At the beginning of each player's upkeep, that player chooses target player who controls more lands than he or she does and is his or her opponent. The first player may search his or her library for a basic land card, put that card onto the battlefield, then shuffle his or her library. mana={1}{W} type=Enchantment @@ -84728,7 +84717,7 @@ type=Instant [/card] [card] name=Pathbreaker Ibex -auto=_ATTACKING_all(creature|mybattlefield) power:highest:creature:mybattlefield/power:highest:creature:mybattlefield ueot && all(creature|mybattlefield) trample ueot +auto=_ATTACKING_notatarget(creature[power=power:highest:creature:mybattlefield]|mybattlefield) transforms((,newability[all(creature|mybattlefield) dynamicability,newability[all(creature|mybattlefield) trample])) text=Whenever Pathbreaker Ibex attacks, creatures you control gain trample and get +X/+X until end of turn, where X is the greatest power among creatures you control. mana={4}{G}{G} type=Creature @@ -108354,7 +108343,8 @@ toughness=3 [/card] [card] name=Slumbering Tora -auto={2}{D(*[spirit,arcane]|myhand)}:transforms((Artifact Creature Cat,setpower=storedmanacost,settoughness=storedtoughness)) ueot +auto={2}{D(spirit|myhand)}:name(Discard Spirit) transforms((Artifact Creature Cat,setpower=storedmanacost,settoughness=storedmanacost)) ueot restriction{type(spirit|myHand)~morethan~0} +auto={2}{D(arcane|myhand)}:name(Discard Arcane) transforms((Artifact Creature Cat,setpower=storedmanacost,settoughness=storedmanacost)) ueot restriction{type(arcane|myHand)~morethan~0} text={2}, Discard a Spirit or Arcane card: Slumbering Tora becomes an X/X Cat artifact creature until end of turn, where X is the discarded card's mana value. mana={3} type=Artifact @@ -114175,7 +114165,7 @@ toughness=3 [card] name=Storm World auto=@each opponent upkeep:damage:4minustype:*:opponenthandminusend opponent -auto=@each my upkeep:damage:damage:4minustype:*:opponenthandminusend opponent +auto=@each my upkeep:damage:4minustype:*:myhandminusend controller auto=@movedTo(other enchantment[world]|battlefield):sacrifice all(this) text=At the beginning of each player's upkeep, Storm World deals X damage to that player, where X is 4 minus the number of cards in his or her hand. mana={R} @@ -125887,8 +125877,8 @@ type=Instant [/card] [card] name=Underhanded Designs -auto=@movedTo(artifact|myBattlefield):life:-1 opponent && life:1 controller -auto={1}{B}{S}:destroy target(other creature) restriction{type(artifact|mybattlefield)~morethan~1} +auto=@movedTo(artifact|myBattlefield):may pay[[{1}]] && life:-1 opponent && life:1 controller +auto={1}{B}{S}:destroy target(creature) restriction{type(artifact|mybattlefield)~morethan~1} text=Whenever an artifact enters the battlefield under your control, you may pay {1}. If you do, each opponent loses 1 life and you gain 1 life. -- {1}{B}, Sacrifice Underhanded Designs: Destroy target creature. Activate this ability only if you control two or more artifacts. mana={1}{B} type=Enchantment diff --git a/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt b/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt index 038a99930..86a0765ae 100644 --- a/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt +++ b/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt @@ -450,9 +450,9 @@ subtype=Chandra [card] name=Chandra, Bold Pyromancer auto=counter(0/0,5,loyalty) -auto={C(0/0,1,Loyalty)}:name(+1: Add two red mana and deals 2 damage to target player) add{R}{R} && damage:2 target(player) -auto={C(0/0,-3,Loyalty)}:name(-3: Deals 3 damage to target creature or planeswalker) damage:3 target(creature, planeswalker) -auto={C(0/0,-7,Loyalty)}:name(-7: Deals 10 damage to target player and on each his or her creatures and planeswalkers) target(player) damage:10 && damage:10 all(creature|targetedpersonsbattlefield) && damage:10 all(planeswalker|targetedpersonsbattlefield) +auto={C(0/0,1,Loyalty)}:name(+1: Add two red mana and deals 2 damage to target player) add{R}{R} controller && damage:2 target(player) +auto={C(0/0,-3,Loyalty)}:name(-3: Deals 3 damage to target creature or planeswalker) damage:3 target(creature,planeswalker) +auto={C(0/0,-7,Loyalty)}:name(-7: Deals 10 damage to target player and each creature and planeswalker they control) target(player) damage:10 && damage:10 all(creature|targetedpersonsbattlefield) && damage:10 all(planeswalker|targetedpersonsbattlefield) text=+1: Add {R}{R}. Chandra, Bold Pyromancer deals 2 damage to target player. -- -3: Chandra, Bold Pyromancer deals 3 damage to target creature or planeswalker. -- -7: Chandra, Bold Pyromancer deals 10 damage to target player and each creature and planeswalker they control. mana={4}{R}{R} type=Legendary Planeswalker @@ -3055,8 +3055,8 @@ name=Tyvar Kell auto=counter(0/0,3,Loyalty) auto=lord(elf|mybattlefield) transforms((,newability[{T}:add{B}])) auto={C(0/0,1,Loyalty)}:name(+1: Put +1/+1 counter) target(elf|mybattlefield) transforms((,newability[counter(1/1)],newability[deathtouch],newability[untap])) ueot -auto={C(0/0,0,Loyalty)}:name(0: Create 1/1 Elf) token(Warrior,Creature Elf Warrior,1/1,green) -auto={C(0/0,-6,Loyalty)}:name(-6: Emblem cast elf) emblem transforms((,newability[@movedTo(elf|mybattlefield):all(trigger[to]) transforms((,newability[haste],newability[draw:2 controller])) ueot])) forever dontremove +auto={C(0/0,0,Loyalty)}:name(0: Create 1/1 Elf) token(Elf Warrior,Creature Elf Warrior,1/1,green) +auto={C(0/0,-6,Loyalty)}:name(-6: Emblem cast elf) emblem transforms((,newability[@movedTo(elf|mybattlefield) from(mystack):all(trigger[to]) transforms((,newability[haste],newability[draw:2 controller])) ueot])) forever dontremove text=Elves you control have "{T}: Add {B}." -- +1: Put a +1/+1 counter on up to one target Elf. Untap it. It gains deathtouch until end of turn. -- 0: Create a 1/1 green Elf Warrior creature token. -- -6: You get an emblem with "Whenever you cast an Elf spell, it gains haste until end of turn and you draw two cards." mana={2}{G}{G} type=Legendary Planeswalker