From 3e95f5cd05baddab4a8f5b162b2531ea32a1855c Mon Sep 17 00:00:00 2001 From: Anthony Calosa Date: Sun, 21 Aug 2016 12:26:21 +0800 Subject: [PATCH] add some cards --- projects/mtg/bin/Res/sets/primitives/mtg.txt | 98 +++++++++++++++++--- 1 file changed, 86 insertions(+), 12 deletions(-) diff --git a/projects/mtg/bin/Res/sets/primitives/mtg.txt b/projects/mtg/bin/Res/sets/primitives/mtg.txt index f39c41cd7..3dd81a4bf 100644 --- a/projects/mtg/bin/Res/sets/primitives/mtg.txt +++ b/projects/mtg/bin/Res/sets/primitives/mtg.txt @@ -14110,6 +14110,13 @@ power=3 toughness=3 [/card] [card] +name=Breakthrough +auto=draw:4 && transforms((,newability[reject notatarget(*|myhand)])) forever +text=Draw four cards, then choose X cards in your hand and discard the rest. +mana={X}{U} +type=Sorcery +[/card] +[card] name=Breath of Darigaaz kicker={2} auto=damage:1 all(creature[-flying]) @@ -40473,6 +40480,15 @@ mana={2}{U}{U} type=Instant [/card] [card] +name=Fold into AEther +target=*|stack +auto=fizzle +auto=transforms((,newability[moveto(ownerbattlefield) notatarget(creature|myhand)])) oneshot +text=Counter target spell. If that spell is countered this way, its controller may put a creature card from his or her hand onto the battlefield. +mana={2}{U}{U} +type=Instant +[/card] +[card] name=Folk Medicine auto=life:type:creature:mybattlefield flashback={1}{W} @@ -41258,6 +41274,7 @@ type=Instant [/card] [card] name=Fractured Loyalty +target=creature auto=teach(creature) transforms((,newability[@targeted(this) from(*|opponentbattlefield):moveto(opponentbattlefield) all(this)],newability[@targeted(this) from(*|opponenthand):moveto(opponentbattlefield) all(this)],newability[@targeted(this) from(*|opponentstack):moveto(opponentbattlefield) all(this)],newability[@targeted(this) from(*|opponentgraveyard):moveto(opponentbattlefield) all(this)])) auto=teach(creature) transforms((,newability[@targeted(this) from(*|mybattlefield):moveto(mybattlefield) all(this)],newability[@targeted(this) from(*|myhand):moveto(mybattlefield) all(this)],newability[@targeted(this) from(*|mystack):moveto(mybattlefield) all(this)],newability[@targeted(this) from(*|mygraveyard):moveto(mybattlefield) all(this)])) text=Enchant creature -- Whenever enchanted creature becomes the target of a spell or ability, that spell or ability's controller gains control of that creature. (This effect lasts indefinitely.) @@ -46943,6 +46960,13 @@ text=Grand Coliseum enters the battlefield tapped. -- {T}: Add {1} to your mana type=Land [/card] [card] +name=Grand Melee +auto=lord(creature|battlefield) transforms((,newability[mustattack],newability[mustblock])) +text=All creatures attack each turn if able. -- -- All creatures block each turn if able. +mana={3}{R} +type=Enchantment +[/card] +[card] name=Grandmother Sengir auto={1}{B}{T}:-1/-1 target(creature) text={1}{B}, {T}: Target creature gets -1/-1 until end of turn. @@ -50386,6 +50410,14 @@ power=3 toughness=2 [/card] [card] +name=Head Games +target=opponent +auto=count(type:*:opponenthand) && all(*|opponenthand) moveto(ownerlibrary) && transforms((,newability[notatarget(*|opponentlibrary) moveto(ownerhand)])) forever +text=Target opponent puts the cards from his or her hand on top of his or her library. Search that player's library for that many cards. The player puts those cards into his or her hand, then shuffles his or her library. +mana={3}{B}{B} +type=Sorcery +[/card] +[card] name=Headhunter auto=@combatdamagefoeof(player) from(this):ability$!name(discard) target(*|myhand) reject!$ opponent auto=@combatdamageof(player) from(this):ability$!name(discard) target(*|myhand) reject!$ controller @@ -51979,6 +52011,15 @@ mana={2}{G} type=Instant [/card] [card] +name=Hindering Touch +abilities=storm +target=*|stack +auto=transforms((,newability[pay[[{2}]] name(pay 2 mana) donothing?fizzle])) forever +text=Counter target spell unless its controller pays {2}. -- Storm (When you cast this spell, copy it for each spell cast before it this turn. You may choose new targets for the copies.) +mana={3}{U} +type=Instant +[/card] +[card] name=Hint of Insanity target=player auto=reveal:type:*:targetedpersonshand revealzone(targetedpersonshand) optionone name(discards) all(*[-land]|reveal) transforms((,newability[all(other *[share!name!]|reveal) moveto(ownerhand) and!(reject)!])) oneshot optiononeend optiontwo name(put back) target(<1>*|reveal) moveto(ownerhand) and!( all(*|reveal) moveto(ownerhand) )! optiontwoend revealend @@ -54622,18 +54663,6 @@ type=Enchantment subtype=Aura [/card] [card] -##this might not work as expected below. -name=Imprisoned in the Moon -auto=teach(*) transforms((,newability[loseabilities],newability[losesubtypesof(planeswalker)],colorless)) -auto=teach(*) transforms((,newability[loseabilities],newability[losesubtypesof(creature)],colorless)) -auto=teach(*) transforms((,Land,newability[{T}:Add{C}],colorless)) -target=creature,land,planeswalker -text=Enchant creature, land, or planeswalker -- Enchanted permanent is a colorless land with "{T}: Add {C} to your mana pool" and loses all other card types and abilities. -mana={2}{U} -type=Enchantment -subtype=Aura -[/card] -[card] name=Impromptu Raid auto={2}{rg}:reveal:1 optionone target(creature|reveal) transforms((,newability[moveto(mybattlefield)],treason,haste)) forever optiononeend optiontwo name(Put in grave) target(<1>*|reveal) moveto(mygraveyard) optiontwoend revealend text={2}{(r/g)}: Reveal the top card of your library. If it isn't a creature card, put it into your graveyard. Otherwise, put that card onto the battlefield. That creature has haste. Sacrifice it at the beginning of the next end step. @@ -64282,6 +64311,14 @@ mana={0} type=Artifact [/card] [card] +name=Liquify +target=*[manacost<=3]|stack +auto=fizzleto(exile) +text=Counter target spell with converted mana cost 3 or less. If that spell is countered this way, exile it instead of putting it into its owner's graveyard. +mana={2}{U} +type=Instant +[/card] +[card] name=Liquimetal Coating auto={T}:target(*) transforms((artifact)) ueot text={T}: Target permanent becomes an artifact in addition to its other types until end of turn. @@ -65530,6 +65567,16 @@ power=1 toughness=1 [/card] [card] +name=Lumengrid Augur +auto={1}{t}:target(player) draw:1 && ability$! reject notatarget(*|myhand) and!( if cantargetcard(artifact|*) then untap all(mystored) )! !$ targetedplayer +text={1}, {T}: Target player draws a card, then discards a card. If that player discards an artifact card this way, untap Lumengrid Augur. +mana={3}{U} +type=Creature +subtype=Vedalken Wizard +power=2 +toughness=2 +[/card] +[card] name=Lumengrid Drake abilities=flying auto=aslongas(artifact|myBattlefield) moveTo(ownerhand) target(creature) >2 oneshot @@ -79346,6 +79393,14 @@ mana={R} type=Instant [/card] [card] +name=Override +target=*|stack +auto=if cantargetcard(*|opponentstack) then transforms((,newability[pay[[{value:type:artifact:opponentbattlefield}]] name(pay {value} mana) donothing?fizzle])) forever else transforms((,newability[pay[[{value:type:artifact:mybattlefield}]] name(pay {value} mana) donothing?fizzle])) forever +text=Counter target spell unless its controller pays {1} for each artifact you control. +mana={2}{U} +type=Instant +[/card] +[card] name=Overrun auto=lord(creature|myBattlefield) 3/3 auto=lord(creature|myBattlefield) trample @@ -109366,6 +109421,15 @@ text=Sulfur Vent enters the battlefield tapped. -- {T}: Add {B} to your mana poo type=Land [/card] [card] +name=Sulfuric Vortex +abilities=nolifegain,nolifegainopponent +auto=@each my upkeep:damage:2 controller +auto=@each opponent upkeep:damage:2 opponent +text=At the beginning of each player's upkeep, Sulfuric Vortex deals 2 damage to that player. -- If a player would gain life, that player gains no life instead. +mana={1}{R}{R} +type=Enchantment +[/card] +[card] name=Sulfurous Blast auto=if compare(restriction{assorcery}~morethan~0) then damage:3 all(creature,player) else damage:2 all(creature,player) text=Sulfurous Blast deals 2 damage to each creature and each player. If you cast this spell during your main phase, Sulfurous Blast deals 3 damage to each creature and each player instead. @@ -128022,6 +128086,16 @@ mana={2}{U} type=Sorcery [/card] [card] +name=Withering Hex +target=creature +auto=@cycled(*|hand):counter(0/0,1,Plague) all(this) +auto=thisforeach(counter{0%0.1.Plague}>0) -1/-1 +text=Enchant creature -- Whenever a player cycles a card, put a plague counter on Withering Hex. -- Enchanted creature gets -1/-1 for each plague counter on Withering Hex. +mana={B} +type=Enchantment +subtype=Aura +[/card] +[card] name=Withering Wisps auto={B}:damage:1 all(creature,player) limit:type:swamp[snow]:mybattlefield auto=@each endofturn restriction{type(creature|battlefield)~lessthan~1}:sacrifice