From cb3ab39df1bc4befde0ad165d9ab7b1d0dae4900 Mon Sep 17 00:00:00 2001 From: Vittorio Alfieri Date: Wed, 26 Apr 2023 13:10:42 +0200 Subject: [PATCH] Added some missing primitives from CLB set. --- .../bin/Res/sets/primitives/borderline.txt | 105 ++++++++++++++++++ 1 file changed, 105 insertions(+) diff --git a/projects/mtg/bin/Res/sets/primitives/borderline.txt b/projects/mtg/bin/Res/sets/primitives/borderline.txt index e76bc8d06..78278762d 100644 --- a/projects/mtg/bin/Res/sets/primitives/borderline.txt +++ b/projects/mtg/bin/Res/sets/primitives/borderline.txt @@ -35,6 +35,18 @@ mana={3} type=Artifact [/card] [card] +name=Abdel Adrian, Gorion's Ward +abilities=backgoundpartner +auto=may name(Exile nonland permanents) target(other *[-land]|mybattlefield) transforms((,newability[token(Soldier^Creature Soldier^1/1^white)],newability[moveto(exile) and!( counter(0/0.1.AbdelExiled) )!])) oneshot +auto=_DIES_name(Return exiled permanents) all(*[counter{0/0.1.AbdelExiled}]|myexile) moveto(mybattlefield) +text=When Abdel Adrian, Gorion's Ward enters the battlefield, exile any number of other nonland permanents you control until Abdel Adrian leaves the battlefield. Create a 1/1 white Soldier creature token for each permanent exiled this way. -- Choose a Background (You can have a Background as a second commander.) +mana={4}{W} +type=Legendary Creature +subtype=Human Warrior +power=4 +toughness=4 +[/card] +[card] name=Aberrant Mind Sorcerer auto=target(*[instant;sorcery]|mygraveyard) name(Choose instant or sorcery and roll a d20) rolld20 20 winability moveto(myhand) winabilityend loseability if compare(lastrollresult)~lessthan~10 then may name(Put on top) moveTo(mylibrary) else moveto(myhand) loseabilityend rolld20end text=Psionic Spells - When Aberrant Mind Sorcerer enters the battlefield, choose target instant or sorcery card in your graveyard, then roll a d20. -- 1-9 | You may put that card on top of your library. -- 10-20 | Return that card to your hand. @@ -4326,6 +4338,16 @@ power=4 toughness=4 [/card] [card] +name=Astral Confrontation +otherrestriction=myattackersonly +other={3}{W} name(Cost 1 less) +target=creature +auto=moveto(exile) +text=This spell costs {1} less to cast for each opponent you're attacking. -- Exile target creature. +mana={4}{W} +type=Instant +[/card] +[card] name=Astral Cornucopia auto=if paid(kicker) then counter(0/0,kicked,Charge) auto={T}:name(Add X white mana) thisforeach(counter{0/0,1,Charge}) add{W} @@ -5655,6 +5677,15 @@ mana={4}{W}{U} type=Instant [/card] [card] +name=Banishment +abilities=flash +auto=name(Exile nonland permanent) target(other *[-land]|opponentbattlefield) transforms((,newability[moveto(exile) and!( counter(0/0.1.BanishmentExiled) )!],newability[all(other *[share!name!]|mybattlefield) moveto(exile) and!( counter(0/0.1.BanishmentExiled) )!])) oneshot +auto=_DIES_name(Return exiled permanents) all(*[counter{0/0.1.BanishmentExiled}]|opponentexile) moveto(opponentbattlefield) +text=Flash -- When Banishment enters the battlefield, exile target nonland permanent an opponent controls and all other nonland permanents your opponents control with the same name as that permanent until Banishment leaves the battlefield. +mana={3}{W} +type=Enchantment +[/card] +[card] name=Bankrupt in Blood auto=draw:3 text=As an additional cost to cast this spell, sacrifice two creatures. -- Draw three cards. @@ -6113,6 +6144,19 @@ power=2 toughness=2 [/card] [card] +name=Battle Angels of Tyr +abilities=flying +auto=@combatdamaged(player) from(this) restriction{compare(ohandcount)~morethan~compare(phandcount)}:name(Draw a card) name(Draw a card) draw:1 controller +auto=@combatdamaged(player) from(this) restriction{type(land|opponentbattlefield)~morethan~type(land|mybattlefield)}:name(Create Treasure) name(Create Treasure) token(Treasure Sur) +auto=@combatdamaged(player) from(this) restriction{compare(opponentlifetotal)~morethan~compare(lifetotal)}:name(Gain 3 life) name(Gain 3 life) life:3 controller +text=Flying, myriad -- Whenever Battle Angels of Tyr deals combat damage to a player, draw a card if that player has more cards in hand than each other player. Then you create a Treasure token if that player controls more lands than each other player. Then you gain 3 life if that player has more life than each other player. +mana={2}{W}{W} +type=Creature +subtype=Angel Knight +power=4 +toughness=4 +[/card] +[card] name=Battle Cry Goblin auto={1}{R}:name(Goblins get 1/0 and haste) all(goblin|mybattlefield) transforms((,newability[1/0],newability[haste])) ueot auto=@combat(attacking) source(this) restriction{compare(pwrtotatt)~morethan~5}:name(Create goblin) token(Goblin,Creature Goblin,1/1,red,battleready) @@ -7700,6 +7744,22 @@ mana={W} type=Instant [/card] [card] +name=Blessed Hippogriff // Tyr's Blessing +abilities=adventure,asflash,flying +restriction=can play creature +otherrestriction=type(creature|battlefield)~morethan~0 +other={W} name(Adventure) +auto=if paid(alternative) then name(Gains indestructible) name(Gains indestructible) target(creature) transforms((,newability[indestructible])) ueot +auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever +auto=_ATTACKING_name(Another creature gains flying) target(creature[attacking;-flying]) transforms((,newability[flying])) ueot +text=Flying -- Whenever Blessed Hippogriff attacks, target attacking creature without flying gains flying until end of turn. // Target creature gains indestructible until end of turn. (Then exile this card. You may cast the creature later from exile.) +mana={3}{W} +type=Creature +subtype=Hippogriff +power=2 +toughness=3 +[/card] +[card] name=Blessed Light target=creature,enchantment. auto=moveto(exile) @@ -17572,6 +17632,20 @@ type=Enchantment subtype=Aura [/card] [card] +name=Crystal Dragon // Rob the Hoard +abilities=flying,vigilance,adventure +otherrestriction=type(*[artifact;enchantment;legendary]|mygraveyard)~morethan~0 +other={1}{W} name(Adventure) +auto=if paid(alternative) then name(Return card) name(Return card) target(*[artifact;enchantment;legendary]|mygraveyard) moveto(ownerhand) +auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever +text=Flying, vigilance // Return target artifact, enchantment, or legendary card from your graveyard to your hand. (Then exile this card. You may cast the creature later from exile.) +mana={4}{W}{W} +type=Creature +subtype=Dragon +power=4 +toughness=4 +[/card] +[card] name=Crystal Grotto auto=_SCRY1_ auto={T}:Add{C} @@ -26145,6 +26219,21 @@ power=3 toughness=5 [/card] [card] +name=Ettercap // Web Shot +abilities=adventure,asflash,reach +restriction=can play creature +otherrestriction=type(creature[flying]|battlefield)~morethan~0 +other={2}{G} name(Adventure) +auto=if paid(alternative) then name(Destroy flying creature) name(Destroy flying creature) target(creature[flying]|battlefield) destroy +auto=if paid(alternative) then transforms((,newability[moveto(exile) and!( transforms((,newability[canplayfromexile])) forever )!])) forever +text=Reach // Destroy target creature with flying. (Then exile this card. You may cast the creature later from exile.) +mana={4}{G} +type=Creature +subtype=Spider Beast +power=2 +toughness=5 +[/card] +[card] name=Eureka auto=moveto(ownerbattlefield) notatarget(*[creature;artifact;enchantment;land;planeswalker]|myhand) auto=ability$! moveto(ownerbattlefield) notatarget(*[creature;artifact;enchantment;land;planeswalker]|myhand) !$ opponent @@ -26990,6 +27079,22 @@ text={T}: Add {C}. -- {S}i}{S}i}{S}i}: Faceless Haven becomes a 4/3 creature wit type=Snow Land [/card] [card] +name=Faceless One +abilities=backgoundpartner +autocommandzone=emblem transforms((,newability[lord(*[counter{0/0.1.PerpetualWhite}]|myzones) becomes(^white),newability[lord(*[counter{0/0.1.PerpetualBlack}]|myzones) becomes(^black)],newability[lord(*[counter{0/0.1.PerpetualBlue}]|myzones) becomes(^blue)],newability[lord(*[counter{0/0.1.PerpetualGreen}]|myzones) becomes(^green)],newability[lord(*[counter{0/0.1.PerpetualRed}]|myzones) becomes(^red)],)) forever dontremove +autocommandzone=if cantargetcard(*[colorless;iscommander]|*) then choice name(Choose White) name(Choose White) counter(0/0.1.PerpetualWhite) notrg +autocommandzone=if cantargetcard(*[colorless;iscommander]|*) then choice name(Choose Black) name(Choose Black) counter(0/0.1.PerpetualBlack) notrg +autocommandzone=if cantargetcard(*[colorless;iscommander]|*) then choice name(Choose Blue) name(Choose Blue) counter(0/0.1.PerpetualBlue) notrg +autocommandzone=if cantargetcard(*[colorless;iscommander]|*) then choice name(Choose Green) name(Choose Green) counter(0/0.1.PerpetualGreen) notrg +autocommandzone=if cantargetcard(*[colorless;iscommander]|*) then choice name(Choose Red) name(Choose Red) counter(0/0.1.PerpetualRed) notrg +text=If Faceless One is your commander, choose a color before the game begins. Faceless One is the chosen color. -- Choose a Background (You can have a Background as a second commander.) +mana={5} +type=Legendary Enchantment Creature +subtype=Background +power=3 +toughness=3 +[/card] +[card] name=Facet Reader auto={1}{T}:_LOOT_ text={1}, {T}: Draw a card, then discard a card.