From 44926393ac3f42f34bd632edadf03f6cd634ad8c Mon Sep 17 00:00:00 2001 From: Anthony Calosa Date: Fri, 10 Mar 2017 07:19:29 +0800 Subject: [PATCH] Ripple cards --- projects/mtg/bin/Res/sets/primitives/mtg.txt | 45 ++++++++++++++++++- .../bin/Res/sets/primitives/unsupported.txt | 25 ----------- 2 files changed, 44 insertions(+), 26 deletions(-) diff --git a/projects/mtg/bin/Res/sets/primitives/mtg.txt b/projects/mtg/bin/Res/sets/primitives/mtg.txt index 28ab9db4c..b4f55af60 100644 --- a/projects/mtg/bin/Res/sets/primitives/mtg.txt +++ b/projects/mtg/bin/Res/sets/primitives/mtg.txt @@ -87742,7 +87742,7 @@ type=Land name=Polymorph target=creature auto=bury -auto=transforms((,newability[Reveal:1 revealzone(mylibrary) revealuntil(creature|mylibrary) optionone target(creature|myreveal) moveto(mybattlefield) optiononeend optiontwo all(*|myreveal) bottomoflibrary optiontwoend revealend])) oneshot +auto=transforms((,newability[Reveal:1 revealzone(mylibrary) revealuntil(creature|mylibrary) optionone target(creature|myreveal) moveto(mybattlefield) and!( all(*|myreveal) bottomoflibrary )! optiononeend optiontwo all(*|myreveal) bottomoflibrary optiontwoend revealend])) oneshot text=Destroy target creature. It can't be regenerated. Its controller reveals cards from the top of his or her library until he or she reveals a creature card. The player puts that card onto the battlefield, then shuffles all other cards revealed this way into his or her library. mana={3}{U} type=Sorcery @@ -116138,7 +116138,50 @@ mana={p(B)} type=Instant [/card] [card] +name=Surging AEther +target=*|battlefield +auto=moveto(ownerhand) +aicode=activate target(Surging AEther[zpos<=4]|mylibrary) castcard(normal) +autostack=if casted(this) then reveal:4 optionone name(Cast Card) target(Surging AEther|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend afterrevealed all(tobecast|mylibrary) moveto(mylibrary) and!( activate castcard(normal) )! afterrevealedend revealend +text=Ripple 4 (When you cast this spell, you may reveal the top four cards of your library. You may cast any revealed cards with the same name as this spell without paying their mana costs. Put the rest on the bottom of your library.) -- Return target permanent to its owner's hand. +mana={3}{U} +type=Instant +[/card] +[card] +name=Surging Dementia +target=player +auto=ability$!name(discard) target(*|myhand) reject!$ targetedplayer +aicode=activate target(Surging Dementia[zpos<=4]|mylibrary) castcard(normal) +autostack=if casted(this) then reveal:4 optionone name(Cast Card) target(Surging Dementia|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend afterrevealed all(tobecast|mylibrary) moveto(mylibrary) and!( activate castcard(normal) )! afterrevealedend revealend +text=Ripple 4 (When you cast this spell, you may reveal the top four cards of your library. You may cast any revealed cards with the same name as this spell without paying their mana costs. Put the rest on the bottom of your library.) -- Target player discards a card. +mana={1}{B} +type=Sorcery +[/card] +[card] +name=Surging Flame +target=creature,player +auto=damage:2 +aicode=activate target(Surging Flame[zpos<=4]|mylibrary) castcard(normal) +autostack=if casted(this) then reveal:4 optionone name(Cast Card) target(Surging Flame|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend afterrevealed all(tobecast|mylibrary) moveto(mylibrary) and!( activate castcard(normal) )! afterrevealedend revealend +text=Ripple 4 (When you cast this spell, you may reveal the top four cards of your library. You may cast any revealed cards with the same name as this spell without paying their mana costs. Put the rest on the bottom of your library.) -- Surging Flame deals 2 damage to target creature or player. +mana={1}{R} +type=Instant +[/card] +[card] +name=Surging Might +target=creature +auto=teach(creature) 2/2 +aicode=activate target(Surging Might[zpos<=4]|mylibrary) castcard(normal) +autostack=if casted(this) then reveal:4 optionone name(Cast Card) target(Surging Might|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend afterrevealed all(tobecast|mylibrary) moveto(mylibrary) and!( activate castcard(normal) )! afterrevealedend revealend +text=Enchant creature -- Enchanted creature gets +2/+2. -- Ripple 4 (When you cast this spell, you may reveal the top four cards of your library. You may cast any revealed cards with the same name as this spell without paying their mana costs. Put the rest on the bottom of your library.) +mana={2}{G} +type=Enchantment +subtype=Aura +[/card] +[card] name=Surging Sentinels +abilities=first strike +aicode=activate target(Surging Sentinels[zpos<=4]|mylibrary) castcard(normal) autostack=if casted(this) then reveal:4 optionone name(Cast Card) target(Surging Sentinels|reveal) moveto(mylibrary) and!( becomes(tobecast) ueot )! optiononeend optiontwo name(put on bottom) target(<4>*|reveal) bottomoflibrary optiontwoend afterrevealed all(tobecast|mylibrary) moveto(mylibrary) and!( activate castcard(normal) )! afterrevealedend revealend text=First strike -- Ripple 4 (When you cast this spell, you may reveal the top four cards of your library. You may cast any revealed cards with the same name as this spell without paying their mana costs. Put the rest on the bottom of your library.) mana={2}{W} diff --git a/projects/mtg/bin/Res/sets/primitives/unsupported.txt b/projects/mtg/bin/Res/sets/primitives/unsupported.txt index 80e0011bf..79f2415c4 100644 --- a/projects/mtg/bin/Res/sets/primitives/unsupported.txt +++ b/projects/mtg/bin/Res/sets/primitives/unsupported.txt @@ -15486,31 +15486,6 @@ type=Artifact subtype=Equipment [/card] [card] -name=Surging AEther -text=Ripple 4 (When you cast this spell, you may reveal the top four cards of your library. You may cast any revealed cards with the same name as this spell without paying their mana costs. Put the rest on the bottom of your library.) -- Return target permanent to its owner's hand. -mana={3}{U} -type=Instant -[/card] -[card] -name=Surging Dementia -text=Ripple 4 (When you cast this spell, you may reveal the top four cards of your library. You may cast any revealed cards with the same name as this spell without paying their mana costs. Put the rest on the bottom of your library.) -- Target player discards a card. -mana={1}{B} -type=Sorcery -[/card] -[card] -name=Surging Flame -text=Ripple 4 (When you cast this spell, you may reveal the top four cards of your library. You may cast any revealed cards with the same name as this spell without paying their mana costs. Put the rest on the bottom of your library.) -- Surging Flame deals 2 damage to target creature or player. -mana={1}{R} -type=Instant -[/card] -[card] -name=Surging Might -text=Enchant creature -- Enchanted creature gets +2/+2. -- Ripple 4 (When you cast this spell, you may reveal the top four cards of your library. You may cast any revealed cards with the same name as this spell without paying their mana costs. Put the rest on the bottom of your library.) -mana={2}{G} -type=Enchantment -subtype=Aura -[/card] -[card] name=Surrak Dragonclaw text=Flash -- Surrak Dragonclaw can't be countered. -- Creature spells you control can't be countered. -- Other creatures you control have trample. mana={2}{G}{U}{R}