From 14103a840d8316ace0a7f979c4aada63e35ac178 Mon Sep 17 00:00:00 2001 From: Eduardo Date: Thu, 18 Nov 2021 20:06:17 -0600 Subject: [PATCH] Bug fixes on primitives Vance's Blasting Cannons Vona, Butcher of Magan Niambi, Faithful Healer bone harvest and similar cards add a choose 0 targets option Arborea Pegasus Arcbound Shikari Keldon Raider Aurelia, Exemplar of Justice Mu Yanling, Sky Dancer Voldaren Pariah Yarok's Fenlurker --- .../bin/Res/sets/primitives/borderline.txt | 20 ++++++++++--------- projects/mtg/bin/Res/sets/primitives/mtg.txt | 11 ++++------ .../bin/Res/sets/primitives/planeswalkers.txt | 5 +++-- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/projects/mtg/bin/Res/sets/primitives/borderline.txt b/projects/mtg/bin/Res/sets/primitives/borderline.txt index 5d82208e2..1ef9498f4 100644 --- a/projects/mtg/bin/Res/sets/primitives/borderline.txt +++ b/projects/mtg/bin/Res/sets/primitives/borderline.txt @@ -2491,7 +2491,7 @@ type=Instant [card] name=Arborea Pegasus abilities=flying -auto=name(Put 1/1 counter) target(creature|battlefield) transforms((,newability[counter(1/1)],newability[flying])) ueot +auto=name(Gets +1/+1 and flying) target(creature|battlefield) transforms((,newability[1/1],newability[flying])) ueot text=Flying -- When Arborea Pegasus enters the battlefield, target creature gets +1/+1 and gains flying until end of turn. mana={3}{W} type=Creature @@ -2737,6 +2737,7 @@ toughness=0 name=Arcbound Shikari abilities=modular,first strike modular=2 +auto=counter(1/1,1) all(other creature[artifact]|mybattlefield) auto=_DIES_may name(Put 1/1 counters) thisforeach(counter{1/1.1}) counter(1/1,1) target(creature[artifact]) text=First strike -- When Arcbound Shikari enters the battlefield, put a +1/+1 counter on each other artifact creature you control. -- Modular 2 (This creature enters the battlefield with two +1/+1 counters on it. When it dies, you may put its +1/+1 counters on target artifact creature.) mana={1}{R}{W} @@ -3957,7 +3958,7 @@ type=Instant name=Aurelia, Exemplar of Justice abilities=flying,mentor auto=_ATTACKING_name(Choose attacking creature) transforms((,newability[target(other creature[attacking;power<=pminus1minusend]|myBattlefield) counter(1/1)])) oneshot -auto=@each my combatbegins:ability$!name(Choose a creature) choice name(Choose non-red, non-white creature) target(creature[-red;-white]|myBattlefield) 2/0 ueot _ choice name(Choose red creature) target(creature[red]|myBattlefield) transforms((,newability[2/0 ueot],newability[trample ueot])) ueot _ name(Choose white creature) target(creature[white]|myBattlefield) transforms((,newability[2/0 ueot],newability[vigilance ueot])) ueot!$ controller +auto=@each my combatbegins:ability$!name(Choose a creature) choice name(Choose non-red, non-white creature) target(creature[-red;-white]|myBattlefield) 2/0 ueot _ choice name(Choose red and white creature) target(creature[red]|myBattlefield) transforms((,newability[2/0 ueot],newability[trample ueot],newability[vigilance ueot])) ueot _ choice name(Choose red creature) target(creature[red]|myBattlefield) transforms((,newability[2/0 ueot],newability[trample ueot])) ueot _ name(Choose white creature) target(creature[white]|myBattlefield) transforms((,newability[2/0 ueot],newability[vigilance ueot])) ueot!$ controller text=Flying -- Mentor (Whenever this creature attacks, put a +1/+1 counter on target attacking creature with lesser power.) -- At the beginning of combat on your turn, choose up to one target creature you control. Until end of turn, that creature gets +2/+0, gains trample if it's red, and gains vigilance if it's white. mana={2}{R}{W} type=Legendary Creature @@ -26643,8 +26644,7 @@ type=Instant [/card] [card] name=Forever Young -target=creature|mygraveyard -auto=moveTo(mylibrary) +auto=may name(Return creature to library) target(creature|mygraveyard) moveTo(mylibrary) auto=draw:1 controller text=Put any number of target creature cards from your graveyard on top of your library. -- Draw a card. mana={1}{B} @@ -39168,7 +39168,7 @@ toughness=1 [/card] [card] name=Keldon Raider -auto=may ability$!name(discard) reject notatarget(*|myhand) and!(draw:1) controller!$ +auto=may reject notatarget(*|myhand) and!(draw:1 controller)! text=When Keldon Raider enters the battlefield, you may discard a card. If you do, draw a card. mana={2}{R}{R} type=Creature @@ -48508,6 +48508,8 @@ toughness=1 [/card] [card] name=Niambi, Faithful Healer +auto=moveto(myhand) target(Teferi^ Timebender|mylibrary) +auto=moveto(myhand) target(Teferi^ Timebender|mygraveyard) text=When Niambi, Faithful Healer enters the battlefield, you may search your library and/or graveyard for a card named Teferi, Timebender, reveal it, and put it into your hand. If you search your library this way, shuffle it. mana={1}{W}{U} type=Legendary Creature @@ -48946,7 +48948,7 @@ type=Sorcery name=Nissa's Encouragement auto=moverandom(Forest) from(mylibrary) to(myhand) auto=moverandom(Brambleweft Behemoth) from(mylibrary) to(myhand) -auto=moverandom(Nissa, Genesis Mage) from(mylibrary) to(myhand) +auto=moverandom(Nissa^ Genesis Mage) from(mylibrary) to(myhand) text=Search your library and graveyard for a card named Forest, a card named Brambleweft Behemoth, and a card named Nissa, Genesis Mage. Reveal those cards, put them into your hand, then shuffle your library. mana={4}{G} type=Sorcery @@ -78099,7 +78101,7 @@ type=Instant [/card] [card] name=Vance's Blasting Cannons -auto=@each my upkeep: +auto=@each my upkeep:all(*[zpos=1]|mylibrary) moveto(myexile) and!( transforms((,newability[canplayfromexile],newability[counter(0/0.1.BlastingCannons)])) ueot )! auto=@movedto(*|mystack) restriction{thisturn(*|mystack)~equalto~2}:flip(Spitfire Bastion) text=At the beginning of your upkeep, exile the top card of your library. If it's a nonland card, you may cast that card this turn. -- Whenever you cast your third spell in a turn, you may transform Vance's Blasting Cannons. mana={3}{R} @@ -79942,7 +79944,7 @@ type=Instant [card] name=Vona, Butcher of Magan abilities=vigilance, lifelink -auto={T}{L:7}:destroy target(*[-land]) assorcery +auto={T}{L:7}:destroy target(*[-land]) myTurnOnly text=Vigilance, lifelink -- {T}, Pay 7 life: Destroy target nonland permanent. Activate this ability only during your turn. mana={3}{W}{B} type=Legendary Creature @@ -82810,7 +82812,7 @@ toughness=3 [/card] [card] name=Yarok's Fenlurker -auto=target(opponent) ability$!moveto(exile) and!( becomes(tobecast) forever )! target(*|myhand)!$ targetedplayer +auto=ability$!moveto(exile) and!( becomes(tobecast) forever )! target(*|myhand)!$ opponent auto={2}{B}:1/1 ueot text=When Yarok's Fenlurker enters the battlefield, each opponent exiles a card from their hand. -- {2}{B}: Yarok's Fenlurker gets +1/+1 until end of turn. mana={B}{B} diff --git a/projects/mtg/bin/Res/sets/primitives/mtg.txt b/projects/mtg/bin/Res/sets/primitives/mtg.txt index cfa3718b8..e78c27c2f 100644 --- a/projects/mtg/bin/Res/sets/primitives/mtg.txt +++ b/projects/mtg/bin/Res/sets/primitives/mtg.txt @@ -13577,8 +13577,7 @@ type=Artifact [/card] [card] name=Bone Harvest -target=creature|mygraveyard -auto=moveTo(mylibrary) +auto=may name(Return creature to library) target(creature|mygraveyard) moveTo(mylibrary) auto=@next upkeep:draw:1 controller text=Put any number of target creature cards from your graveyard on top of your library. -- Draw a card at the beginning of the next turn's upkeep. mana={2}{B} @@ -42589,8 +42588,7 @@ toughness=4 [/card] [card] name=Footbottom Feast -target=creature|mygraveyard -auto=moveTo(mylibrary) +auto=may name(Return creature to library) target(creature|mygraveyard) moveTo(mylibrary) auto=draw:1 controller text=Put any number of target creature cards from your graveyard on top of your library. -- Draw a card. mana={2}{B} @@ -43359,8 +43357,7 @@ type=Instant [/card] [card] name=Frantic Salvage -target=artifact|mygraveyard -auto=moveTo(mylibrary) +auto=may name(Return creature to library) target(artifact|mygraveyard) moveTo(mylibrary) auto=draw:1 controller text=Put any number of target artifact cards from your graveyard on top of your library. -- Draw a card. mana={3}{W} @@ -130384,7 +130381,7 @@ toughness=2 name=Voldaren Pariah abilities=flying,madness auto={S(other creature|mybattlefield)}{S(other creature|mybattlefield)}{S(other creature|mybattlefield)}:flip(Abolisher of Bloodlines) -autoexile=restriction{discarded} pay({B}{B}{b}) name(pay BB to cast) activate name(pay BB to cast) castcard(normal)?name(put in graveyard) moveto(ownergraveyard) +autoexile=restriction{discarded} pay({B}{B}{B}) name(pay BBB to cast) activate name(pay BBB to cast) castcard(normal)?name(put in graveyard) moveto(ownergraveyard) text=Flying -- Sacrifice three other creatures: Transform Voldaren Pariah. -- Madness {B}{B}{B} (If you discard this card, discard it into exile. When you do, cast it for its madness cost or put it into your graveyard.) mana={3}{B}{B} type=Creature diff --git a/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt b/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt index 618d0c558..9c338028d 100644 --- a/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt +++ b/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt @@ -1917,10 +1917,11 @@ subtype=Yanling [card] name=Mu Yanling, Sky Dancer auto=counter(0/0,2,loyalty) -auto={C(0/0,2,Loyalty)}:name(+2: Target creature gets +2/+0 and Flying) target(creature) -2/0 && -flying uynt +auto={C(0/0,2,Loyalty)}:name(+2: No Target) donothing +auto={C(0/0,2,Loyalty)}:name(+2: Target creature gets -2/-0 and lose Flying) target(creature) -2/0 && -flying uynt auto={C(0/0,-3,Loyalty)}:name(-3: Create an Creature Elemental Bird 4/4 blue with flying) create(Elemental Bird:Creature Elemental Bird:4/4:blue:flying) auto={C(0/0,-8,Loyalty)}:name(-8: Emblem: All islands have: Draw a card) all(island|mybattlefield) transforms((,newability[{T}:draw:1 controller])) forever dontremove -text=+2: Until your next turn, up to one target creature gets -2/-0 and loses flying. -- -3: Create a 4/4 blue Elemental Bird creature token with flying. -- -8: You get an emblem with "Islands you control have ‘ {T}: Draw a card.'" +text=+2: Until your next turn, up to one target creature gets -2/-0 and loses flying. -- -3: Create a 4/4 blue Elemental Bird creature token with flying. -- -8: You get an emblem with "Islands you control have '{T}: Draw a card.'" mana={1}{U}{U} type=Legendary Planeswalker subtype=Yanling