From 836410dca79fb7a592d5c4b67abec5faac0ac43c Mon Sep 17 00:00:00 2001 From: Eduardo MG Date: Tue, 9 May 2023 23:25:03 -0600 Subject: [PATCH] Bug fixes in primitives @cycled Marching Duodrone Saddled Rimestag Prickly Marmoset reptilian reflection Bane of the Living --- .../mtg/bin/Res/sets/primitives/borderline.txt | 18 +++++++++--------- projects/mtg/bin/Res/sets/primitives/mtg.txt | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/projects/mtg/bin/Res/sets/primitives/borderline.txt b/projects/mtg/bin/Res/sets/primitives/borderline.txt index 40cc66c30..a6a11c2a8 100644 --- a/projects/mtg/bin/Res/sets/primitives/borderline.txt +++ b/projects/mtg/bin/Res/sets/primitives/borderline.txt @@ -15468,7 +15468,7 @@ name=Coastal Bulwark abilities=defender auto=aslongas(Island|myBattlefield) 2/0 aicode=name(surveil) activate name(surveil) transforms((,newability[foreach(*[zpos<=1]|mylibrary) moverandom(*[zpos<=1]) from(mylibrary) to(mylibrary)])) ueot -auto=name(surveil) reveal:1 optionone name(put in graveyard) target(*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(<1>*|reveal) moveto(ownerlibrary) optiontwoend revealend +auto={2}{T}:name(surveil) reveal:1 optionone name(put in graveyard) target(*|reveal) moveto(ownergraveyard) optiononeend optiontwo name(put in library) target(<1>*|reveal) moveto(ownerlibrary) optiontwoend revealend text=Defender -- Coastal Bulwark gets +2/+0 as long as you control an Island. -- {2}, {T}: Surveil 1. (Look at the top card of your library. You may put that card into your graveyard.) mana={2} type=Artifact Creature @@ -27268,7 +27268,7 @@ auto=if type(*[-land&manacost=17]|mybattlefield)~morethan~0 then choice name(Exi auto=if type(*[-land&manacost=18]|mybattlefield)~morethan~0 then choice name(Exile your permanent with cost 18) name(Exile your permanent with cost 18) target(*[-land&manacost=18]|mybattlefield) moveto(exile) and!( token(Incubator^Artifact^0/0) and!( transforms((,newability[_DIES_:all(Brimaz^ Blight of Oreskos|mybattlefield) name(Phyrexian died) counter(0/0.1.BrimazEffect) notrg],newability[counter(1/1.18)],newability[{2}:name(Becomes creature) becomes(Creature^Phyrexian) forever])) forever )! )! auto=if type(*[-land&manacost=19]|mybattlefield)~morethan~0 then choice name(Exile your permanent with cost 19) name(Exile your permanent with cost 19) target(*[-land&manacost=19]|mybattlefield) moveto(exile) and!( token(Incubator^Artifact^0/0) and!( transforms((,newability[_DIES_:all(Brimaz^ Blight of Oreskos|mybattlefield) name(Phyrexian died) counter(0/0.1.BrimazEffect) notrg],newability[counter(1/1.19)],newability[{2}:name(Becomes creature) becomes(Creature^Phyrexian) forever])) forever )! )! auto=if type(*[-land&manacost>=19]|mybattlefield)~morethan~0 then choice name(Exile your permanent with cost 20) name(Exile your permanent with cost 20) target(*[-land&manacost>=19]|mybattlefield) moveto(exile) and!( token(Incubator^Artifact^0/0) and!( transforms((,newability[_DIES_:all(Brimaz^ Blight of Oreskos|mybattlefield) name(Phyrexian died) counter(0/0.1.BrimazEffect) notrg],newability[counter(1/1.20)],newability[{2}:name(Becomes creature) becomes(Creature^Phyrexian) forever])) forever )! )! -auto=if type(*[-land&manacost=0]|opponentbattlefield)~morethan~0 then choice name(Exile opponent permanent with cost 0) name(Exile opponent permanent with cost 0) target(*[-land&manacost=0]|opponentbattlefield) moveto(exile) and!( token(Incubator^Artifact^0/0) opponent and!( transforms((,newability[_DIES_:all(Brimaz^ Blight of Oreskos|mybattlefield) name(Phyrexian died) counter(0/0.1.BrimazEffect) notrg],newability[{2}:name(Becomes creature) becomes(Creature^Phyrexian) forever])) forever )!])) forever )! +auto=if type(*[-land&manacost=0]|opponentbattlefield)~morethan~0 then choice name(Exile opponent permanent with cost 0) name(Exile opponent permanent with cost 0) target(*[-land&manacost=0]|opponentbattlefield) moveto(exile) and!( token(Incubator^Artifact^0/0) opponent and!( transforms((,newability[_DIES_:all(Brimaz^ Blight of Oreskos|mybattlefield) name(Phyrexian died) counter(0/0.1.BrimazEffect) notrg],newability[{2}:name(Becomes creature) becomes(Creature^Phyrexian) forever])) forever )! )! auto=if type(*[-land&manacost=1]|opponentbattlefield)~morethan~0 then choice name(Exile opponent permanent with cost 1) name(Exile opponent permanent with cost 1) target(*[-land&manacost=1]|opponentbattlefield) moveto(exile) and!( token(Incubator^Artifact^0/0) opponent and!( transforms((,newability[_DIES_:all(Brimaz^ Blight of Oreskos|mybattlefield) name(Phyrexian died) counter(0/0.1.BrimazEffect) notrg],newability[counter(1/1.1)],newability[{2}:name(Becomes creature) becomes(Creature^Phyrexian) forever])) forever )! )! auto=if type(*[-land&manacost=2]|opponentbattlefield)~morethan~0 then choice name(Exile opponent permanent with cost 2) name(Exile opponent permanent with cost 2) target(*[-land&manacost=2]|opponentbattlefield) moveto(exile) and!( token(Incubator^Artifact^0/0) opponent and!( transforms((,newability[_DIES_:all(Brimaz^ Blight of Oreskos|mybattlefield) name(Phyrexian died) counter(0/0.1.BrimazEffect) notrg],newability[counter(1/1.2)],newability[{2}:name(Becomes creature) becomes(Creature^Phyrexian) forever])) forever )! )! auto=if type(*[-land&manacost=3]|opponentbattlefield)~morethan~0 then choice name(Exile opponent permanent with cost 3) name(Exile opponent permanent with cost 3) target(*[-land&manacost=3]|opponentbattlefield) moveto(exile) and!( token(Incubator^Artifact^0/0) opponent and!( transforms((,newability[_DIES_:all(Brimaz^ Blight of Oreskos|mybattlefield) name(Phyrexian died) counter(0/0.1.BrimazEffect) notrg],newability[counter(1/1.3)],newability[{2}:name(Becomes creature) becomes(Creature^Phyrexian) forever])) forever )! )! @@ -48434,7 +48434,7 @@ toughness=3 [/card] [card] name=Leafkin Druid -auto={T}:if type(creature|mybattlefield)~morethan~3 then Add{G}{G} else Add{G} +auto={T}:name(Add mana) if type(creature|mybattlefield)~morethan~3 then Add{G}{G} else Add{G} text={T}: Add {G}. If you control four or more creatures, add {G}{G} instead. mana={1}{G} type=Creature @@ -51976,7 +51976,7 @@ type=Enchantment [/card] [card] name=Marching Duodrone -auto=_ATTACKING_all(player) token(treasure sur) +auto=_ATTACKING_token(treasure sur) controller && token(treasure sur) opponent text=Whenever Marching Duodrone attacks, each player creates a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") mana={2} type=Artifact Creature @@ -63464,7 +63464,7 @@ toughness=2 [card] name=Prickly Marmoset abilities=first strike -auto=cycled(*|myHand):2/0 ueot +auto=@cycled(*|myHand):2/0 ueot text=First strike -- Whenever you cycle a card, Prickly Marmoset gets +2/+0 until end of turn. mana={2}{R} type=Creature @@ -67778,7 +67778,7 @@ subtype=Aura [/card] [card] name=Reptilian Reflection -auto=cycled(*|myHand):transforms((Dinosaur Creature,setpower=5,settoughness=4,red,haste,trample)) ueot +auto=@cycled(*|myHand):transforms((Dinosaur Creature,setpower=5,settoughness=4,red,haste,trample)) ueot text=Whenever you cycle a card, you may have Reptilian Reflection become a 5/4 Dinosaur creature with trample and haste in addition to its other types until end of turn. mana={2}{R} type=Enchantment @@ -68484,8 +68484,8 @@ toughness=2 [/card] [card] name=Rhox Faithmender -abilities=lifelink -auto=@lifeof(player) from(*[-Rhox Faithmender]):life:thatmuch +abilities=lifelink,lifefaker +auto=@lifeof(player) from(*[-lifefaker]):life:thatmuch auto=@damaged(creature,player) from(Rhox Faithmender|myBattlefield):life:thatmuch text=Lifelink (Damage dealt by this creature also causes you to gain that much life.) -- If you would gain life, you gain twice that much life instead. mana={3}{W} @@ -70988,7 +70988,7 @@ subtype=Equipment [card] name=Saddled Rimestag auto=if thisturn(creature|mybattlefield)~morethan~1 then 2/2 ueot -auto=@movedto(other creature|myBattlefield):2/2 ueot +auto=@movedto(other creature|myBattlefield) turnlimited:2/2 ueot text=Saddled Rimestag gets +2/+2 as long as you had another creature enter the battlefield under your control this turn. mana={1}{G} type=Snow Creature diff --git a/projects/mtg/bin/Res/sets/primitives/mtg.txt b/projects/mtg/bin/Res/sets/primitives/mtg.txt index 581e6f266..84d241281 100644 --- a/projects/mtg/bin/Res/sets/primitives/mtg.txt +++ b/projects/mtg/bin/Res/sets/primitives/mtg.txt @@ -8813,7 +8813,7 @@ toughness=2 name=Bane of the Living facedown={3} autofacedown={X}{B}{B}:morph -autofaceup=-X/-X all(creature) ueot +autofaceup=all(creature) -X/-X ueot text=Morph {X}{B}{B} (You may cast this face down as a 2/2 creature for {3}. Turn it face up any time for its morph cost.) -- When Bane of the Living is turned face up, all creatures get -X/-X until end of turn. mana={2}{B}{B} type=Creature