From fd703dd4d193feda31dab362e3553c30c93acbe2 Mon Sep 17 00:00:00 2001 From: Anthony Calosa Date: Thu, 18 Aug 2016 21:40:38 +0800 Subject: [PATCH] re added my previous changes --- projects/mtg/bin/Res/sets/primitives/mtg.txt | 140 ++++++++++++++++--- 1 file changed, 120 insertions(+), 20 deletions(-) diff --git a/projects/mtg/bin/Res/sets/primitives/mtg.txt b/projects/mtg/bin/Res/sets/primitives/mtg.txt index 4e249fd27..7b2fe9a35 100644 --- a/projects/mtg/bin/Res/sets/primitives/mtg.txt +++ b/projects/mtg/bin/Res/sets/primitives/mtg.txt @@ -7874,6 +7874,18 @@ power=2 toughness=2 [/card] [card] +name=Balance +auto=if type(land|mybattlefield)~morethan~type(land|opponentbattlefield) then ability$! sacrifice notatarget(land|mybattlefield) !$ controller +auto=if type(land|opponentbattlefield)~morethan~type(land|mybattlefield) then ability$! sacrifice notatarget(land|mybattlefield) !$ opponent +auto=if type(creature|mybattlefield)~morethan~type(creature|opponentbattlefield) then ability$! sacrifice notatarget(creature|mybattlefield) !$ controller +auto=if type(creature|opponentbattlefield)~morethan~type(creature|mybattlefield) then ability$! sacrifice notatarget(creature|mybattlefield) !$ opponent +auto=if type(*|myhand)~morethan~type(*|opponenthand) then ability$! reject notatarget(*|myhand) !$ controller +auto=if type(*|opponenthand)~morethan~type(*|myhand) then ability$! reject notatarget(*|myhand) !$ opponent +text=Each player chooses a number of lands he or she controls equal to the number of lands controlled by the player who controls the fewest, then sacrifices the rest. Players discard cards and sacrifice creatures the same way. +mana={1}{W} +type=Sorcery +[/card] +[card] name=Balance of Power auto=foreach(*|opponenthand) if type(*|opponenthand)~morethan~type(*|myhand) then draw:1 text=If target opponent has more cards in hand than you, draw cards equal to the difference. @@ -7881,6 +7893,16 @@ mana={3}{U}{U} type=Sorcery [/card] [card] +name=Balancing Act +auto=if type(*|mybattlefield)~morethan~type(*|opponentbattlefield) then ability$! sacrifice notatarget(*|mybattlefield) !$ controller +auto=if type(*|opponentbattlefield)~morethan~type(*|mybattlefield) then ability$! sacrifice notatarget(*|mybattlefield) !$ opponent +auto=if type(*|myhand)~morethan~type(*|opponenthand) then ability$! reject notatarget(*|myhand) !$ controller +auto=if type(*|opponenthand)~morethan~type(*|myhand) then ability$! reject notatarget(*|myhand) !$ opponent +text=Each player chooses a number of permanents he or she controls equal to the number of permanents controlled by the player who controls the fewest, then sacrifices the rest. Each player discards cards the same way. +mana={2}{W}{W} +type=Sorcery +[/card] +[card] name=Balduvian Barbarians mana={1}{R}{R} type=Creature @@ -18342,7 +18364,7 @@ toughness=3 [card] name=Chasm Guide auto=choice all(creature|mybattlefield) haste ueot -auto=@movedTo(ally|myBattlefield):all(creature|mybattlefield) haste ueot +auto=@movedTo(other ally|myBattlefield):all(creature|mybattlefield) haste ueot text=Rally — Whenever Chasm Guide or another Ally enters the battlefield under your control, creatures you control gain haste until end of turn. mana={3}{R} type=Creature @@ -40992,6 +41014,18 @@ text=Forsaken Sanctuary enters the battlefield tapped. -- {T}: Add {W} or {B} to type=Land [/card] [card] +name=Forsaken Wastes +abilities=nolifegain,nolifegainopponent +auto=@each my upkeep:life:-1 controller +auto=@each opponent upkeep:life:-1 opponent +auto=@targeted(this) from(*|mystack):life:-5 controller +auto=@targeted(this) from(*|opponentstack):life:-5 opponent +auto=@movedTo(enchantment[world]|battlefield):sacrifice all(this) +text=Players can't gain life. -- At the beginning of each player's upkeep, that player loses 1 life. -- Whenever Forsaken Wastes becomes the target of a spell, that spell's controller loses 5 life. +mana={2}{B} +type=World Enchantment +[/card] +[card] name=Fortified Rampart abilities=defender text=Defender @@ -48410,7 +48444,7 @@ toughness=3 [card] name=Grovetender Druids auto=pay({1}) token(Plant,Creature Plant,1/1,green) -auto=@movedTo(ally|myBattlefield):pay({1}) token(Plant,Creature Plant,1/1,green) +auto=@movedTo(other ally|myBattlefield):pay({1}) token(Plant,Creature Plant,1/1,green) text=Rally — Whenever Grovetender Druids or another Ally enters the battlefield under your control, you may pay {1}. If you do, put a 1/1 green Plant creature token onto the battlefield. mana={2}{G}{W} type=Creature @@ -49508,6 +49542,13 @@ power=2 toughness=3 [/card] [card] +name=Hammerheim +auto={t}:add{r} +auto={t}:name(lose all landwalk) target(creature) transforms((,newability[-forestwalk],newability[-islandwalk],newability[-mountainwalk],newability[-swampwalk],newability[-plainswalk],newability[-snowlandwalk],newability[-nonbasiclandwalk],newability[-legendarylandwalk],newability[-desertlandwalk],newability[-snowforestlandwalk],newability[-snowplainslandwalk],newability[-snowmountainlandwalk],newability[-snowislandlandwalk],newability[-snowswamplandwalk])) ueot +text={T}: Add {R} to your mana pool. -- -- {T}: Target creature loses all landwalk abilities until end of turn. +type=Legendary Land +[/card] +[card] name=Hammerheim Deadeye auto=destroy target(creature[flying]) auto=upcost[{5}{R};next upkeep] sacrifice @@ -51488,7 +51529,7 @@ toughness=4 [card] name=Hero of Goma Fada auto=choice all(creature|mybattlefield) indestructible ueot -auto=@movedTo(ally|myBattlefield):all(creature|mybattlefield) indestructible ueot +auto=@movedTo(other ally|myBattlefield):all(creature|mybattlefield) indestructible ueot text=Rally — Whenever Hero of Goma Fada or another Ally enters the battlefield under your control, creatures you control gain indestructible until end of turn. mana={4}{W} type=Creature @@ -54031,6 +54072,16 @@ power=4 toughness=3 [/card] [card] +name=Ichneumon Druid +auto=@movedto(instant|opponentstack) restriction{thisturn(instant|opponentstack)~morethan~1}:damage:4 opponent +text=Whenever an opponent casts an instant spell other than the first instant spell that player casts each turn, Ichneumon Druid deals 4 damage to him or her. +mana={1}{G}{G} +type=Creature +subtype=Human Druid +power=1 +toughness=1 +[/card] +[card] name=Ichor Explosion target=creature|myBattlefield auto=all(creature) -storedpower/-storedpower @@ -58141,7 +58192,7 @@ toughness=4 [card] name=Kalastria Healer auto=choice life:-1 all(opponent) && life:1 controller -auto=@movedTo(ally|myBattlefield):life:-1 all(opponent) && life:1 controller +auto=@movedTo(other ally|myBattlefield):life:-1 all(opponent) && life:1 controller text=Rally — Whenever Kalastria Healer or another Ally enters the battlefield under your control, each opponent loses 1 life and you gain 1 life. mana={1}{B} type=Creature @@ -58945,7 +58996,7 @@ toughness=1 [card] name=Kazuul Warlord auto=may all(ally|myBattlefield) counter(1/1,1) -auto=@movedTo(ally|myBattlefield):may all(ally|myBattlefield) counter(1/1,1) +auto=@movedTo(other ally|myBattlefield):may all(ally|myBattlefield) counter(1/1,1) text=Whenever Kazuul Warlord or another Ally enters the battlefield under your control, you may put a +1/+1 counter on each Ally creature you control. mana={4}{R} type=Creature @@ -60817,7 +60868,7 @@ toughness=1 [card] name=Kor Bladewhirl auto=choice all(creature|mybattlefield) first strike ueot -auto=@movedTo(ally|myBattlefield):all(creature|mybattlefield) first strike ueot +auto=@movedTo(other ally|myBattlefield):all(creature|mybattlefield) first strike ueot text=Rally — Whenever Kor Bladewhirl or another Ally enters the battlefield under your control, creatures you control gain first strike until end of turn. mana={1}{W} type=Creature @@ -60858,7 +60909,7 @@ toughness=1 [card] name=Kor Entanglers auto=tap target(creature|opponentbattlefield) -auto=@movedTo(ally|myBattlefield):tap target(creature|opponentbattlefield) +auto=@movedTo(other ally|myBattlefield):tap target(creature|opponentbattlefield) text=Rally — Whenever Kor Entanglers or another Ally enters the battlefield under your control, tap target creature an opponent controls. mana={4}{W} type=Creature @@ -61093,7 +61144,7 @@ toughness=12 [card] name=Kozilek, the Great Distortion abilities=menace -auto=if casted(this) then thisforeach(variable{phandcount}<7) draw:1 +autostack=if casted(this) then thisforeach(variable{phandcount}<7) draw:1 auto={discard(*[manacost=0]|myhand)}:name(X = 0) fizzle target(*[manacost=0]|stack) restriction{type(*[manacost=0]|myhand)~morethan~0,type(*[manacost=0]|stack)~morethan~0} auto={discard(*[manacost=1]|myhand)}:name(X = 1) fizzle target(*[manacost=1]|stack) restriction{type(*[manacost=1]|myhand)~morethan~0,type(*[manacost=1]|stack)~morethan~0} auto={discard(*[manacost=2]|myhand)}:name(X = 2) fizzle target(*[manacost=2]|stack) restriction{type(*[manacost=2]|myhand)~morethan~0,type(*[manacost=2]|stack)~morethan~0} @@ -62253,7 +62304,7 @@ toughness=1 [card] name=Lantern Scout auto=choice all(creature|mybattlefield) lifelink ueot -auto=@movedTo(ally|myBattlefield):all(creature|mybattlefield) lifelink ueot +auto=@movedTo(other ally|myBattlefield):all(creature|mybattlefield) lifelink ueot text=Rally — Whenever Lantern Scout or another Ally enters the battlefield under your control, creatures you control gain lifelink until end of turn. mana={2}{W} type=Creature @@ -66599,7 +66650,7 @@ toughness=4 [card] name=Makindi Patrol auto=choice all(creature|mybattlefield) vigilance ueot -auto=@movedTo(ally|myBattlefield):all(creature|mybattlefield) vigilance ueot +auto=@movedTo(other ally|myBattlefield):all(creature|mybattlefield) vigilance ueot text=Rally — Whenever Makindi Patrol or another Ally enters the battlefield under your control, creatures you control gain vigilance until end of turn. mana={2}{W} type=Creature @@ -73011,6 +73062,16 @@ power=1 toughness=1 [/card] [card] +name=Mtenda Lion +auto=@combat(attacking) source(this):name(pay 1 blue mana nodamage) ability$!pay[[{U}]] fog from(mystored)!$ opponent +text=Whenever Mtenda Lion attacks, defending player may pay {U}. If that player does, prevent all combat damage that would be dealt by Mtenda Lion this turn. +mana={G} +type=Creature +subtype=Cat +power=2 +toughness=1 +[/card] +[card] name=Muck Rats mana={B} type=Creature @@ -73166,9 +73227,19 @@ power=3 toughness=3 [/card] [card] +name=Mundungu +auto={T}:name(counter spell) target(*|stack) transforms((,newability[pay[[{1}{L}]] name(pay 1 mana & 1 life) donothing?fizzle])) forever +text={T}: Counter target spell unless its controller pays {1} and 1 life. +mana={1}{U}{B} +type=Creature +subtype=Human Wizard +power=1 +toughness=1 +[/card] +[card] name=Murasa Pyromancer auto=may damage:type:ally:mybattlefield target(creature) -auto=@movedTo(ally|mybattlefield):may damage:type:ally:mybattlefield target(creature) +auto=@movedTo(other ally|mybattlefield):may damage:type:ally:mybattlefield target(creature) text=Whenever Murasa Pyromancer or another Ally enters the battlefield under your control, you may have Murasa Pyromancer deal damage to target creature equal to the number of Allies you control. mana={4}{R}{R} type=Creature @@ -75896,7 +75967,7 @@ toughness=1 [card] name=Nimana Sell-Sword auto=may counter(1/1,1) -auto=@movedTo(ally|myBattlefield):may counter(1/1,1) +auto=@movedTo(other ally|myBattlefield):may counter(1/1,1) text=Whenever Nimana Sell-Sword or another Ally enters the battlefield under your control, you may put a +1/+1 counter on Nimana Sell-Sword. mana={3}{B} type=Creature @@ -77872,7 +77943,7 @@ subtype=Equipment [card] name=Ondu Champion auto=choice all(creature|mybattlefield) trample ueot -auto=@movedTo(ally|myBattlefield):all(creature|mybattlefield) trample ueot +auto=@movedTo(other ally|myBattlefield):all(creature|mybattlefield) trample ueot text=Rally — Whenever Ondu Champion or another Ally enters the battlefield under your control, creatures you control gain trample until end of turn. mana={2}{R}{R} type=Creature @@ -78379,7 +78450,7 @@ toughness=3 [card] name=Oran-Rief Survivalist auto=may counter(1/1,1) -auto=@movedTo(ally|myBattlefield):may counter(1/1,1) +auto=@movedTo(other ally|myBattlefield):may counter(1/1,1) text=Whenever Oran-Rief Survivalist or another Ally enters the battlefield under your control, you may put a +1/+1 counter on Oran-Rief Survivalist. mana={1}{G} type=Creature @@ -88914,6 +88985,13 @@ power=1 toughness=1 [/card] [card] +name=Reparations +auto=@targeted(creature|mybattlefield) from(*|opponentstack):may draw:1 controller +text=Whenever an opponent casts a spell that targets you or a creature you control, you may draw a card. +mana={1}{W}{U} +type=Enchantment +[/card] +[card] name=Repay in Kind auto=all(player) lifeset:lowestlifetotal text=Each player's life total becomes the lowest life total among all players. @@ -89133,7 +89211,7 @@ toughness=4 [card] name=Resolute Blademaster auto=choice all(creature|mybattlefield) double strike ueot -auto=@movedTo(ally|myBattlefield):all(creature|mybattlefield) double strike ueot +auto=@movedTo(other ally|myBattlefield):all(creature|mybattlefield) double strike ueot text=Rally — Whenever Resolute Blademaster or another Ally enters the battlefield under your control, creatures you control gain double strike until end of turn. mana={3}{R}{W} type=Creature @@ -89275,6 +89353,21 @@ power=3 toughness=4 [/card] [card] +name=Restore Balance +auto=if type(land|mybattlefield)~morethan~type(land|opponentbattlefield) then ability$! sacrifice notatarget(land|mybattlefield) !$ controller +auto=if type(land|opponentbattlefield)~morethan~type(land|mybattlefield) then ability$! sacrifice notatarget(land|mybattlefield) !$ opponent +auto=if type(creature|mybattlefield)~morethan~type(creature|opponentbattlefield) then ability$! sacrifice notatarget(creature|mybattlefield) !$ controller +auto=if type(creature|opponentbattlefield)~morethan~type(creature|mybattlefield) then ability$! sacrifice notatarget(creature|mybattlefield) !$ opponent +auto=if type(*|myhand)~morethan~type(*|opponenthand) then ability$! reject notatarget(*|myhand) !$ controller +auto=if type(*|opponenthand)~morethan~type(*|myhand) then ability$! reject notatarget(*|myhand) !$ opponent +color=white +mana={0} +restriction=turn:200 +suspend(6)={W} +text=Restore Balance is White - Suspend 6 - {W} (Rather than cast this card from your hand, pay {W} and exile it with six time counters on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost.) -- Each player chooses a number of lands he or she controls equal to the number of lands controlled by the player who controls the fewest, then sacrifices the rest. Players sacrifice creatures and discard cards the same way. +type=Sorcery +[/card] +[card] name=Restore the Peace auto=all(creature[damager]) moveto(ownerhand) text=Return each creature that dealt damage this turn to its owner's hand. @@ -111105,7 +111198,7 @@ toughness=2 [card] name=Tajuru Archer auto=may damage:type:ally:mybattlefield target(creature[flying]) -auto=@movedTo(ally|mybattlefield):may damage:type:ally:mybattlefield target(creature[flying])text=Whenever Tajuru Archer or another Ally enters the battlefield under your control, you may have Tajuru Archer deal damage to target creature with flying equal to the number of Allies you control. +auto=@movedTo(other ally|mybattlefield):may damage:type:ally:mybattlefield target(creature[flying])text=Whenever Tajuru Archer or another Ally enters the battlefield under your control, you may have Tajuru Archer deal damage to target creature with flying equal to the number of Allies you control. mana={2}{G} type=Creature subtype=Elf Archer Ally @@ -111115,7 +111208,7 @@ toughness=2 [card] name=Tajuru Beastmaster auto=choice all(creature|mybattlefield) 1/1 ueot -auto=@movedTo(ally|myBattlefield):all(creature|mybattlefield) 1/1 ueot +auto=@movedTo(other ally|myBattlefield):all(creature|mybattlefield) 1/1 ueot text=Rally — Whenever Tajuru Beastmaster or another Ally enters the battlefield under your control, creatures you control get +1/+1 until end of turn. mana={5}{G} type=Creature @@ -111146,7 +111239,7 @@ toughness=1 [card] name=Tajuru Warcaller auto=choice all(creature|mybattlefield) 2/2 ueot -auto=@movedTo(ally|myBattlefield):all(creature|mybattlefield) 2/2 ueot +auto=@movedTo(other ally|myBattlefield):all(creature|mybattlefield) 2/2 ueot text=Rally — Whenever Tajuru Warcaller or another Ally enters the battlefield under your control, creatures you control get +2/+2 until end of turn. mana={3}{G}{G} type=Creature @@ -111850,7 +111943,7 @@ toughness=1 [/card] [card] name=Tattermunge Witch -auto={R}{G}:lord(creature[blocked]) 1/0 && lord(creature[blocked]) trample +auto={R}{G}:name(1/0 & trample) all(creature[blocked]) transforms((,newability[1/0],newability[trample])) ueot text={R}{G}: Each blocked creature gets +1/+0 and gains trample until end of turn. mana={1}{RG} type=Creature @@ -117483,6 +117576,13 @@ power=3 toughness=3 [/card] [card] +name=Triangle of War +auto={2}{S}:name(powerstrike) target(creature|mybattlefield) transforms((,newability[dynamicability target(creature|opponentbattlefield)])) forever +text={2}, Sacrifice Triangle of War: Target creature you control fights target creature an opponent controls. (Each deals damage equal to its power to the other.) +mana={1} +type=Artifact +[/card] +[card] name=Triassic Egg auto={3}{T}:counter(0/0,1,Hatchling) auto={C(0/0,-2,Hatchling)}{S}:moveTo(myBattlefield) target(creature|myhand,mygraveyard) @@ -118273,7 +118373,7 @@ type=Land name=Turntimber Ranger auto=counter(1/1,1) auto=may token(Wolf,Creature Wolf,2/2,green) -auto=@movedTo(ally|myBattlefield):may token(Wolf,Creature Wolf,2/2,green) && counter(1/1,1) +auto=@movedTo(other ally|myBattlefield):may token(Wolf,Creature Wolf,2/2,green) && counter(1/1,1) text=Whenever Turntimber Ranger or another Ally enters the battlefield under your control, you may put a 2/2 green Wolf creature token onto the battlefield. If you do, put a +1/+1 counter on Turntimber Ranger. mana={3}{G}{G} type=Creature