From 170987e41841a05c71b6b829e9bb6c4370bb2192 Mon Sep 17 00:00:00 2001 From: Vittorio Alfieri Date: Fri, 16 Jun 2023 15:16:40 +0200 Subject: [PATCH] Added new primitives from ONE set. --- .../bin/Res/sets/primitives/borderline.txt | 142 +++++++++++++++++- 1 file changed, 141 insertions(+), 1 deletion(-) diff --git a/projects/mtg/bin/Res/sets/primitives/borderline.txt b/projects/mtg/bin/Res/sets/primitives/borderline.txt index ae72272c2..209400b91 100644 --- a/projects/mtg/bin/Res/sets/primitives/borderline.txt +++ b/projects/mtg/bin/Res/sets/primitives/borderline.txt @@ -1,7 +1,7 @@ grade=borderline #Bordeline Primitives Pack for Wagic the Homebrew. #Please keep these card alphabetized, and try to have the "name=" line at the top of each card -#I sorted this programmatically - Thanks to Vitty85 15-06-2023 +#I sorted this programmatically - Thanks to Vitty85 16-06-2023 [card] name=+2 Mace auto={3}:equip @@ -13048,6 +13048,16 @@ mana={BR} type=Instant [/card] [card] +name=Carnivorous Canopy +target=*[flying]|battlefield +restriction=type(*[artifact;enchantment;creature]|battlefield)~morethan~0 +auto=if cantargetcard(*[artifact;enchantment;creature]|*) then destroy +auto=if cantargetcard(*[manacost<=3]|*) then _PROLIFERATE_ +text=Destroy target artifact, enchantment, or creature with flying. If that permanent's mana value was 3 or less, proliferate. (Choose any number of permanents and/or players, then give each another counter of each kind already there.) +mana={2}{G} +type=Sorcery +[/card] +[card] name=Carom target=creature auto=absorb ueot @@ -51410,6 +51420,17 @@ power=2 toughness=3 [/card] [card] +name=Lattice-Blade Mantis +auto=counter(0/0,2,Oil) +auto=@combat(attacking) source(this) restriction{compare(hascntoil)~morethan~0}:may name(Remove oil counter) transforms((,newability[untap],newability[1/1],newability[counter(0/0.-1.Oil)])) ueot +text=Lattice-Blade Mantis enters the battlefield with two oil counters on it. -- Whenever Lattice-Blade Mantis attacks, you may remove an oil counter from it. If you do, untap it and it gets +1/+1 until end of turn. +mana={3}{G} +type=Creature +subtype=Phyrexian Insect +power=4 +toughness=3 +[/card] +[card] name=Launch Mishap target=creature,planeswalker|stack auto=fizzle @@ -54606,6 +54627,18 @@ mana={5}{R} type=Instant [/card] [card] +name=Magmatic Sprinter +abilities=haste +auto=target(*[artifact;creature]|myBattlefield) counter(0/0,2,Oil) +auto=@each my endofturn:name(Choose one) transforms((,newability[if compare(hascntoil)~morethan~1 then choice name(Remove 2 oil counters) name(Remove 2 oil counters) counter(0/0.-2.Oil)],newability[choice name(Return to hand) moveto(ownerhand)])) ueot +text=Haste -- When Magmatic Sprinter enters the battlefield, put two oil counters on target artifact or creature you control. -- At the beginning of your end step, return Magmatic Sprinter to its owner's hand unless you remove two oil counters from it. +mana={2}{R} +type=Creature +subtype=Phyrexian Warrior +power=3 +toughness=2 +[/card] +[card] name=Magnanimous Magistrate auto=counter(0/0,5,Reprieve) auto=@movedTo(creature[-token&manacost=1]|graveyard) from(mybattlefield) restriction{compare(hascntreprieve)~morethan~0}:may name(Remove counter and return) all(trigger[to]) moveto(ownerbattlefield) and!( all(this) counter(0/0,-1,Reprieve) )! @@ -56059,6 +56092,19 @@ text=Maze's End enters the battlefield tapped. -- {T}:Add {C}. -- {3},{T},Return type=Land [/card] [card] +name=Maze's Mantle +abilities=flash +target=creature +auto=if cantargetcard(*[poisontoxic]|*) then transforms((,newability[opponentshroud])) ueot +auto=if cantargetcard(*[poisontwotoxic]|*) then transforms((,newability[opponentshroud])) ueot +auto=if cantargetcard(*[poisonthreetoxic]|*) then transforms((,newability[opponentshroud])) ueot +auto=teach(creature) 2/2 +text=Flash -- Enchant creature -- When Maze's Mantle enters the battlefield, if enchanted creature has toxic, that creature gains hexproof until end of turn. -- Enchanted creature gets +2/+2. +mana={2}{G} +type=Enchantment +subtype=Aura +[/card] +[card] name=Mazemind Tome aicode=activate transforms((,newability[all(*[zpos<=1]|mylibrary) transforms((,newability[may name(Put on bottom of library) moveto(myreveal) and!( bottomoflibrary )!])) oneshot])) oneshot auto={T}{C(0/0,1,Page)}:name(Scry 1) _SCRY1_ @@ -58401,6 +58447,15 @@ power=5 toughness=5 [/card] [card] +name=Molten Rebuke +auto=if type(*[creature;planeswalker]|battlefield)~morethan~0 then choice name(Damage creature or planeswalker) name(Damage creature or planeswalker) target(*[creature;planeswalker]|battlefield) damage:5 +auto=if type(*[equipment]|battlefield)~morethan~0 then choice name(Destroy equipment) name(Destroy equipment) target(*[equipment]|battlefield) destroy +auto=if type(*[creature;planeswalker]|battlefield)~morethan~0 then if type(*[equipment]|battlefield)~morethan~0 then choice name(Destroy and damage) name(Destroy and damage) name(Destroy and damage) target(*[equipment]|battlefield) destroy and!( ability$!name(Damage creature or planeswalker) name(Damage creature or planeswalker) target(*[creature;planeswalker]|battlefield) damage:5!$ controller )! +text=Choose one or both -- Molten Rebuke deals 5 damage to target creature or planeswalker. -- Destroy target Equipment. +mana={4}{R} +type=Sorcery +[/card] +[card] name=Molten Slagheap auto={T}:add{C} auto={1}{T}:counter(0/0,1,Storage) @@ -59907,6 +59962,13 @@ mana={3}{R}{W} type=Enchantment [/card] [card] +name=Nahiri's Sacrifice +auto=thisforeach(variable{storedmanacost}>0) ability$!name(Deal damage) name(Deal damage) damage:1 target(creature|battlefield)!$ controller +text=As an additional cost to cast this spell, sacrifice an artifact or creature with mana value X. -- Nahiri's Sacrifice deals X damage divided as you choose among any number of target creatures. +mana={1}{R}{S(*[creature;artifact]|mybattlefield)} +type=Sorcery +[/card] +[card] name=Nahiri's Stoneblades target=creature auto=2/0 ueot @@ -71660,6 +71722,16 @@ power=2 toughness=2 [/card] [card] +name=Rebel Salvo +target=*[creature;planeswalker]|battlefield +anyzone=affinity(equipment|mybattlefield) reduce({1}) +auto=damage:5 +auto=-indestructible ueot +text=Affinity for Equipment (This spell costs {1} less to cast for each Equipment you control.) -- Rebel Salvo deals 5 damage to target creature or planeswalker. That permanent loses indestructible until end of turn. +mana={2}{R} +type=Instant +[/card] +[card] name=Rebuff the Wicked target=*|stack restriction=type(*|myBattlefield)~morethan~0 @@ -71947,6 +72019,14 @@ power=4 toughness=4 [/card] [card] +name=Red Sun's Twilight +auto=if compare(fullpaid)~lessthan~5 then name(Destroy upto 5 artifacts) name(Destroy upto 5 artifacts) target(artifact|battlefield) destroy +auto=if compare(fullpaid)~morethan~4 then name(Destroy and clone upto 5 artifacts) name(Destroy and clone upto 5 artifacts) target(artifact|battlefield) destroy and!( clone with(treason) )! +text=Destroy up to X target artifacts. If X is 5 or more, for each artifact destroyed this way, create a token that's a copy of it. Those tokens gain haste. Exile them at the beginning of the next end step. +mana={X}{R}{R} +type=Sorcery +[/card] +[card] name=Redcap Heelslasher abilities=first strike auto=name(This creature) target(this) counter(1/1) @@ -83252,6 +83332,55 @@ text={T}: Add {1} to your mana pool. -- {T}: Add one mana of any color to your m type=Land [/card] [card] +name=Slobad, Iron Goblin +auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}{S(artifact[manacost=1]|myBattlefield)}:name(Sacrifice with manacost 1) name(Sacrifice with manacost 1) add{R} +auto=this(variable{type:artifact:mybattlefield}>0) {T}{S(artifact[manacost=1]|myBattlefield)}:name(Sacrifice with manacost 1) name(Sacrifice with manacost 1) add{R} +auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}{S(artifact[manacost=2]|myBattlefield)}:name(Sacrifice with manacost 2) name(Sacrifice with manacost 2) add{R}{R} +auto=this(variable{type:artifact:mybattlefield}>0) {T}{S(artifact[manacost=2]|myBattlefield)}:name(Sacrifice with manacost 2) name(Sacrifice with manacost 2) add{R}{R} +auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}{S(artifact[manacost=3]|myBattlefield)}:name(Sacrifice with manacost 3) name(Sacrifice with manacost 3) add{R}{R}{R} +auto=this(variable{type:artifact:mybattlefield}>0) {T}{S(artifact[manacost=3]|myBattlefield)}:name(Sacrifice with manacost 3) name(Sacrifice with manacost 3) add{R}{R}{R} +auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}{S(artifact[manacost=4]|myBattlefield)}:name(Sacrifice with manacost 4) name(Sacrifice with manacost 4) add{R}{R}{R}{R} +auto=this(variable{type:artifact:mybattlefield}>0) {T}{S(artifact[manacost=4]|myBattlefield)}:name(Sacrifice with manacost 4) name(Sacrifice with manacost 4) add{R}{R}{R}{R} +auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}{S(artifact[manacost=5]|myBattlefield)}:name(Sacrifice with manacost 5) name(Sacrifice with manacost 5) add{R}{R}{R}{R}{R} +auto=this(variable{type:artifact:mybattlefield}>0) {T}{S(artifact[manacost=5]|myBattlefield)}:name(Sacrifice with manacost 5) name(Sacrifice with manacost 5) add{R}{R}{R}{R}{R} +auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}{S(artifact[manacost=6]|myBattlefield)}:name(Sacrifice with manacost 6) name(Sacrifice with manacost 6) add{R}{R}{R}{R}{R}{R} +auto=this(variable{type:artifact:mybattlefield}>0) {T}{S(artifact[manacost=6]|myBattlefield)}:name(Sacrifice with manacost 6) name(Sacrifice with manacost 6) add{R}{R}{R}{R}{R}{R} +auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}{S(artifact[manacost=7]|myBattlefield)}:name(Sacrifice with manacost 7) name(Sacrifice with manacost 7) add{R}{R}{R}{R}{R}{R}{R} +auto=this(variable{type:artifact:mybattlefield}>0) {T}{S(artifact[manacost=7]|myBattlefield)}:name(Sacrifice with manacost 7) name(Sacrifice with manacost 7) add{R}{R}{R}{R}{R}{R}{R} +auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}{S(artifact[manacost=8]|myBattlefield)}:name(Sacrifice with manacost 8) name(Sacrifice with manacost 8) add{R}{R}{R}{R}{R}{R}{R}{R} +auto=this(variable{type:artifact:mybattlefield}>0) {T}{S(artifact[manacost=8]|myBattlefield)}:name(Sacrifice with manacost 8) name(Sacrifice with manacost 8) add{R}{R}{R}{R}{R}{R}{R}{R} +auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}{S(artifact[manacost=9]|myBattlefield)}:name(Sacrifice with manacost 9) name(Sacrifice with manacost 9) add{R}{R}{R}{R}{R}{R}{R}{R}{R} +auto=this(variable{type:artifact:mybattlefield}>0) {T}{S(artifact[manacost=9]|myBattlefield)}:name(Sacrifice with manacost 9) name(Sacrifice with manacost 9) add{R}{R}{R}{R}{R}{R}{R}{R}{R} +auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}{S(artifact[manacost=10]|myBattlefield)}:name(Sacrifice with manacost 10) name(Sacrifice with manacost 10) add{R}{R}{R}{R}{R}{R}{R}{R}{R} +auto=this(variable{type:artifact:mybattlefield}>0) {T}{S(artifact[manacost=10]|myBattlefield)}:name(Sacrifice with manacost 10) name(Sacrifice with manacost 10) add{R}{R}{R}{R}{R}{R}{R}{R}{R}{R} +auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}{S(artifact[manacost=11]|myBattlefield)}:name(Sacrifice with manacost 11) name(Sacrifice with manacost 11) add{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R} +auto=this(variable{type:artifact:mybattlefield}>0) {T}{S(artifact[manacost=11]|myBattlefield)}:name(Sacrifice with manacost 11) name(Sacrifice with manacost 11) add{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R} +auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}{S(artifact[manacost=12]|myBattlefield)}:name(Sacrifice with manacost 12) name(Sacrifice with manacost 12) add{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R} +auto=this(variable{type:artifact:mybattlefield}>0) {T}{S(artifact[manacost=12]|myBattlefield)}:name(Sacrifice with manacost 12) name(Sacrifice with manacost 12) add{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R} +auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}{S(artifact[manacost=13]|myBattlefield)}:name(Sacrifice with manacost 13) name(Sacrifice with manacost 13) add{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R} +auto=this(variable{type:artifact:mybattlefield}>0) {T}{S(artifact[manacost=13]|myBattlefield)}:name(Sacrifice with manacost 13) name(Sacrifice with manacost 13) add{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R} +auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}{S(artifact[manacost=14]|myBattlefield)}:name(Sacrifice with manacost 14) name(Sacrifice with manacost 14) add{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R} +auto=this(variable{type:artifact:mybattlefield}>0) {T}{S(artifact[manacost=14]|myBattlefield)}:name(Sacrifice with manacost 14) name(Sacrifice with manacost 14) add{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R} +auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}{S(artifact[manacost=15]|myBattlefield)}:name(Sacrifice with manacost 15) name(Sacrifice with manacost 15) add{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R} +auto=this(variable{type:artifact:mybattlefield}>0) {T}{S(artifact[manacost=15]|myBattlefield)}:name(Sacrifice with manacost 15) name(Sacrifice with manacost 15) add{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R} +auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}{S(artifact[manacost=16]|myBattlefield)}:name(Sacrifice with manacost 16) name(Sacrifice with manacost 16) add{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R} +auto=this(variable{type:artifact:mybattlefield}>0) {T}{S(artifact[manacost=16]|myBattlefield)}:name(Sacrifice with manacost 16) name(Sacrifice with manacost 16) add{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R} +auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}{S(artifact[manacost=17]|myBattlefield)}:name(Sacrifice with manacost 17) name(Sacrifice with manacost 17) add{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R} +auto=this(variable{type:artifact:mybattlefield}>0) {T}{S(artifact[manacost=17]|myBattlefield)}:name(Sacrifice with manacost 17) name(Sacrifice with manacost 17) add{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R} +auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}{S(artifact[manacost=18]|myBattlefield)}:name(Sacrifice with manacost 18) name(Sacrifice with manacost 18) add{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R} +auto=this(variable{type:artifact:mybattlefield}>0) {T}{S(artifact[manacost=18]|myBattlefield)}:name(Sacrifice with manacost 18) name(Sacrifice with manacost 18) add{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R} +auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}{S(artifact[manacost=19]|myBattlefield)}:name(Sacrifice with manacost 19) name(Sacrifice with manacost 19) add{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R} +auto=this(variable{type:artifact:mybattlefield}>0) {T}{S(artifact[manacost=19]|myBattlefield)}:name(Sacrifice with manacost 19) name(Sacrifice with manacost 19) add{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R} +auto=this(variable{type:artifact:myrestrictedcastingzone}>0) {T}{S(artifact[manacost=20]|myBattlefield)}:name(Sacrifice with manacost 20) name(Sacrifice with manacost 20) add{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R} +auto=this(variable{type:artifact:mybattlefield}>0) {T}{S(artifact[manacost=20]|myBattlefield)}:name(Sacrifice with manacost 20) name(Sacrifice with manacost 20) add{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R}{R} +text={T}, Sacrifice an artifact: Add an amount of {R} equal to the sacrificed artifact's mana value. Spend this mana only to cast artifact spells or activate abilities of artifacts. +mana={2}{R} +type=Legendary Creature +subtype=Phyrexian Goblin Artificer +power=3 +toughness=3 +[/card] +[card] name=Slogurk, the Overslime abilities=trample auto=@movedto(land|mygraveyard):name(Put 1/1 counter) counter(1/1) @@ -98739,6 +98868,17 @@ power=4 toughness=4 [/card] [card] +name=Venomous Brutalizer +abilities=poisonthreetoxic +auto=may name(Pay and proliferate) pay({1}{g}) name(Pay and proliferate) _PROLIFERATE_ +text=Toxic 3 (Players dealt combat damage by this creature also get three poison counters.) -- When Venomous Brutalizer enters the battlefield, you may pay {1}{G}. If you do, proliferate. (Choose any number of permanents and/or players, then give each another counter of each kind already there.) +mana={2}{G}{G} +type=Creature +subtype=Phyrexian Knight +power=4 +toughness=4 +[/card] +[card] name=Venomous Changeling abilities=deathtouch,changeling text=Changeling (This card is every creature type.) -- Deathtouch