diff --git a/projects/mtg/bin/Res/sets/primitives/borderline.txt b/projects/mtg/bin/Res/sets/primitives/borderline.txt index 46a9bb2dc..190ded580 100644 --- a/projects/mtg/bin/Res/sets/primitives/borderline.txt +++ b/projects/mtg/bin/Res/sets/primitives/borderline.txt @@ -149,6 +149,25 @@ power=1 toughness=1 [/card] [card] +name=Rakdos Augermage +abilities=first strike +auto={T}:name(target opponent) target(opponent) donothing && all(this) transforms((,newability[ability$!name(discard) reject notatarget(*|opponenthand)!$ targetedplayer && ability$!name(discard) reject notatarget(*|opponenthand)!$ controller])) assorcery +text=First strike -- {T}: Reveal your hand and discard a card of target opponent's choice. Then that player reveals his or her hand and discards a card of your choice. Activate this ability only any time you could cast a sorcery. +mana={B}{B}{R} +type=Creature +subtype=Human Wizard +power=3 +toughness=2 +[/card] +[card] +name=Recall +auto=name(discard) notatarget(*|myhand) transforms((,newability[reject],newability[moveto(ownerhand) notatarget(*|mygraveyard)])) +auto=moveto(exile) all(this) +text=Discard X cards, then return a card from your graveyard to your hand for each card discarded this way. Exile Recall. +mana={X}{X}{U} +type=Sorcery +[/card] +[card] name=Sacellum Godspeaker auto={T}:foreach(creaure[power>4]|myhand) add{G} text={T}: Reveal any number of creature cards with power 5 or greater from your hand. Add {G} to your mana pool for each card revealed this way. diff --git a/projects/mtg/bin/Res/sets/primitives/mtg.txt b/projects/mtg/bin/Res/sets/primitives/mtg.txt index cf16eb5bf..5d51d54bf 100644 --- a/projects/mtg/bin/Res/sets/primitives/mtg.txt +++ b/projects/mtg/bin/Res/sets/primitives/mtg.txt @@ -67705,6 +67705,14 @@ mana={B} type=Sorcery [/card] [card] +name=Reap +target=opponent +auto=moveto(ownerhand) target(*|mygraveyard) +text=Return up to X target cards from your graveyard to your hand, where X is the number of black permanents target opponent controls as you cast Reap. +mana={1}{G} +type=Instant +[/card] +[card] name=Reap the Seagraf auto=token(Zombie,Creature Zombie,2/2,black) flashback={4}{U} @@ -67773,6 +67781,17 @@ power=1 toughness=1 [/card] [card] +name=Rebel Informer +auto=cantbetargetof(*[white]) +auto={3}:bottomoflibrary target(rebel[-token]|battlefield) +text=Rebel Informer can't be the target of white spells or abilities from white sources. -- {3}: Put target nontoken Rebel on the bottom of its owner's library. +mana={2}{B} +type=Creature +subtype=Human Mercenary Rebel +power=1 +toughness=2 +[/card] +[card] name=Reborn Hope target=*[multicolor]|mygraveyard auto=moveTo(myhand) @@ -68651,6 +68670,15 @@ mana={3}{W} type=Sorcery [/card] [card] +name=Repopulate +target=player +auto=moveto(ownerlibrary) and!(shuffle)! all(creature|targetedpersonsgraveyard) +autohand=__CYCLING__({2}) +text=Shuffle all creature cards from target player's graveyard into that player's library. -- Cycling {2} ({2}, Discard this card: Draw a card.) +mana={1}{G} +type=Instant +[/card] +[card] name=Reprisal target=creature[power>=4] auto=bury @@ -69956,6 +69984,18 @@ power=2 toughness=1 [/card] [card] +name=Rix Maadi Guildmage +auto={B}{R}:name(target creature -1/-1) target(creature[blocking]) -1/-1 ueot +auto={B}{R}:name(target controller life -1) target(controller) life:-1 restriction{compare(lifelost)~morethan~0} +auto={B}{R}:name(target opponent life -1) target(opponent) life:-1 restriction{compare(oplifelost)~morethan~0} +text={B}{R}: Target blocking creature gets -1/-1 until end of turn. -- {B}{R}: Target player who lost life this turn loses 1 life. +mana={B}{R} +type=Creature +subtype=Human Shaman +power=2 +toughness=2 +[/card] +[card] name=Rix Maadi, Dungeon Palace auto={T}:add{1} auto={1}{B}{R}{T}:name(discard) transforms((,newability[ability$!name(discard) notatarget(*|myhand) reject!$ controller],newability[ability$!name(discard) notatarget(*|myhand) reject!$ opponent])) ueot asSorcery @@ -70114,6 +70154,13 @@ power=5 toughness=7 [/card] [card] +name=Rocket Launcher +auto=@each my beginofturn:all(this) transforms((,newability[{2}:damage:1 target(*[creature;player]) && all(this) phaseaction[endofturn sourceinplay] destroy])) forever +text={2}: Rocket Launcher deals 1 damage to target creature or player. Destroy Rocket Launcher at the beginning of the next end step. Activate this ability only if you've controlled Rocket Launcher continuously since the beginning of your most recent turn. +mana={4} +type=Artifact +[/card] +[card] name=Rockslide Ambush target=creature auto=foreach(mountain|myBattlefield) damage:1 @@ -70477,6 +70524,14 @@ type=Enchantment subtype=Aura [/card] [card] +name=Roots of Life +auto=choice name(choose island) all(this) transforms((,newability[@tapped(island|opponentbattlefield):life:1 controller])) forever +auto=choice name(choose swamp) all(this) transforms((,newability[@tapped(swamp|opponentbattlefield):life:1 controller])) forever +text=As Roots of Life enters the battlefield, choose Islands or Swamps. -- Whenever a land of the chosen type an opponent controls becomes tapped, you gain 1 life. +mana={1}{G}{G} +type=Enchantment +[/card] +[card] name=Rootwalla auto={1}{G}:2/2 limit:1 text={1}{G}: Rootwalla gets +2/+2 until end of turn. Activate this ability only once each turn. @@ -70604,6 +70659,16 @@ power=5 toughness=1 [/card] [card] +name=Rotting Giant +auto=@combat(attacking,blocking) source(this):name(sacrifice or exile) all(this) transforms((,newability[choice sacrifice],newability[if type(*|mygraveyard)~morethan~0 then choice moveto(exile) notatarget(*|mygraveyard)])) ueot +text=Whenever Rotting Giant attacks or blocks, sacrifice it unless you exile a card from your graveyard. +mana={1}{B} +type=Creature +subtype=Zombie Giant +power=3 +toughness=3 +[/card] +[card] name=Rotting Legion auto=tap text=Rotting Legion enters the battlefield tapped. @@ -70891,6 +70956,62 @@ mana={G} type=Instant [/card] [card] +name=Rune of Protection: Artifacts +auto={W}:name(prevent damage) notatarget(artifact|battlefield,stack,hand,graveyard) preventalldamage to(controller) from(mytgt) ueot +autohand=__CYCLING__({2}) +text={W}: The next time an artifact source of your choice would deal damage to you this turn, prevent that damage. -- Cycling {2} ({2}, Discard this card: Draw a card.) +mana={1}{W} +type=Enchantment +[/card] +[card] +name=Rune of Protection: Black +auto={W}:name(prevent damage) notatarget(*[black]|battlefield,stack,hand,graveyard) preventalldamage to(controller) from(mytgt) ueot +autohand=__CYCLING__({2}) +text={W}: The next time a black source of your choice would deal damage to you this turn, prevent that damage. -- Cycling {2} ({2}, Discard this card: Draw a card.) +mana={1}{W} +type=Enchantment +[/card] +[card] +name=Rune of Protection: Blue +auto={W}:name(prevent damage) notatarget(*[blue]|battlefield,stack,hand,graveyard) preventalldamage to(controller) from(mytgt) ueot +autohand=__CYCLING__({2}) +text={W}: The next time a blue source of your choice would deal damage to you this turn, prevent that damage. -- Cycling {2} ({2}, Discard this card: Draw a card.) +mana={1}{W} +type=Enchantment +[/card] +[card] +name=Rune of Protection: Green +auto={W}:name(prevent damage) notatarget(*[green]|battlefield,stack,hand,graveyard) preventalldamage to(controller) from(mytgt) ueot +autohand=__CYCLING__({2}) +text={W}: The next time a green source of your choice would deal damage to you this turn, prevent that damage. -- Cycling {2} ({2}, Discard this card: Draw a card.) +mana={1}{W} +type=Enchantment +[/card] +[card] +name=Rune of Protection: Lands +auto={W}:name(prevent damage) notatarget(land|battlefield,stack,hand,graveyard) preventalldamage to(controller) from(mytgt) ueot +autohand=__CYCLING__({2}) +text={W}: The next time a land source of your choice would deal damage to you this turn, prevent that damage. -- Cycling {2} ({2}, Discard this card: Draw a card.) +mana={1}{W} +type=Enchantment +[/card] +[card] +name=Rune of Protection: Red +auto={W}:name(prevent damage) notatarget(*[red]|battlefield,stack,hand,graveyard) preventalldamage to(controller) from(mytgt) ueot +autohand=__CYCLING__({2}) +text={W}: The next time a red source of your choice would deal damage to you this turn, prevent that damage. -- Cycling {2} ({2}, Discard this card: Draw a card.) +mana={1}{W} +type=Enchantment +[/card] +[card] +name=Rune of Protection: White +auto={W}:name(prevent damage) notatarget(*[white]|battlefield,stack,hand,graveyard) preventalldamage to(controller) from(mytgt) ueot +autohand=__CYCLING__({2}) +text={W}: The next time a white source of your choice would deal damage to you this turn, prevent that damage. -- Cycling {2} ({2}, Discard this card: Draw a card.) +mana={1}{W} +type=Enchantment +[/card] +[card] name=Rune-Cervin Rider abilities=flying auto={GW}{GW}:1/1 @@ -71420,6 +71541,16 @@ mana={B}{S(creature|mybattlefield)} type=Instant [/card] [card] +name=Sadistic Augermage +auto=@movedto(this|graveyard) from(battlefield):ability$!moveto(ownerlibrary) notatarget(*|myhand)!$ controller && ability$!moveto(ownerlibrary) notatarget(*|myhand)!$ opponent +text=When Sadistic Augermage is put into a graveyard from the battlefield, each player puts a card from his or her hand on top of his or her library. +mana={2}{B} +type=Creature +subtype=Human Wizard +power=3 +toughness=1 +[/card] +[card] name=Sadistic Glee target=creature auto=@movedTo(graveyard) from(creature|battlefield):counter(1/1,1) diff --git a/projects/mtg/bin/Res/sets/primitives/unsupported.txt b/projects/mtg/bin/Res/sets/primitives/unsupported.txt index 67f7e89d7..ab3430903 100644 --- a/projects/mtg/bin/Res/sets/primitives/unsupported.txt +++ b/projects/mtg/bin/Res/sets/primitives/unsupported.txt @@ -13781,15 +13781,6 @@ power=2 toughness=2 [/card] [card] -name=Rakdos Augermage -text=First strike -- {T}: Reveal your hand and discard a card of target opponent's choice. Then that player reveals his or her hand and discards a card of your choice. Activate this ability only any time you could cast a sorcery. -mana={B}{B}{R} -type=Creature -subtype=Human Wizard -power=3 -toughness=2 -[/card] -[card] name=Rakdos Riteknife text=Equipped creature gets +1/+0 for each blood counter on Rakdos Riteknife and has "{T}, Sacrifice a creature: Put a blood counter on Rakdos Riteknife." -- {B}{R}, Sacrifice Rakdos Riteknife: Target player sacrifices a permanent for each blood counter on Rakdos Riteknife. -- Equip {2} mana={2} @@ -13798,9 +13789,8 @@ subtype=Equipment [/card] [card] name=Rakdos, Lord of Riots -Note altercost doesn't reset or the variable doesn't reset. +#Note altercost doesn't reset or the variable doesn't reset. restriction=this(variable{oplifelost} > 0) -auto=thisforeach(variable{oplifelost}) lord(*|myhand) altercost(colorless, -1) abilities=flying,trample text=You can't cast Rakdos, Lord of Riots unless an opponent lost life this turn. -- Flying, trample -- Creature spells you cast cost {1} less to cast for each 1 life your opponents have lost this turn. mana={B}{B}{R}{R} @@ -13932,27 +13922,12 @@ type=Instant text=Search your library for four land cards with different names and reveal them. An opponent chooses two of those cards. Put the chosen cards into your graveyard and the rest into your hand. Then shuffle your library. [/card] [card] -name=Reap -text=Return up to X target cards from your graveyard to your hand, where X is the number of black permanents target opponent controls as you cast Reap. -mana={1}{G} -type=Instant -[/card] -[card] name=Reap and Sow text=Choose one - Destroy target land; or search your library for a land card, put that card onto the battlefield, then shuffle your library. -- Entwine {1}{G} (Choose both if you pay the entwine cost.) mana={3}{G} type=Sorcery [/card] [card] -name=Rebel Informer -text=Rebel Informer can't be the target of white spells or abilities from white sources. -- {3}: Put target Rebel on the bottom of its owner's library. -mana={2}{B} -type=Creature -subtype=Human Mercenary Rebel -power=1 -toughness=2 -[/card] -[card] name=Rebellion of the Flamekin text=Whenever you clash, you may pay {1}. If you do, put a 3/1 red Elemental Shaman creature token onto the battlefield. If you won, that token gains haste until end of turn. (This ability triggers after the clash ends.) mana={3}{R} @@ -13987,12 +13962,6 @@ mana={W} type=Instant [/card] [card] -name=Recall -text=Discard X cards, then return a card from your graveyard to your hand for each card discarded this way. Exile Recall. -mana={X}{X}{U} -type=Sorcery -[/card] -[card] name=Reckless Wurm text=Trample -- Madness {2}{R} (If you discard this card, you may cast it for its madness cost instead of putting it into your graveyard.) mana={3}{R}{R} @@ -14176,12 +14145,6 @@ mana={3}{WU} type=Instant [/card] [card] -name=Repopulate -text=Shuffle all creature cards from target player's graveyard into that player's library. -- Cycling {2} ({2}, Discard this card: Draw a card.) -mana={1}{G} -type=Instant -[/card] -[card] name=Reroute text=Change the target of target activated ability with a single target. (Mana abilities can't be targeted.) -- Draw a card. mana={1}{R} @@ -14213,7 +14176,7 @@ type=Instant [/card] [card] name=Rest in Peace -Note this is replacement effect, I think wagic has no override rule. +#Note this is replacement effect, I think wagic has no override rule. auto=moveto(exile) all(*|graveyard) auto=@movedTo(*|graveyard):all(trigger[to]) moveTo(exile) text=When Rest in Peace enters the battlefield, exile all cards from all graveyards. -- If a card or token would be put into a graveyard from anywhere, exile it instead. @@ -14661,24 +14624,17 @@ mana={3}{UB} type=Sorcery [/card] [card] -name=Rix Maadi Guildmage -Note you must target any player that has lost life. -text={B}{R}: Target blocking creature gets -1/-1 until end of turn. -- {B}{R}: Target player who lost life this turn loses 1 life. -mana={B}{R} -type=Creature -subtype=Human Shaman -power=2 -toughness=2 -[/card] -[card] name=Roar of Jukai text=If you control a Forest, each blocked creature gets +2/+2 until end of turn. -- Splice onto Arcane - An opponent gains 5 life. (As you cast an Arcane spell, you may reveal this card from your hand and pay its splice cost. If you do, add this card's effects to that spell.) mana={2}{G} type=Instant subtype=Arcane [/card] +#rock jockey doesn't work [card] name=Rock Jockey +restriction=type(land[fresh]|mybattlefield)~morethan~0 +auto=if casted(this) then maxPlay(land)-1 controller ueot text=You can't cast Rock Jockey if you've played a land this turn. -- You can't play lands if you've cast Rock Jockey this turn. mana={2}{R} type=Creature @@ -14701,12 +14657,6 @@ mana={X}{R} type=Instant [/card] [card] -name=Rocket Launcher -text={2}: Rocket Launcher deals 1 damage to target creature or player. Destroy Rocket Launcher at the beginning of the next end step. Activate this ability only if you've controlled Rocket Launcher continuously since the beginning of your most recent turn. -mana={4} -type=Artifact -[/card] -[card] name=Rocket-Powered Turbo Slug mana={3}{R} type=Creature — Slug @@ -14727,15 +14677,6 @@ mana={G} type=Sorcery [/card] [card] -name=Rogue Skycaptain -mana={2}{R} -type=Creature -subtype=Human Rogue Mercenary -power=3 -toughness=4 -text=Flying At the beginning of your upkeep, put a wage counter on Rogue Skycaptain. You may pay {2} for each wage counter on it. If you don't, remove all wage counters from Rogue Skycaptain and an opponent gains control of it. -[/card] -[card] name=Roil Elemental text=Flying -- Landfall - Whenever a land enters the battlefield under your control, you may gain control of target creature for as long as you control Roil Elemental. mana={3}{U}{U}{U} @@ -14778,12 +14719,6 @@ power=3 toughness=3 [/card] [card] -name=Roots of Life -text=As Roots of Life enters the battlefield, choose Islands or Swamps. -- Whenever a land of the chosen type an opponent controls becomes tapped, you gain 1 life. -mana={1}{G}{G} -type=Enchantment -[/card] -[card] name=Rootwater Matriarch text={T}: Gain control of target creature for as long as that creature is enchanted. mana={2}{U}{U} @@ -14829,15 +14764,6 @@ power=4 toughness=4 [/card] [card] -name=Rotting Giant -text=Whenever Rotting Giant attacks or blocks, sacrifice it unless you exile a card from your graveyard. -mana={1}{B} -type=Creature -subtype=Zombie Giant -power=3 -toughness=3 -[/card] -[card] name=Rough // Tumble (Rough) text=Rough deals 2 damage to each creature without flying. mana={1}{R} @@ -14901,48 +14827,6 @@ mana={1}{U} type=Instant [/card] [card] -name=Rune of Protection: Artifacts -text={W}: The next time an artifact source of your choice would deal damage to you this turn, prevent that damage. -- Cycling {2} ({2}, Discard this card: Draw a card.) -mana={1}{W} -type=Enchantment -[/card] -[card] -name=Rune of Protection: Black -text={W}: The next time a black source of your choice would deal damage to you this turn, prevent that damage. -- Cycling {2} ({2}, Discard this card: Draw a card.) -mana={1}{W} -type=Enchantment -[/card] -[card] -name=Rune of Protection: Blue -text={W}: The next time a blue source of your choice would deal damage to you this turn, prevent that damage. -- Cycling {2} ({2}, Discard this card: Draw a card.) -mana={1}{W} -type=Enchantment -[/card] -[card] -name=Rune of Protection: Green -text={W}: The next time a green source of your choice would deal damage to you this turn, prevent that damage. -- Cycling {2} ({2}, Discard this card: Draw a card.) -mana={1}{W} -type=Enchantment -[/card] -[card] -name=Rune of Protection: Lands -text={W}: The next time a land source of your choice would deal damage to you this turn, prevent that damage. -- Cycling {2} ({2}, Discard this card: Draw a card.) -mana={1}{W} -type=Enchantment -[/card] -[card] -name=Rune of Protection: Red -text={W}: The next time a red source of your choice would deal damage to you this turn, prevent that damage. -- Cycling {2} ({2}, Discard this card: Draw a card.) -mana={1}{W} -type=Enchantment -[/card] -[card] -name=Rune of Protection: White -text={W}: The next time a white source of your choice would deal damage to you this turn, prevent that damage. -- Cycling {2} ({2}, Discard this card: Draw a card.) -mana={1}{W} -type=Enchantment -[/card] -[card] name=Runeboggle text=Counter target spell unless its controller pays {1}. -- Draw a card. mana={2}{U} @@ -15030,15 +14914,6 @@ power=1 toughness=1 [/card] [card] -name=Sadistic Augermage -text=When Sadistic Augermage is put into a graveyard from the battlefield, each player puts a card from his or her hand on top of his or her library. -mana={2}{B} -type=Creature -subtype=Human Wizard -power=3 -toughness=1 -[/card] -[card] name=Sage Aven text=Flying (This creature can't be blocked except by creatures with flying or reach.) -- When Sage Aven enters the battlefield, look at the top four cards of your library, then put them back in any order. mana={3}{U}