From 5785e413ecfc72b4703a28bd7e80f07e380e921e Mon Sep 17 00:00:00 2001 From: Eduardo MG Date: Sat, 27 May 2023 00:11:31 -0600 Subject: [PATCH] Bug fixes on primitives Jace, Wielder of Mysteries Chain Reaction Rona, Tolarian Obliterator Seize the Soul Graveyard Marshal Varina, Lich Queen --- projects/mtg/bin/Res/sets/primitives/borderline.txt | 5 +++-- projects/mtg/bin/Res/sets/primitives/mtg.txt | 3 ++- projects/mtg/bin/Res/sets/primitives/planeswalkers.txt | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/projects/mtg/bin/Res/sets/primitives/borderline.txt b/projects/mtg/bin/Res/sets/primitives/borderline.txt index 05290ca02..71eaaf954 100644 --- a/projects/mtg/bin/Res/sets/primitives/borderline.txt +++ b/projects/mtg/bin/Res/sets/primitives/borderline.txt @@ -37156,7 +37156,7 @@ toughness=4 [/card] [card] name=Graveyard Marshal -auto={2}{B}{E(creature|mygraveyard)}:create(black zombie:creature black zombie:2/2) and!(tap(noevent))! +auto={2}{B}{E(creature|mygraveyard)}:_ZOMBIETOKEN_ and!(tap(noevent))! text={2}{B}, Exile a creature card from your graveyard: Create a tapped 2/2 black Zombie creature token. mana={B}{B} type=Creature @@ -72393,6 +72393,7 @@ abilities=trample auto=@damaged(this) from(*|opponentzones):name(Discard at random) name(Discard at random) ability$!name(Discard at random) name(Discard at random) all(*[zpos=genrandzpos=type:*:myhandplus1plusend]|myhand) reject and!( transforms((,newability[if cantargetcard(*[land]|*) then transforms((,newability[choice name(Put land in play) moveto(mybattlefield)],newability[choice name(Don't put land in play) donothing])) oneshot],newability[if cantargetcard(*[-land]|*) then transforms((,newability[choice name(Cast for zero) activate castcard(normal)],newability[choice name(Don't cast) donothing])) oneshot])) oneshot )!!$ opponent auto=@damaged(this) from(*|myzones):name(Discard at random) name(Discard at random) all(*[zpos=genrandzpos=type:*:myhandplus1plusend]|myhand) reject and!( transforms((,newability[if cantargetcard(*[land]|*) then transforms((,newability[choice name(Put in play) moveto(mybattlefield)],newability[choice name(Don't put in play) donothing])) oneshot],newability[if cantargetcard(*[-land]|*) then transforms((,newability[choice name(Cast spell for zero) activate castcard(normal)],newability[choice name(Don't cast spell) donothing])) oneshot])) oneshot )! text=Trample -- Whenever a source deals damage to Rona, Tolarian Obliterator, that source's controller exiles a card from their hand at random. If it's a land card, you may put it onto the battlefield under your control. Otherwise, you may cast it without paying its mana cost. +color=black,blue type=Legendary Creature subtype=Phyrexian Wizard power=5 @@ -95077,7 +95078,7 @@ toughness=3 name=Varina, Lich Queen auto=@each my blockers restriction{type(Zombie[attacking]|myBattlefield)~morethan~0}:draw:type:zombie[attacking]:myBattlefield && transforms((,newability[target(*|myhand) reject])) forever auto=@each my blockers restriction{type(Zombie[attacking]|myBattlefield)~morethan~0}:life:type:zombie[attacking]:myBattlefield -auto={2}{E(*|mygraveyard)}{E(*|mygraveyard)}:create(black zombie:creature black zombie:2/2) and!( tap(noevent) )! +auto={2}{E(*|mygraveyard)}{E(*|mygraveyard)}:_ZOMBIETOKEN_ and!( tap(noevent) )! text=Whenever you attack with one or more Zombies, draw that many cards, then discard that many cards. You gain that much life. -- {2}, Exile two cards from your graveyard: Create a tapped 2/2 black Zombie creature token. mana={1}{W}{U}{B} type=Legendary Creature diff --git a/projects/mtg/bin/Res/sets/primitives/mtg.txt b/projects/mtg/bin/Res/sets/primitives/mtg.txt index 3d86f5f11..10f0db4fa 100644 --- a/projects/mtg/bin/Res/sets/primitives/mtg.txt +++ b/projects/mtg/bin/Res/sets/primitives/mtg.txt @@ -18494,7 +18494,8 @@ type=Sorcery [/card] [card] name=Chain Reaction -auto=damage:type:creature:battlefield all(creature) +auto=count(type:creature:battlefield) +auto=all(creature) damage:countedamount text=Chain Reaction deals X damage to each creature, where X is the number of creatures on the battlefield. mana={2}{R}{R} type=Sorcery diff --git a/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt b/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt index f1ce238db..5a5d33128 100644 --- a/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt +++ b/projects/mtg/bin/Res/sets/primitives/planeswalkers.txt @@ -1463,7 +1463,7 @@ name=Jace, Wielder of Mysteries abilities=cantmilllose auto=counter(0/0,4,loyalty) auto=@drawof(player) restriction{type(*|mylibrary)~equalto~0}:wingame -auto={C(0/0,1,Loyalty)}:name(+1: Target player milss two and draws a card) target(player) deplete:2 && draw:1 +auto={C(0/0,1,Loyalty)}:name(+1: Target player milss two and draws a card) target(player) deplete:2 && draw:1 controller auto={C(0/0,-8,Loyalty)}:name(-8: Draw seven cards if no cards are in library win the game) if type(*|mylibrary)~lessthan~8 then wingame else draw:7 text=If you would draw a card while your library has no cards in it, you win the game instead. -- +1: Target player mills two cards. Draw a card. -- -8: Draw seven cards. Then if your library has no cards in it, you win the game. mana={1}{U}{U}{U}