diff --git a/projects/mtg/bin/Res/missing_cards_by_sets/AVR.txt b/projects/mtg/bin/Res/missing_cards_by_sets/AVR.txt new file mode 100644 index 000000000..dac10e696 --- /dev/null +++ b/projects/mtg/bin/Res/missing_cards_by_sets/AVR.txt @@ -0,0 +1,175 @@ +[card] +name=Bonfire of the Damned +text=Bonfire of the Damned deals X damage to target player and each creature he or she controls. -- Miracle {X}{R} (You may cast this card for its miracle cost when you draw it if it's the first card you drew this turn.) +mana={X}{X}{R} +type=Sorcery +[/card] +[card] +name=Burn at the Stake +text=As an additional cost to cast Burn at the Stake, tap any number of untapped creatures you control. -- Burn at the Stake deals damage to target creature or player equal to three times the number of creatures tapped this way. +mana={2}{R}{R}{R} +type=Sorcery +[/card] +[card] +name=Cavern of Souls +text=As Cavern of Souls enters the battlefield, choose a creature type. -- {T}: Add {1} to your mana pool. -- {T}: Add one mana of any color to your mana pool. Spend this mana only to cast a creature spell of the chosen type, and that spell can't be countered. +type=Land +[/card] +[card] +name=Dark Impostor +text={4}{B}{B}: Exile target creature and put a +1/+1 counter on Dark Impostor. -- Dark Impostor has all activated abilities of all creature cards exiled with it. +mana={2}{B} +type=Creature +subtype=Vampire Assassin +power=2 +toughness=2 +[/card] +[card] +name=Descent into Madness +text=At the beginning of your upkeep, put a despair counter on Descent into Madness, then each player exiles X permanents he or she controls and/or cards from his or her hand, where X is the number of despair counters on Descent into Madness. +mana={3}{B}{B} +type=Enchantment +[/card] +[card] +name=Divine Deflection +text=Prevent the next X damage that would be dealt to you and/or permanents you control this turn. If damage is prevented this way, Divine Deflection deals that much damage to target creature or player. +mana={X}{W} +type=Instant +[/card] +[card] +name=Entreat the Angels +text=Put X 4/4 white Angel creature tokens with flying onto the battlefield. -- Miracle {X}{W}{W} (You may cast this card for its miracle cost when you draw it if it's the first card you drew this turn.) +mana={X}{X}{W}{W}{W} +type=Sorcery +[/card] +[card] +name=Flowering Lumberknot +text=Flowering Lumberknot can't attack or block unless it's paired with a creature with soulbond. +mana={3}{G} +type=Creature +subtype=Treefolk +power=5 +toughness=5 +[/card] +[card] +name=Gang of Devils +text=When Gang of Devils dies, it deals 3 damage divided as you choose among one, two, or three target creatures and/or players. +mana={5}{R} +type=Creature +subtype=Devil +power=3 +toughness=3 +[/card] +[card] +name=Gisela, Blade of Goldnight +text=Flying, first strike -- If a source would deal damage to an opponent or a permanent an opponent controls, that source deals double that damage to that player or permanent instead. -- If a source would deal damage to you or a permanent you control, prevent half that damage, rounded up. +mana={4}{R}{W}{W} +type=Legendary Creature +subtype=Angel +power=5 +toughness=5 +[/card] +[card] +name=Gloom Surgeon +text=If combat damage would be dealt to Gloom Surgeon, prevent that damage and exile that many cards from the top of your library. +mana={1}{B} +type=Creature +subtype=Spirit +power=2 +toughness=1 +[/card] +[card] +name=Infinite Reflection +text=Enchant creature -- When Infinite Reflection enters the battlefield attached to a creature, each other nontoken creature you control becomes a copy of that creature. -- Nontoken creatures you control enter the battlefield as a copy of enchanted creature. +mana={5}{U} +type=Enchantment +subtype=Aura +[/card] +[card] +name=Joint Assault +text=Target creature gets +2/+2 until end of turn. If it's paired with a creature, that creature also gets +2/+2 until end of turn. +mana={G} +type=Instant +[/card] +[card] +name=Killing Wave +text=For each creature, its controller sacrifices it unless he or she pays X life. +mana={X}{B} +type=Sorcery +[/card] +[card] +name=Malignus +text=Malignus's power and toughness are each equal to half the highest life total among your opponents, rounded up. -- Damage that would be dealt by Malignus can't be prevented. +mana={3}{R}{R} +type=Creature +subtype=Elemental Spirit +power=* +toughness=* +[/card] +[card] +name=Outwit +text=Counter target spell that targets a player. +mana={U} +type=Instant +[/card] +[card] +name=Rain of Thorns +text=Choose one or more — Destroy target artifact; destroy target enchantment; and/or destroy target land. +mana={4}{G}{G} +type=Sorcery +[/card] +[card] +name=Rite of Ruin +text=Choose an order for artifacts, creatures, and lands. Each player sacrifices one permanent of the first type, sacrifices two of the second type, then sacrifices three of the third type. +mana={5}{R}{R} +type=Sorcery +[/card] +[card] +name=Sigarda, Host of Herons +text=Flying, hexproof -- Spells and abilities your opponents control can't cause you to sacrifice permanents. +mana={2}{G}{W}{W} +type=Legendary Creature +subtype=Angel +power=5 +toughness=5 +[/card] +[card] +name=Somberwald Sage +text={T}: Add three mana of any one color to your mana pool. Spend this mana only to cast creature spells. +mana={2}{G} +type=Creature +subtype=Human Druid +power=0 +toughness=1 +[/card] +[card] +name=Stolen Goods +text=Target opponent exiles cards from the top of his or her library until he or she exiles a nonland card. Until end of turn, you may cast that card without paying its mana cost. +mana={3}{U} +type=Sorcery +[/card] +[card] +name=Tyrant of Discord +text=When Tyrant of Discord enters the battlefield, target opponent chooses a permanent he or she controls at random and sacrifices it. If a nonland permanent is sacrificed this way, repeat this process. +mana={4}{R}{R}{R} +type=Creature +subtype=Elemental +power=7 +toughness=7 +[/card] +[card] +name=Vanguard's Shield +text=Equipped creature gets +0/+3 and can block an additional creature. -- Equip {3} ({3}: Attach to target creature you control. Equip only as a sorcery.) +mana={2} +type=Artifact +subtype=Equipment +[/card] +[card] +name=Vexing Devil +text=When Vexing Devil enters the battlefield, any opponent may have it deal 4 damage to him or her. If a player does, sacrifice Vexing Devil. +mana={R} +type=Creature +subtype=Devil +power=4 +toughness=3 +[/card] diff --git a/projects/mtg/bin/Res/missing_cards_by_sets/DKA.txt b/projects/mtg/bin/Res/missing_cards_by_sets/DKA.txt new file mode 100644 index 000000000..933c835ae --- /dev/null +++ b/projects/mtg/bin/Res/missing_cards_by_sets/DKA.txt @@ -0,0 +1,144 @@ +[card] +name=Alpha Brawl +text=Target creature an opponent controls deals damage equal to its power to each other creature that player controls, then each of those creatures deals damage equal to its power to that creature. +mana={6}{R}{R} +type=Sorcery +[/card] +[card] +name=Altar of the Lost +text=Altar of the Lost enters the battlefield tapped. -- {T}: Add two mana in any combination of colors to your mana pool. Spend this mana only to cast spells with flashback from a graveyard. +mana={3} +type=Artifact +[/card] +[card] +name=Blood Feud +text=Target creature fights another target creature. (Each deals damage equal to its power to the other.) +mana={4}{R}{R} +type=Sorcery +[/card] +[card] +name=Call to the Kindred +text=Enchant creature -- At the beginning of your upkeep, you may look at the top five cards of your library. If you do, you may put a creature card that shares a creature type with enchanted creature from among them onto the battlefield, then you put the rest of those cards on the bottom of your library in any order. +mana={3}{U} +type=Enchantment +subtype=Aura +[/card] +[card] +name=Counterlash +text=Counter target spell. You may cast a nonland card in your hand that shares a card type with that spell without paying its mana cost. +mana={4}{U}{U} +type=Instant +[/card] +[card] +name=Curse of Bloodletting +text=Enchant player -- If a source would deal damage to enchanted player, it deals double that damage to that player instead. +mana={3}{R}{R} +type=Enchantment +subtype=Aura Curse +[/card] +[card] +name=Curse of Echoes +text=Enchant player -- Whenever enchanted player casts an instant or sorcery spell, each other player may copy that spell and may choose new targets for the copy he or she controls. +mana={4}{U} +type=Enchantment +subtype=Aura Curse +[/card] +[card] +name=Curse of Misfortunes +text=Enchant player -- At the beginning of your upkeep, you may search your library for a Curse card that doesn't have the same name as a Curse attached to enchanted player, put it onto the battlefield attached to that player, then shuffle your library. +mana={4}{B} +type=Enchantment +subtype=Aura Curse +[/card] +[card] +name=Deadly Allure +text=Target creature gains deathtouch until end of turn and must be blocked this turn if able. -- Flashback {G} (You may cast this card from your graveyard for its flashback cost. Then exile it.) +mana={B} +type=Sorcery +[/card] +[card] +name=Faith's Shield +text=Target permanent you control gains protection from the color of your choice until end of turn. -- Fateful hour — If you have 5 or less life, instead you and each permanent you control gain protection from the color of your choice until end of turn. +mana={W} +type=Instant +[/card] +[card] +name=Fiend of the Shadows +text=Flying -- Whenever Fiend of the Shadows deals combat damage to a player, that player exiles a card from his or her hand. You may play that card for as long as it remains exiled. -- Sacrifice a Human: Regenerate Fiend of the Shadows. +mana={3}{B}{B} +type=Creature +subtype=Vampire Wizard +power=3 +toughness=3 +[/card] +[card] +name=Ghastly Haunting +text=Enchant creature -- You control enchanted creature. +type=Enchantment +subtype=Aura +[/card] +[card] +name=Grafdigger's Cage +text=Creature cards can't enter the battlefield from graveyards or libraries. -- Players can't cast cards in graveyards or libraries. +mana={1} +type=Artifact +[/card] +[card] +name=Havengul Lich +text={1}: You may cast target creature card in a graveyard this turn. When you cast that card this turn, Havengul Lich gains all activated abilities of that card until end of turn. +mana={3}{U}{B} +type=Creature +subtype=Zombie Wizard +power=4 +toughness=4 +[/card] +[card] +name=Helvault +text={1}, {T}: Exile target creature you control. -- {7}, {T}: Exile target creature you don't control. -- When Helvault is put into a graveyard from the battlefield, return all cards exiled with it to the battlefield under their owners' control. +mana={3} +type=Legendary Artifact +[/card] +[card] +name=Hinterland Hermit +text=At the beginning of each upkeep, if no spells were cast last turn, transform Hinterland Hermit. +mana={1}{R} +type=Creature +subtype=Human Werewolf +power=2 +toughness=1 +[/card] +[card] +name=Hinterland Scourge +text=Hinterland Scourge must be blocked if able. -- At the beginning of each upkeep, if a player cast two or more spells last turn, transform Hinterland Scourge. +type=Creature +subtype=Werewolf +power=3 +toughness=2 +[/card] +[card] +name=Increasing Vengeance +text=Copy target instant or sorcery spell you control. If Increasing Vengeance was cast from a graveyard, copy that spell twice instead. You may choose new targets for the copies. -- Flashback {3}{R}{R} (You may cast this card from your graveyard for its flashback cost. Then exile it.) +mana={R}{R} +type=Instant +[/card] +[card] +name=Jar of Eyeballs +text=Whenever a creature you control dies, put two eyeball counters on Jar of Eyeballs. -- {3}, {T}, Remove all eyeball counters from Jar of Eyeballs: Look at the top X cards of your library, where X is the number of eyeball counters removed this way. Put one of them into your hand and the rest on the bottom of your library in any order. +mana={3} +type=Artifact +[/card] +[card] +name=Lost in the Woods +text=Whenever a creature attacks you or a planeswalker you control, reveal the top card of your library. If it's a Forest card, remove that creature from combat. Then put the revealed card on the bottom of your library. +mana={3}{G}{G} +type=Enchantment +[/card] +[card] +name=Soul Seizer +text=Flying -- When Soul Seizer deals combat damage to a player, you may transform it. If you do, attach it to target creature that player controls. +mana={3}{U}{U} +type=Creature +subtype=Spirit +power=1 +toughness=3 +[/card] diff --git a/projects/mtg/bin/Res/missing_cards_by_sets/ISD.txt b/projects/mtg/bin/Res/missing_cards_by_sets/ISD.txt new file mode 100644 index 000000000..245a1a2dc --- /dev/null +++ b/projects/mtg/bin/Res/missing_cards_by_sets/ISD.txt @@ -0,0 +1,90 @@ +[card] +name=Back from the Brink +text=Exile a creature card from your graveyard and pay its mana cost: Put a token onto the battlefield that's a copy of that card. Activate this ability only any time you could cast a sorcery. +mana={4}{U}{U} +type=Enchantment +[/card] +[card] +name=Blazing Torch +text=Equipped creature can't be blocked by Vampires or Zombies. -- Equipped creature has "{T}, Sacrifice Blazing Torch: Blazing Torch deals 2 damage to target creature or player." -- Equip {1} ({1}: Attach to target creature you control. Equip only as a sorcery.) +mana={1} +type=Artifact +subtype=Equipment +[/card] +[card] +name=Cellar Door +text={3}, {T}: Target player puts the bottom card of his or her library into his or her graveyard. If it's a creature card, you put a 2/2 black Zombie creature token onto the battlefield. +mana={2} +type=Artifact +[/card] +[card] +name=Divine Reckoning +text=Each player chooses a creature he or she controls. Destroy the rest. -- Flashback {5}{W}{W} (You may cast this card from your graveyard for its flashback cost. Then exile it.) +mana={2}{W}{W} +type=Sorcery +[/card] +[card] +name=Essence of the Wild +text=Creatures you control enter the battlefield as a copy of Essence of the Wild. +mana={3}{G}{G}{G} +type=Creature +subtype=Avatar +power=6 +toughness=6 +[/card] +[card] +name=Frightful Delusion +text=Counter target spell unless its controller pays {1}. That player discards a card. +mana={2}{U} +type=Instant +[/card] +[card] +name=Gutter Grime +text=Whenever a nontoken creature you control dies, put a slime counter on Gutter Grime, then put a green Ooze creature token onto the battlefield with "This creature's power and toughness are each equal to the number of slime counters on Gutter Grime." +mana={4}{G} +type=Enchantment +[/card] +[card] +name=Harvest Pyre +text=As an additional cost to cast Harvest Pyre, exile X cards from your graveyard. -- Harvest Pyre deals X damage to target creature. +mana={1}{R} +type=Instant +[/card] +[card] +name=Heretic's Punishment +text={3}{R}: Choose target creature or player, then put the top three cards of your library into your graveyard.Heretic's Punishment deals damage to that creature or player equal to the highest converted mana cost among those cards. +mana={4}{R} +type=Enchantment +[/card] +[card] +name=Inquisitor's Flail +text=If equipped creature would deal combat damage, it deals double that damage instead. -- If another creature would deal combat damage to equipped creature, it deals double that damage to equipped creature instead. -- Equip {2} +mana={2} +type=Artifact +subtype=Equipment +[/card] +[card] +name=Liliana of the Veil +text=+1: Each player discards a card. -- -2: Target player sacrifices a creature. -- -6: Separate all permanents target player controls into two piles. That player sacrifices all permanents in the pile of his or her choice. +mana={1}{B}{B} +type=Planeswalker +subtype=Liliana +[/card] +[card] +name=Moonmist +text=Transform all Humans. Prevent all combat damage that would be dealt this turn by creatures other than Werewolves and Wolves. (Only double-faced cards can be transformed.) +mana={1}{G} +type=Instant +[/card] +[card] +name=Nevermore +text=As Nevermore enters the battlefield, name a nonland card. -- The named card can't be cast. +mana={1}{W}{W} +type=Enchantment +[/card] +[card] +name=Runic Repetition +text=Return target exiled card with flashback you own to your hand. +mana={2}{U} +type=Sorcery +[/card] diff --git a/projects/mtg/bin/Res/missing_cards_by_sets/MBS.txt b/projects/mtg/bin/Res/missing_cards_by_sets/MBS.txt new file mode 100644 index 000000000..546817b1f --- /dev/null +++ b/projects/mtg/bin/Res/missing_cards_by_sets/MBS.txt @@ -0,0 +1,69 @@ +[card] +name=Cryptoplasm +text=At the beginning of your upkeep, you may have Cryptoplasm become a copy of another target creature. If you do, Cryptoplasm gains this ability. +mana={1}{U}{U} +type=Creature +subtype=Shapeshifter +power=2 +toughness=2 +[/card] +[card] +name=Distant Memories +text=Search your library for a card, exile it, then shuffle your library. Any opponent may have you put that card into your hand. If no player does, you draw three cards. +mana={2}{U}{U} +type=Sorcery +[/card] +[card] +name=Kemba's Legion +text=Vigilance -- Kemba's Legion can block an additional creature for each Equipment attached to Kemba's Legion. +mana={5}{W}{W} +type=Creature +subtype=Cat Soldier +power=4 +toughness=6 +[/card] +[card] +name=Knowledge Pool +text=Imprint — When Knowledge Pool enters the battlefield, each player exiles the top three cards of his or her library. -- Whenever a player casts a spell from his or her hand, that player exiles it. If the player does, he or she may cast another nonland card exiled with Knowledge Pool without paying that card's mana cost. +mana={6} +type=Artifact +[/card] +[card] +name=Kuldotha Flamefiend +text=When Kuldotha Flamefiend enters the battlefield, you may sacrifice an artifact. If you do, Kuldotha Flamefiend deals 4 damage divided as you choose among any number of target creatures and/or players. +mana={4}{R}{R} +type=Creature +subtype=Elemental +power=4 +toughness=4 +[/card] +[card] +name=Myr Welder +text=Imprint — {T}: Exile target artifact card from a graveyard. -- Myr Welder has all activated abilities of all cards exiled with it. +mana={3} +type=Artifact Creature +subtype=Myr +power=1 +toughness=4 +[/card] +[card] +name=Phyrexian Rebirth +text=Destroy all creatures, then put an X/X colorless Horror artifact creature token onto the battlefield, where X is the number of creatures destroyed this way. +mana={4}{W}{W} +type=Sorcery +[/card] +[card] +name=Phyrexian Revoker +text=As Phyrexian Revoker enters the battlefield, name a nonland card. -- Activated abilities of sources with the chosen name can't be activated. +mana={2} +type=Artifact Creature +subtype=Horror +power=2 +toughness=1 +[/card] +[card] +name=Virulent Wound +text=Put a -1/-1 counter on target creature. When that creature dies this turn, its controller gets a poison counter. +mana={B} +type=Instant +[/card] diff --git a/projects/mtg/bin/Res/missing_cards_by_sets/NPH.txt b/projects/mtg/bin/Res/missing_cards_by_sets/NPH.txt new file mode 100644 index 000000000..9122925ab --- /dev/null +++ b/projects/mtg/bin/Res/missing_cards_by_sets/NPH.txt @@ -0,0 +1,199 @@ +[card] +name=Bludgeon Brawl +text=Each noncreature, non-Equipment artifact is an Equipment with equip {X} and "Equipped creature gets +X/+0," where X is that artifact's converted mana cost. +mana={2}{R} +type=Enchantment +[/card] +[card] +name=Caged Sun +text=As Caged Sun enters the battlefield, choose a color. -- Creatures you control of the chosen color get +1/+1. -- Whenever a land's ability adds one or more mana of the chosen color to your mana pool, add one additional mana of that color to your mana pool. +mana={6} +type=Artifact +[/card] +[card] +name=Cathedral Membrane +text=({PW} can be paid with either {W} or 2 life.) -- Defender -- When Cathedral Membrane dies during combat, it deals 6 damage to each creature it blocked this combat. +mana={1}{PW} +type=Artifact Creature +subtype=Wall +power=0 +toughness=3 +[/card] +[card] +name=Chancellor of the Annex +text=You may reveal this card from your opening hand. If you do, when each opponent casts his or her first spell of the game, counter that spell unless that player pays {1}. -- Flying -- Whenever an opponent casts a spell, counter it unless that player pays {1}. +mana={4}{W}{W}{W} +type=Creature +subtype=Angel +power=5 +toughness=6 +[/card] +[card] +name=Chancellor of the Dross +text=You may reveal this card from your opening hand. If you do, at the beginning of the first upkeep, each opponent loses 3 life, then you gain life equal to the life lost this way. -- Flying, lifelink +mana={4}{B}{B}{B} +type=Creature +subtype=Vampire +power=6 +toughness=6 +[/card] +[card] +name=Chancellor of the Forge +text=You may reveal this card from your opening hand. If you do, at the beginning of the first upkeep, put a 1/1 red Goblin creature token with haste onto the battlefield. -- When Chancellor of the Forge enters the battlefield, put X 1/1 red Goblin creature tokens with haste onto the battlefield, where X is the number of creatures you control. +mana={4}{R}{R}{R} +type=Creature +subtype=Giant +power=5 +toughness=5 +[/card] +[card] +name=Chancellor of the Spires +text=You may reveal this card from your opening hand. If you do, at the beginning of the first upkeep, each opponent puts the top seven cards of his or her library into his or her graveyard. -- Flying -- When Chancellor of the Spires enters the battlefield, you may cast target instant or sorcery card from an opponent's graveyard without paying its mana cost. +mana={4}{U}{U}{U} +type=Creature +subtype=Sphinx +power=5 +toughness=7 +[/card] +[card] +name=Chancellor of the Tangle +text=You may reveal this card from your opening hand. If you do, at the beginning of your first main phase, add {G} to your mana pool. -- Vigilance, reach +mana={4}{G}{G}{G} +type=Creature +subtype=Beast +power=6 +toughness=7 +[/card] +[card] +name=Exclusion Ritual +text=Imprint — When Exclusion Ritual enters the battlefield, exile target nonland permanent. -- Players can't cast spells with the same name as the exiled card. +mana={4}{W}{W} +type=Enchantment +[/card] +[card] +name=Geosurge +text=Add {R}{R}{R}{R}{R}{R}{R} to your mana pool. Spend this mana only to cast artifact or creature spells. +mana={R}{R}{R}{R} +type=Sorcery +[/card] +[card] +name=Gremlin Mine +text={1}, {T}, Sacrifice Gremlin Mine: Gremlin Mine deals 4 damage to target artifact creature. -- {1}, {T}, Sacrifice Gremlin Mine: Remove up to four charge counters from target noncreature artifact. +mana={1} +type=Artifact +[/card] +[card] +name=Hex Parasite +text={X}{PB}: Remove up to X counters from target permanent. For each counter removed this way, Hex Parasite gets +1/+0 until end of turn. ({PB} can be paid with either {B} or 2 life.) +mana={1} +type=Artifact Creature +subtype=Insect +power=1 +toughness=1 +[/card] +[card] +name=Invader Parasite +text=Imprint — When Invader Parasite enters the battlefield, exile target land. -- Whenever a land with the same name as the exiled card enters the battlefield under an opponent's control, Invader Parasite deals 2 damage to that player. +mana={3}{R}{R} +type=Creature +subtype=Insect +power=3 +toughness=2 +[/card] +[card] +name=Karn Liberated +text=+4: Target player exiles a card from his or her hand. -- -3: Exile target permanent. -- -14: Restart the game, leaving in exile all non-Aura permanent cards exiled with Karn Liberated. Then put those cards onto the battlefield under your control. +mana={7} +type=Planeswalker +subtype=Karn +[/card] +[card] +name=Leeching Bite +text=Target creature gets +1/+1 until end of turn. Another target creature gets -1/-1 until end of turn. +mana={1}{G} +type=Instant +[/card] +[card] +name=Myr Superion +text=Spend only mana produced by creatures to cast Myr Superion. +mana={2} +type=Artifact Creature +subtype=Myr +power=5 +toughness=6 +[/card] +[card] +name=Norn's Annex +text=({PW} can be paid with either {W} or 2 life.) -- Creatures can't attack you or a planeswalker you control unless their controller pays {PW} for each of those creatures. +mana={3}{PW}{PW} +type=Artifact +[/card] +[card] +name=Omen Machine +text=Players can't draw cards. -- At the beginning of each player's draw step, that player exiles the top card of his or her library. If it's a land card, the player puts it onto the battlefield. Otherwise, the player casts it without paying its mana cost if able. +mana={6} +type=Artifact +[/card] +[card] +name=Phyrexian Ingester +text=Imprint — When Phyrexian Ingester enters the battlefield, you may exile target nontoken creature. -- Phyrexian Ingester gets +X/+Y, where X is the exiled creature card's power and Y is its toughness. +mana={6}{U} +type=Creature +subtype=Beast +power=3 +toughness=3 +[/card] +[card] +name=Phyrexian Metamorph +text=({PU} can be paid with either {U} or 2 life.) -- You may have Phyrexian Metamorph enter the battlefield as a copy of any artifact or creature on the battlefield, except it's an artifact in addition to its other types. +mana={3}{p(B)} +type=Artifact Creature +subtype=Shapeshifter +power=0 +toughness=0 +[/card] +[card] +name=Postmortem Lunge +text=({PB} can be paid with either {B} or 2 life.) -- Return target creature card with converted mana cost X from your graveyard to the battlefield. It gains haste. Exile it at the beginning of the next end step. +mana={X}{p(B)} +type=Sorcery +[/card] +[card] +name=Praetor's Grasp +text=Search target opponent's library for a card and exile it face down. Then that player shuffles his or her library. You may look at and play that card for as long as it remains exiled. +mana={1}{B}{B} +type=Sorcery +[/card] +[card] +name=Psychic Surgery +text=Whenever an opponent shuffles his or her library, you may look at the top two cards of that library. You may exile one of those cards. Then put the rest on top of that library in any order. +mana={1}{U} +type=Enchantment +[/card] +[card] +name=Rage Extractor +text=({PR} can be paid with either {R} or 2 life.) -- Whenever you cast a spell with Phyrexian in its mana cost, Rage Extractor deals damage equal to that spell's converted mana cost to target creature or player. +mana={4}{PR} +type=Artifact +[/card] +[card] +name=Remember the Fallen +text=Choose one or both — Return target creature card from your graveyard to your hand; and/or return target artifact card from your graveyard to your hand. +mana={2}{W} +type=Sorcery +[/card] +[card] +name=Spellskite +text={PU}: Change a target of target spell or ability to Spellskite. ({PU} can be paid with either {U} or 2 life.) +mana={2} +type=Artifact Creature +subtype=Horror +power=0 +toughness=4 +[/card] +[card] +name=Torpor Orb +text=Creatures entering the battlefield don't cause abilities to trigger. +mana={2} +type=Artifact +[/card] diff --git a/projects/mtg/bin/Res/missing_cards_by_sets/SOM.txt b/projects/mtg/bin/Res/missing_cards_by_sets/SOM.txt new file mode 100644 index 000000000..4977bb580 --- /dev/null +++ b/projects/mtg/bin/Res/missing_cards_by_sets/SOM.txt @@ -0,0 +1,179 @@ +[card] +name=Clone Shell +text=Imprint — When Clone Shell enters the battlefield, look at the top four cards of your library, exile one face down, then put the rest on the bottom of your library in any order. -- When Clone Shell dies, turn the exiled card face up. If it's a creature card, put it onto the battlefield under your control. +mana={5} +type=Artifact Creature +subtype=Shapeshifter +power=2 +toughness=2 +[/card] +[card] +name=Echo Circlet +text=Equipped creature can block an additional creature. -- Equip {1} +mana={2} +type=Artifact +subtype=Equipment +[/card] +[card] +name=Flesh Allergy +text=As an additional cost to cast Flesh Allergy, sacrifice a creature. -- Destroy target creature. Its controller loses life equal to the number of creatures that died this turn. +mana={2}{B}{B} +type=Sorcery +[/card] +[card] +name=Fulgent Distraction +text=Choose two target creatures. Tap those creatures, then unattach all Equipment from them. +mana={2}{W} +type=Instant +[/card] +[card] +name=Grafted Exoskeleton +text=Equipped creature gets +2/+2 and has infect. (It deals damage to creatures in the form of -1/-1 counters and to players in the form of poison counters.) -- Whenever Grafted Exoskeleton becomes unattached from a permanent, sacrifice that permanent. -- Equip {2} +mana={4} +type=Artifact +subtype=Equipment +[/card] +[card] +name=Grand Architect +text=Other blue creatures you control get +1/+1. -- {U}: Target artifact creature becomes blue until end of turn. -- Tap an untapped blue creature you control: Add {2} to your mana pool. Spend this mana only to cast artifact spells or activate abilities of artifacts. +mana={1}{U}{U} +type=Creature +subtype=Vedalken Artificer +power=1 +toughness=3 +[/card] +[card] +name=Leonin Arbiter +text=Players can't search libraries. Any player may pay {2} for that player to ignore this effect until end of turn. +mana={1}{W} +type=Creature +subtype=Cat Cleric +power=2 +toughness=2 +[/card] +[card] +name=Livewire Lash +text=Equipped creature gets +2/+0 and has "Whenever this creature becomes the target of a spell, this creature deals 2 damage to target creature or player." -- Equip {2} +mana={2} +type=Artifact +subtype=Equipment +[/card] +[card] +name=Memoricide +text=Name a nonland card. Search target player's graveyard, hand, and library for any number of cards with that name and exile them. Then that player shuffles his or her library. +mana={3}{B} +type=Sorcery +[/card] +[card] +name=Mimic Vat +text=Imprint — Whenever a nontoken creature dies, you may exile that card. If you do, return each other card exiled with Mimic Vat to its owner's graveyard. -- {3}, {T}: Put a token onto the battlefield that's a copy of the exiled card. It gains haste. Exile it at the beginning of the next end step. +mana={3} +type=Artifact +[/card] +[card] +name=Mindslaver +text={4}, {T}, Sacrifice Mindslaver: You control target player during that player's next turn. (You see all cards that player could see and make all decisions for the player.) +mana={6} +type=Legendary Artifact +[/card] +[card] +name=Molten Psyche +text=Each player shuffles the cards from his or her hand into his or her library, then draws that many cards. -- Metalcraft — If you control three or more artifacts, Molten Psyche deals damage to each opponent equal to the number of cards that player has drawn this turn. +mana={1}{R}{R} +type=Sorcery +[/card] +[card] +name=Myr Reservoir +text={T}: Add {2} to your mana pool. Spend this mana only to cast Myr spells or activate abilities of Myr. -- {3}, {T}: Return target Myr card from your graveyard to your hand. +mana={3} +type=Artifact +[/card] +[card] +name=Necrotic Ooze +text=As long as Necrotic Ooze is on the battlefield, it has all activated abilities of all creature cards in all graveyards. +mana={2}{B}{B} +type=Creature +subtype=Ooze +power=4 +toughness=3 +[/card] +[card] +name=Nim Deathmantle +text=Equipped creature gets +2/+2, has intimidate, and is a black Zombie. -- Whenever a nontoken creature is put into your graveyard from the battlefield, you may pay {4}. If you do, return that card to the battlefield and attach Nim Deathmantle to it. -- Equip {4} +mana={2} +type=Artifact +subtype=Equipment +[/card] +[card] +name=Ogre Geargrabber +text=Whenever Ogre Geargrabber attacks, gain control of target Equipment an opponent controls until end of turn. Attach it to Ogre Geargrabber. When you lose control of that Equipment, unattach it. +mana={4}{R}{R} +type=Creature +subtype=Ogre Warrior +power=4 +toughness=4 +[/card] +[card] +name=Precursor Golem +text=When Precursor Golem enters the battlefield, put two 3/3 colorless Golem artifact creature tokens onto the battlefield. -- Whenever a player casts an instant or sorcery spell that targets only a single Golem, that player copies that spell for each other Golem that spell could target. Each copy targets a different one of those Golems. +mana={5} +type=Artifact Creature +subtype=Golem +power=3 +toughness=3 +[/card] +[card] +name=Prototype Portal +text=Imprint — When Prototype Portal enters the battlefield, you may exile an artifact card from your hand. -- {X}, {T}: Put a token that's a copy of the exiled card onto the battlefield. X is the converted mana cost of that card. +mana={4} +type=Artifact +[/card] +[card] +name=Psychic Miasma +text=Target player discards a card. If a land card is discarded this way, return Psychic Miasma to its owner's hand. +mana={1}{B} +type=Sorcery +[/card] +[card] +name=Steel Hellkite +text=Flying -- {2}: Steel Hellkite gets +1/+0 until end of turn. -- {X}: Destroy each nonland permanent with converted mana cost X whose controller was dealt combat damage by Steel Hellkite this turn. Activate this ability only once each turn. +mana={6} +type=Artifact Creature +subtype=Dragon +power=5 +toughness=5 +[/card] +[card] +name=Stoic Rebuttal +text=Metalcraft — Stoic Rebuttal costs {1} less to cast if you control three or more artifacts. -- Counter target spell. +mana={1}{U}{U} +type=Instant +[/card] +[card] +name=Strata Scythe +text=Imprint — When Strata Scythe enters the battlefield, search your library for a land card, exile it, then shuffle your library. -- Equipped creature gets +1/+1 for each land on the battlefield with the same name as the exiled card. -- Equip {3} +mana={3} +type=Artifact +subtype=Equipment +[/card] +[card] +name=Tangle Angler +text=Infect (This creature deals damage to creatures in the form of -1/-1 counters and to players in the form of poison counters.) -- {G}: Target creature blocks Tangle Angler this turn if able. +mana={3}{G} +type=Creature +subtype=Horror +power=1 +toughness=5 +[/card] +[card] +name=Turn Aside +text=Counter target spell that targets a permanent you control. +mana={U} +type=Instant +[/card] +[card] +name=Vigil for the Lost +text=Whenever a creature you control dies, you may pay {X}. If you do, you gain X life. +mana={3}{W} +type=Enchantment +[/card] diff --git a/projects/mtg/bin/Res/sets/primitives/mtg.txt b/projects/mtg/bin/Res/sets/primitives/mtg.txt index 6b7ba8c30..7160ade91 100644 --- a/projects/mtg/bin/Res/sets/primitives/mtg.txt +++ b/projects/mtg/bin/Res/sets/primitives/mtg.txt @@ -1685,7 +1685,7 @@ subtype=Ajani [card] name=Ajani Steadfast auto=counter(0/0,4,loyalty) -auto={C(0/0,1,Loyalty)}:name(+1: add 1 loyalty) donothing restriction{compare(cantargetcre)~lessthan~1} +auto={C(0/0,1,Loyalty)}:name(+1: loyalty) donothing restriction{compare(cantargetcre)~lessthan~1} auto={C(0/0,1,Loyalty)}:name(+1: multi transform) target(creature) transforms((,newability[1/1],newability[vigilance],newability[first strike],newability[lifelink])) ueot restriction{compare(cantargetcre)~morethan~0} auto={C(0/0,-2,Loyalty)}:name(-2: 1/1 counters) all(creature|mybattlefield) counter(1/1,1) && all(other planeswalker|mybattlefield) counter(0/0,1,Loyalty) auto={C(0/0,-7,Loyalty)}:name(-7: emblem) emblem transforms((,newability[forcefield controller])) forever dontremove @@ -1708,7 +1708,7 @@ subtype=Ajani [card] name=Ajani, Caller of the Pride auto=counter(0/0,4,loyalty) -auto={C(0/0,1,Loyalty)}:name(+1: add 1 loyalty) donothing restriction{compare(cantargetcre)~lessthan~1} +auto={C(0/0,1,Loyalty)}:name(+1: loyalty) donothing restriction{compare(cantargetcre)~lessthan~1} auto={C(0/0,1,Loyalty)}:name(+1: +1/+1 counter) target(creature|battlefield) counter(1/1,1) restriction{compare(cantargetcre)~morethan~0} auto={C(0/0,-3,Loyalty)}:name(-3: double strike and flying) flying && double strike target(creature|battlefield) ueot auto={C(0/0,-8,Loyalty)}:name(-8: ultimate) token(Cat,Creature Cat,2/2,white)*lifetotal @@ -5334,7 +5334,7 @@ type=Artifact [card] name=Arlinn Kord auto=counter(0/0,3,loyalty) -auto={C(0/0,1,Loyalty)}:name(+1: add 1 loyalty) donothing restriction{compare(cantargetcre)~lessthan~1} +auto={C(0/0,1,Loyalty)}:name(+1: loyalty) donothing restriction{compare(cantargetcre)~lessthan~1} auto={C(0/0,1,Loyalty)}:name(+1: 2/2 creature) target(creature) 2/2 ueot auto={C(0/0,0,Loyalty)}:name(0: wolf token) token(Wolf,creature Wolf,2/2,green) && flip(Arlinn, Embraced by the Moon) text=+1: Until end of turn, up to one target creature gets +2/+2 and gains vigilance and haste. -- 0: Put a 2/2 green Wolf creature token onto the battlefield. Transform Arlinn Kord. @@ -7640,8 +7640,8 @@ type=Instant [/card] [card] name=Azorius Cluestone -auto={T}: Add {W} -auto={T}: Add {U} +auto={T}:Add{W} +auto={T}:Add{U} auto={W}{U}{T}{S}:draw:1 controller text={T}: Add {W} or {U} to your mana pool. -- {W}{U}, {T}, Sacrifice Azorius Cluestone: Draw a card. mana={3} @@ -13275,8 +13275,8 @@ type=Instant [/card] [card] name=Boros Cluestone -auto={T}: Add {R} -auto={T}: Add {W} +auto={T}:Add{R} +auto={T}:Add{W} auto={R}{W}{T}{S}:draw:1 controller text={T}: Add {R} or {W} to your mana pool. -- {R}{W}, {T}, Sacrifice Boros Cluestone: Draw a card. mana={3} @@ -14793,6 +14793,17 @@ power=3 toughness=2 [/card] [card] +name=Brutalizer Exarch +auto=choice name(put on top) moveTo(exile) and!(transforms((,newability[moveto(ownerlibrary)])) oneshot)! notatarget(creature|mylibrary) +auto=choice name(put on bottom) bottomoflibrary target(*[-creature]) +text=When Brutalizer Exarch enters the battlefield, choose one — Search your library for a creature card, reveal it, then shuffle your library and put that card on top of it; or put target noncreature permanent on the bottom of its owner's library. +mana={5}{G} +type=Creature +subtype=Cleric +power=3 +toughness=3 +[/card] +[card] name=Brute Force target=creature auto=3/3 @@ -19353,6 +19364,16 @@ power=2 toughness=2 [/card] [card] +name=Civilized Scholar +auto={T}:draw:1 && ability$! reject notatarget(*|myhand) and!( if cantargetcard(creature|*) then all(mystored) flip(Homicidal Brute) && all(mystored) untap )! !$ controller +text={T}: Draw a card, then discard a card. If a creature card is discarded this way, untap Civilized Scholar, then transform it. +mana={2}{U} +type=Creature +subtype=Human Advisor +power=0 +toughness=1 +[/card] +[card] name=Claim of Erebos target=creature auto=teach(creature) {1}{B}{T}:target(player) life:-2 @@ -21860,7 +21881,7 @@ toughness=3 [card] name=Corrupted Resolve target=*|stack -auto=transforms((,newability[this(variable{playerpoisoncount}) fizzle])) ueot +auto=transforms((,newability[this(variable{mypoisoncount}) fizzle])) ueot mana={1}{U} type=Instant text=Counter target spell if its controller is poisoned. @@ -28071,8 +28092,8 @@ type=Land [/card] [card] name=Dimir Cluestone -auto={T}: Add {U} -auto={T}: Add {B} +auto={T}:Add{U} +auto={T}:Add{B} auto={U}{B}{T}{S}:draw:1 controller text={T}: Add {U} or {B} to your mana pool. -- {U}{B}, {T}, Sacrifice Dimir Cluestone: Draw a card. mana={3} @@ -35820,6 +35841,16 @@ type=Enchantment subtype=Aura [/card] [card] +name=Evil Twin +auto=may copy NotATarget(creature) and!( transforms((,newability[{U}{B}{T}:destroy target(creature[share!name!])])) forever )! +text=You may have Evil Twin enter the battlefield as a copy of any creature on the battlefield except it gains "{U}{B}, {T}: Destroy target creature with the same name as this creature." +mana={2}{U}{B} +type=Creature +subtype=Shapeshifter +power=0 +toughness=0 +[/card] +[card] name=Evincar's Justice auto=damage:2 all(creature,player) buyback={2}{B}{B}{3} @@ -43353,7 +43384,7 @@ toughness=2 [card] name=Gerrard's Verdict target=player -auto=ability$! reject notatarget(<2>*|myhand) and!( if cantargetcard(land|*) then life:3 all(abilitycontroller) )! !$ targetedplayer +auto=ability$! reject notatarget(<2>*|myhand) and!( if cantargetcard(land|*) then life:3 all(abilitycontroller) oneshot )! !$ targetedplayer text=Target player discards two cards. You gain 3 life for each land card discarded this way. mana={W}{B} type=Sorcery @@ -46577,8 +46608,8 @@ type=Instant [/card] [card] name=Golgari Cluestone -auto={T}: Add {B} -auto={T}: Add {G} +auto={T}:Add{B} +auto={T}:Add{G} auto={B}{G}{T}{S}:draw:1 controller text={T}: Add {B} or {G} to your mana pool. -- {B}{G}, {T}, Sacrifice Golgari Cluestone: Draw a card. mana={3} @@ -47429,6 +47460,13 @@ power=4 toughness=4 [/card] [card] +name=Graveyard Shovel +auto={2}{T}:name(exiles a card) target(player) ability$! notatarget(*|mygraveyard) moveto(exile) and!( if cantargetcard(creature|*) then all(abilitycontroller) life:2 oneshot )! !$ targetedplayer +text={2}, {T}: Target player exiles a card from his or her graveyard. If it's a creature card, you gain 2 life. +mana={2} +type=Artifact +[/card] +[card] name=Gravitational Shift auto=lord(creature[flying]) 2/0 auto=lord(creature[-flying]) -2/0 @@ -48098,6 +48136,14 @@ power=5 toughness=5 [/card] [card] +name=Grimoire of the Dead +auto={1}{T}{D(*|myhand)}:counter(0/0,1,Study) +auto={T}{C(0/0,-3,Study)}{S}:all(creature|graveyard) moveto(mybattlefield) and!( transforms((Zombie,newcolors[black])) forever )! +text={1}, {T}, Discard a card: Put a study counter on Grimoire of the Dead. -- {T}, Remove three study counters from Grimoire of the Dead and sacrifice it: Put all creature cards from all graveyards onto the battlefield under your control. They're black Zombies in addition to their other colors and types. +mana={4} +type=Legendary Artifact +[/card] +[card] name=Grindclock auto={T}:counter(0/0,1,Charge) auto={T}:target(player) dynamicability @@ -48619,8 +48665,8 @@ type=Instant [/card] [card] name=Gruul Cluestone -auto={T}: Add {R} -auto={T}: Add {G} +auto={T}:Add{R} +auto={T}:Add{G} auto={R}{G}{T}{S}:draw:1 controller text={T}: Add {R} or {G} to your mana pool. -- {R}{G}, {T}, Sacrifice Gruul Cluestone: Draw a card. mana={3} @@ -52512,6 +52558,15 @@ type=Land text={T}: Add {1} to your mana pool. {T}: Each player gains control of all creatures he or she owns. [/card] [card] +name=Homicidal Brute +auto=@each my endofturn restriction{didntattack}:tap && flip(Civilized Scholar) +text=At the beginning of your end step, if Homicidal Brute didn't attack this turn, tap Homicidal Brute, then transform it. +type=Creature +subtype=Human Mutant +power=5 +toughness=1 +[/card] +[card] name=Homicidal Seclusion auto=aslongas(creature|mybattlefield) lord(creature|mybattlefield) 3/1 <2 auto=aslongas(creature|mybattlefield) lord(creature|mybattlefield) lifelink <2 @@ -54533,6 +54588,18 @@ power=2 toughness=2 [/card] [card] +name=Immerwolf +abilities=intimidate +auto=lord(other *[wolf;werewolf]|mybattlefield) 1/1 +auto=lord(*[-human;werewolf]|mybattlefield) canttransform +text=Intimidate (This creature can't be blocked except by artifact creatures and/or creatures that share a color with it.) -- Other Wolf and Werewolf creatures you control get +1/+1. -- Non-Human Werewolves you control can't transform. +mana={1}{R}{G} +type=Creature +subtype=Wolf +power=2 +toughness=2 +[/card] +[card] name=Immobilizing Ink target=creature auto=doesnotuntap @@ -56688,8 +56755,8 @@ toughness=2 [/card] [card] name=Izzet Cluestone -auto={T}: Add {U} -auto={T}: Add {R} +auto={T}:Add{U} +auto={T}:Add{R} auto={U}{R}{T}{S}:draw:1 controller text={T}: Add {U} or {R} to your mana pool. -- {U}{R}, {T}, Sacrifice Izzet Cluestone: Draw a card. mana={3} @@ -61231,7 +61298,7 @@ type=Land name=Koth of the Hammer auto=counter(0/0,3,loyalty) auto={C(0/0,1,Loyalty)}:name(+1: untap) untap target(mountain) && transforms((Elemental Creature,setpower=4,settoughness=4,red)) ueot -auto={C(0/0,-2,Loyalty)}:name(-2: add mana) foreach(mountain|myBattlefield) add{R} +auto={C(0/0,-2,Loyalty)}:name(-2: Red mana) foreach(mountain|myBattlefield) add{R} auto={C(0/0,-5,Loyalty)}:name(-5: emblem) emblem transforms((,newability[lord(mountain|mybattlefield) {t}:damage:1 target(creature)],newability[lord(mountain|mybattlefield) {t}:damage:1 target(player)])) forever dontremove text=+1: Untap target Mountain. It becomes a 4/4 red Elemental creature until end of turn. It's still a land. -- -2: Add {R} to your mana pool for each Mountain you control. -- -5: You get an emblem with "Mountains you control have '{T}: This land deals 1 damage to target creature or player.'" mana={2}{R}{R} @@ -65259,11 +65326,11 @@ suspend(3)={0} [card] name=Lotus Blossom auto=@each my upkeep:may counter(0/0,1,Petal) -auto={T}{S}:name(Sacrifice And Add White Mana) thisforeach(counter{0/0.1.Petal}) add{W} controller -auto={T}{S}:name(Sacrifice And Add Blue Mana) thisforeach(counter{0/0.1.Petal}) add{U} controller -auto={T}{S}:name(Sacrifice And Add Black Mana) thisforeach(counter{0/0.1.Petal}) add{B} controller -auto={T}{S}:name(Sacrifice And Add Red Mana) thisforeach(counter{0/0.1.Petal}) add{R} controller -auto={T}{S}:name(Sacrifice And Add Green Mana) thisforeach(counter{0/0.1.Petal}) add{G} controller +auto={T}{S}:name(White Mana) thisforeach(counter{0/0.1.Petal}) add{W} controller +auto={T}{S}:name(Blue Mana) thisforeach(counter{0/0.1.Petal}) add{U} controller +auto={T}{S}:name(Black Mana) thisforeach(counter{0/0.1.Petal}) add{B} controller +auto={T}{S}:name(Red Mana) thisforeach(counter{0/0.1.Petal}) add{R} controller +auto={T}{S}:name(Green Mana) thisforeach(counter{0/0.1.Petal}) add{G} controller text=At the beginning of your upkeep, you may put a petal counter on Lotus Blossom. -- {T}, Sacrifice Lotus Blossom: Add X mana of any one color to your mana pool, where X is the number of petal counters on Lotus Blossom. mana={2} type=Artifact @@ -67358,6 +67425,18 @@ power=1 toughness=2 [/card] [card] +name=Manor Gargoyle +abilities=defender +auto=while(restriction{hasdefender}) indestructible +auto={1}:name(loses defender) transforms((,newability[-defender],newability[flying])) ueot +text=Defender -- Manor Gargoyle is indestructible as long as it has defender. -- {1}: Until end of turn, Manor Gargoyle loses defender and gains flying. +mana={5} +type=Artifact Creature +subtype=Gargoyle +power=4 +toughness=4 +[/card] +[card] name=Manor Skeleton abilities=haste auto={1}{B}:regenerate @@ -70558,6 +70637,17 @@ power=4 toughness=4 [/card] [card] +name=Mindshrieker +abilities=flying +auto={2}:name(deplete) target(player) Reveal:1 revealzone(targetedpersonslibrary) optionone all(*|reveal) moveto(ownerlibrary) and!( transforms((,newability[deplete:1])) oneshot )! optiononeend afterrevealed all(this) revealedmana/revealedmana afterrevealedend revealend +text=Flying -- {2}: Target player puts the top card of his or her library into his or her graveyard. Mindshrieker gets +X/+X until end of turn, where X is that card's converted mana cost. +mana={1}{U} +type=Creature +subtype=Spirit Bird +power=1 +toughness=1 +[/card] +[card] name=Mindslicer auto=@movedto(this|graveyard) from(battlefield):reject all(*|hand) text=When Mindslicer dies, each player discards his or her hand. @@ -71053,6 +71143,17 @@ text=Mirrorpool enters the battlefield tapped. -- {T}: Add {C} to your mana pool type=Land [/card] [card] +name=Mirror-Mad Phantasm +abilities=flying +auto={1}{U}:name(shuffle reveal) moveto(ownerlibrary) and!( transforms((,newability[shuffle],newability[Reveal:1 revealzone(mylibrary) revealuntil(Mirror-Mad Phantasm|mylibrary) optionone notatarget(Mirror-Mad Phantasm|reveal) bottomoflibrary optiononeend optiontwo all(*|reveal) moveto(ownergraveyard) optiontwoend revealend])) oneshot )! +text=Flying -- {1}{U}: Mirror-Mad Phantasm's owner shuffles it into his or her library. If that player does, he or she reveals cards from the top of that library until a card named Mirror-Mad Phantasm is revealed. The player puts that card onto the battlefield and all other cards revealed this way into his or her graveyard. +mana={3}{U}{U} +type=Creature +subtype=Spirit +power=5 +toughness=1 +[/card] +[card] name=Mirror-Sigil Sergeant abilities=trample auto=@each my upkeep restriction{type(*[blue]|myBattlefield)~morethan~0}:may token(Mirror-Sigil Sergeant) @@ -71476,6 +71577,16 @@ power=1 toughness=3 [/card] [card] +name=Misthollow Griffin +abilities=flying,canplayfromexile +text=Flying -- You may cast Misthollow Griffin from exile. +mana={2}{U}{U} +type=Creature +subtype=Griffin +power=3 +toughness=3 +[/card] +[card] name=Misthoof Kirin abilities=flying,vigilance facedown={3} @@ -79327,8 +79438,8 @@ type=Land [/card] [card] name=Orzhov Cluestone -auto={T}: Add {B} -auto={T}: Add {W} +auto={T}:Add{B} +auto={T}:Add{W} auto={B}{W}{T}{S}:draw:1 controller text={T}: Add {B} or {W} to your mana pool. -- {B}{W}, {T}, Sacrifice Orzhov Cluestone: Draw a card. mana={3} @@ -91703,6 +91814,13 @@ power=2 toughness=1 [/card] [card] +name=Rooftop Storm +auto=lord(creature[zombie]|mycastingzone) zerocast +text=You may pay {0} rather than pay the mana cost for Zombie creature spells you cast. +mana={5}{U} +type=Enchantment +[/card] +[card] name=Root Cage auto=lord(mercenary) doesnotuntap text=Mercenaries don't untap during their controllers' untap steps. @@ -94235,7 +94353,7 @@ subtype=Sarkhan [card] name=Sarkhan Unbroken auto=counter(0/0,9,Loyalty) -auto={C(0/0,1,Loyalty)}:name(+1: Draw card add mana) draw:1 controller && transforms((,newability[activatechooseacolor add{chosencolor} activatechooseend])) forever asSorcery +auto={C(0/0,1,Loyalty)}:name(+1: Draw card) draw:1 controller && transforms((,newability[activatechooseacolor add{chosencolor} activatechooseend])) forever asSorcery auto={C(0/0,-2,Loyalty)}:name(-2: 4/4 dragon token) token(Dragon,creature dragon,4/4,flying,red) controller asSorcery auto={C(0/0,-8,Loyalty)}:name(-8: Search for any number of dragons) moveto(mybattlefield) notatarget(creature[dragon]|mylibrary) asSorcery text=+1: Draw a card, then add one mana of any color to your mana pool. -- -2: Put a 4/4 red Dragon creature token with flying onto the battlefield. -- -8: Search your library for any number of Dragon creature cards and put them onto the battlefield. Then shuffle your library. -- Starting Loyalty (4) @@ -97657,6 +97775,17 @@ mana={3} type=Artifact [/card] [card] +name=Serum Raker +abilities=flying +auto=@movedto(this|graveyard) from(battlefield):ability$!reject notatarget(*|myhand)!$ controller && ability$!reject notatarget(*|myhand)!$ opponent +text=Flying -- When Serum Raker dies, each player discards a card. +mana={2}{U}{U} +type=Creature +subtype=Drake +power=3 +toughness=2 +[/card] +[card] name=Serum Tank auto=counter(0/0,1,Charge) auto=@movedTo(other artifact|Battlefield):counter(0/0,1,Charge) @@ -116926,6 +117055,17 @@ power=4 toughness=4 [/card] [card] +name=Tower Geist +abilities=flying +auto=reveal:2 optionone name(Get a card) target(<1>*|reveal) moveto(myhand) optiononeend optiontwo all(*|reveal) moveto(mygraveyard) optiontwoend revealend +text=Flying -- When Tower Geist enters the battlefield, look at the top two cards of your library. Put one of them into your hand and the other into your graveyard. +mana={3}{U} +type=Creature +subtype=Spirit +power=2 +toughness=2 +[/card] +[card] name=Tower of Calamities auto={8}{T}:damage:12 target(creature) text={8}, {T}:Tower of Calamities deals 12 damage to target creature. @@ -127052,6 +127192,17 @@ power=1 toughness=1 [/card] [card] +name=Whispering Specter +abilities=flying,infect +auto=@combatdamaged(player) from(this):may sacrifice and!( ability$! reject notatarget(*|myhand) !$ opponent )! +text=Flying -- Infect (This creature deals damage to creatures in the form of -1/-1 counters and to players in the form of poison counters.) -- Whenever Whispering Specter deals combat damage to a player, you may sacrifice it. If you do, that player discards a card for each poison counter he or she has. +mana={1}{B}{B} +type=Creature +subtype=Specter +power=1 +toughness=1 +[/card] +[card] name=Whispers of Emrakul target=opponent auto=discard:1 @@ -130494,7 +130645,7 @@ toughness=5 name=Zhur-Taa Druid auto={T}:Add{G} auto=@tappedformana(this):damage:1 opponent -auto={T}: Add {G} to your mana pool. Whenever you tap Zhur-Taa Druid for mana, it deals 1 damage to each opponent. +text={T}: Add {G} to your mana pool. Whenever you tap Zhur-Taa Druid for mana, it deals 1 damage to each opponent. mana={R}{G} type=Creature subtype=Human Druid diff --git a/projects/mtg/include/AllAbilities.h b/projects/mtg/include/AllAbilities.h index 7213a693d..42a4f1f59 100644 --- a/projects/mtg/include/AllAbilities.h +++ b/projects/mtg/include/AllAbilities.h @@ -706,7 +706,7 @@ private: { intValue = target->controller()->opponent()->nonCombatDamage; } - else if (s == "playerpoisoncount") + else if (s == "mypoisoncount") { intValue = target->controller()->poisonCount; } diff --git a/projects/mtg/src/GameObserver.cpp b/projects/mtg/src/GameObserver.cpp index 4e770ac4d..fe63f5c12 100644 --- a/projects/mtg/src/GameObserver.cpp +++ b/projects/mtg/src/GameObserver.cpp @@ -873,6 +873,12 @@ void GameObserver::gameStateBasedEffects() { card->graveEffects = false; card->exileEffects = false; + + if(card->isCreature()) + { + if(card->life < 1 && !card->has(Constants::INDESTRUCTIBLE)) + card->destroy();//manor gargoyle... recheck + } } if(card->childrenCards.size()) diff --git a/projects/mtg/src/MTGAbility.cpp b/projects/mtg/src/MTGAbility.cpp index ab90b0ac5..677dc98f4 100644 --- a/projects/mtg/src/MTGAbility.cpp +++ b/projects/mtg/src/MTGAbility.cpp @@ -510,6 +510,27 @@ int AbilityFactory::parseCastRestrictions(MTGCardInstance * card, Player * playe return 0; } + check = restriction[i].find("hasdefender"); + if(check != string::npos) + { + if(!card->has(Constants::DEFENDER)) + return 0; + } + + check = restriction[i].find("didattack"); + if(check != string::npos) + { + if(!card->didattacked) + return 0; + } + + check = restriction[i].find("didntattack"); + if(check != string::npos) + { + if(card->didattacked) + return 0; + } + check = restriction[i].find("ownerscontrol"); if(check != string::npos) {