Added some successfully tested cards with Unearth.
Example code:
[card]
name=Dregscape Zombie
autograveyard={B}:moveto(exile) && token(17483511) asSorcery
text=Unearth {B} ({B}: Return this card from your graveyard to the battlefield. It gains haste. Exile it at the beginning of the next end step or if it would leave the battlefield. Unearth only as a sorcery.)
mana={1}{B}
type=Creature
subtype=Zombie
power=2
toughness=1
[/card]
[card]
name=Dregscape Zombie Unearthed
type=Creature
subtype=Zombie
abilities=haste
auto=@next end:moveTo(exile)
power=2
toughness=1
mana={1}{B}
[/card]
Added a test script for this card as an example for cards with Unearth.
Card list -> First comment
More cards with Unearth will follow tomorrow.
This commit is contained in:
@@ -279,6 +279,11 @@ id=174835
|
||||
rarity=C
|
||||
[/card]
|
||||
[card]
|
||||
primitive=Dregscape Zombie Unearthed
|
||||
id=17483511
|
||||
rarity=T
|
||||
[/card]
|
||||
[card]
|
||||
primitive=Druid of the Anima
|
||||
id=174903
|
||||
rarity=C
|
||||
|
||||
@@ -790,15 +790,6 @@ mana={2}{G}
|
||||
type=Enchantment
|
||||
[/card]
|
||||
[card]
|
||||
name=Anathemancer
|
||||
text=When Anathemancer enters the battlefield, it deals damage to target player equal to the number of nonbasic lands that player controls. -- Unearth {5}{B}{R} ({5}{B}{R}: Return this card from your graveyard to the battlefield. It gains haste. Exile it at the beginning of the next end step or if it would leave the battlefield. Unearth only as a sorcery.)
|
||||
mana={1}{B}{R}
|
||||
type=Creature
|
||||
subtype=Zombie Wizard
|
||||
power=2
|
||||
toughness=2
|
||||
[/card]
|
||||
[card]
|
||||
name=Anavolver
|
||||
text=Kicker {1}{U} and/or {B} (You may pay an additional {1}{U} and/or {B} as you cast this spell.) -- If Anavolver was kicked with its {1}{U} kicker, it enters the battlefield with two +1/+1 counters on it and with flying. -- If Anavolver was kicked with its {B} kicker, it enters the battlefield with a +1/+1 counter on it and with "Pay 3 life: Regenerate Anavolver."
|
||||
mana={3}{G}
|
||||
@@ -3591,15 +3582,6 @@ mana={4}{W}
|
||||
type=Instant
|
||||
[/card]
|
||||
[card]
|
||||
name=Brackwater Elemental
|
||||
text=When Brackwater Elemental attacks or blocks, sacrifice it at the beginning of the next end step. -- Unearth {2}{U} ({2}{U}: Return this card from your graveyard to the battlefield. It gains haste. Exile it at the beginning of the next end step or if it would leave the battlefield. Unearth only as a sorcery.)
|
||||
mana={2}{U}
|
||||
type=Creature
|
||||
subtype=Elemental
|
||||
power=4
|
||||
toughness=4
|
||||
[/card]
|
||||
[card]
|
||||
name=Braids, Cabal Minion
|
||||
text=At the beginning of each player's upkeep, that player sacrifices an artifact, creature, or land.
|
||||
mana={2}{B}{B}
|
||||
@@ -6395,15 +6377,6 @@ mana={2}{W}
|
||||
type=Enchantment
|
||||
[/card]
|
||||
[card]
|
||||
name=Corpse Connoisseur
|
||||
text=When Corpse Connoisseur enters the battlefield, you may search your library for a creature card and put that card into your graveyard. If you do, shuffle your library. -- Unearth {3}{B} ({3}{B}: Return this card from your graveyard to the battlefield. It gains haste. Exile it at the beginning of the next end step or if it would leave the battlefield. Unearth only as a sorcery.)
|
||||
mana={4}{B}
|
||||
type=Creature
|
||||
subtype=Zombie Wizard
|
||||
power=3
|
||||
toughness=3
|
||||
[/card]
|
||||
[card]
|
||||
name=Corpse Dance
|
||||
text=Buyback {2} (You may pay an additional {2} as you cast this spell. If you do, put this card into your hand as it resolves.) -- Return the top creature card of your graveyard to the battlefield. That creature gains haste until end of turn. Exile it at the beginning of the next end step.
|
||||
mana={2}{B}
|
||||
@@ -9160,15 +9133,6 @@ mana={X}{4}{B}
|
||||
type=Sorcery
|
||||
[/card]
|
||||
[card]
|
||||
name=Dregscape Zombie
|
||||
text=Unearth {B} ({B}: Return this card from your graveyard to the battlefield. It gains haste. Exile it at the beginning of the next end step or if it would leave the battlefield. Unearth only as a sorcery.)
|
||||
mana={1}{B}
|
||||
type=Creature
|
||||
subtype=Zombie
|
||||
power=2
|
||||
toughness=1
|
||||
[/card]
|
||||
[card]
|
||||
name=Drekavac
|
||||
text=When Drekavac enters the battlefield, sacrifice it unless you discard a noncreature card.
|
||||
mana={1}{B}
|
||||
@@ -10666,15 +10630,6 @@ type=Instant
|
||||
subtype=Arcane
|
||||
[/card]
|
||||
[card]
|
||||
name=Etherium Abomination
|
||||
text=Unearth {1}{U}{B} ({1}{U}{B}: Return this card from your graveyard to the battlefield. It gains haste. Exile it at the beginning of the next end step or if it would leave the battlefield. Unearth only as a sorcery.)
|
||||
mana={3}{U}{B}
|
||||
type=Artifact Creature
|
||||
subtype=Horror
|
||||
power=4
|
||||
toughness=3
|
||||
[/card]
|
||||
[card]
|
||||
name=Etherium Sculptor
|
||||
text=Artifact spells you cast cost {1} less to cast.
|
||||
mana={1}{U}
|
||||
|
||||
@@ -1149,6 +1149,28 @@ mana={2}{R}{R}
|
||||
type=Sorcery
|
||||
[/card]
|
||||
[card]
|
||||
name=Anathemancer
|
||||
auto=foreach(land[basic]|opponentBattlefield) damage:1 opponent
|
||||
autograveyard={5}{B}{R}:moveto(exile) && token(17953811) asSorcery
|
||||
text=When Anathemancer enters the battlefield, it deals damage to target player equal to the number of nonbasic lands that player controls. -- Unearth {5}{B}{R} ({5}{B}{R}: Return this card from your graveyard to the battlefield. It gains haste. Exile it at the beginning of the next end step or if it would leave the battlefield. Unearth only as a sorcery.)
|
||||
mana={1}{B}{R}
|
||||
type=Creature
|
||||
subtype=Zombie Wizard
|
||||
power=2
|
||||
toughness=2
|
||||
[/card]
|
||||
[card]
|
||||
name=Anathemancer Unearthed
|
||||
type=Creature
|
||||
subtype=Zombie Wizard
|
||||
abilities=haste
|
||||
auto=foreach(land[basic]|opponentBattlefield) damage:1 opponent
|
||||
auto=@next end:moveTo(exile)
|
||||
power=2
|
||||
toughness=2
|
||||
mana={1}{B}{R}
|
||||
[/card]
|
||||
[card]
|
||||
name=Ancestor's Chosen
|
||||
abilities=first strike
|
||||
auto=foreach(*|mygraveyard) life:1
|
||||
@@ -5490,6 +5512,28 @@ power=2
|
||||
toughness=2
|
||||
[/card]
|
||||
[card]
|
||||
name=Brackwater Elemental
|
||||
auto=@each combatends:moveTo(ownerGraveyard) all(brackwater elemental[attacking;blocking]|myBattlefield)
|
||||
autograveyard={2}{U}:moveto(exile) && token(18014711) asSorcery
|
||||
text=When Brackwater Elemental attacks or blocks, sacrifice it at the beginning of the next end step. -- Unearth {2}{U} ({2}{U}: Return this card from your graveyard to the battlefield. It gains haste. Exile it at the beginning of the next end step or if it would leave the battlefield. Unearth only as a sorcery.)
|
||||
mana={2}{U}
|
||||
type=Creature
|
||||
subtype=Elemental
|
||||
power=4
|
||||
toughness=4
|
||||
[/card]
|
||||
[card]
|
||||
name=Brackwater Elemental Unearthed
|
||||
type=Creature
|
||||
subtype=Elemental
|
||||
abilities=haste
|
||||
auto=@each combatends:moveTo(ownerGraveyard) all(brackwater elemental[attacking;blocking]|myBattlefield)
|
||||
auto=@next end:moveTo(exile)
|
||||
power=4
|
||||
toughness=4
|
||||
mana={2}{U}
|
||||
[/card]
|
||||
[card]
|
||||
name=Braid of Fire
|
||||
auto=@each my upkeep:may moveTo(mygraveyard)
|
||||
auto=@each my upkeep:thisforeach(counter{0/0.1.Age}) add{R}
|
||||
@@ -8767,6 +8811,28 @@ power=1
|
||||
toughness=1
|
||||
[/card]
|
||||
[card]
|
||||
name=Corpse Connoisseur
|
||||
auto=may moveTo(mygraveyard) target(creature|myLibrary)
|
||||
autograveyard={4}{B}:moveto(exile) && token(17644811) asSorcery
|
||||
text=When Corpse Connoisseur enters the battlefield, you may search your library for a creature card and put that card into your graveyard. If you do, shuffle your library. -- Unearth {3}{B} ({3}{B}: Return this card from your graveyard to the battlefield. It gains haste. Exile it at the beginning of the next end step or if it would leave the battlefield. Unearth only as a sorcery.)
|
||||
mana={4}{B}
|
||||
type=Creature
|
||||
subtype=Zombie Wizard
|
||||
power=3
|
||||
toughness=3
|
||||
[/card]
|
||||
[card]
|
||||
name=Corpse Connoisseur Unearthed
|
||||
type=Creature
|
||||
subtype=Zombie Wizard
|
||||
abilities=haste
|
||||
auto=may moveTo(mygraveyard) target(creature|myLibrary)
|
||||
auto=@next end:moveTo(exile)
|
||||
power=3
|
||||
toughness=3
|
||||
mana={4}{B}
|
||||
[/card]
|
||||
[card]
|
||||
name=Corpse Hatch
|
||||
target=creature[-black]
|
||||
auto=destroy
|
||||
@@ -12107,6 +12173,26 @@ power=4
|
||||
toughness=3
|
||||
[/card]
|
||||
[card]
|
||||
name=Dregscape Zombie
|
||||
autograveyard={B}:moveto(exile) && token(17483511) asSorcery
|
||||
text=Unearth {B} ({B}: Return this card from your graveyard to the battlefield. It gains haste. Exile it at the beginning of the next end step or if it would leave the battlefield. Unearth only as a sorcery.)
|
||||
mana={1}{B}
|
||||
type=Creature
|
||||
subtype=Zombie
|
||||
power=2
|
||||
toughness=1
|
||||
[/card]
|
||||
[card]
|
||||
name=Dregscape Zombie Unearthed
|
||||
type=Creature
|
||||
subtype=Zombie
|
||||
abilities=haste
|
||||
auto=@next end:moveTo(exile)
|
||||
power=2
|
||||
toughness=1
|
||||
mana={1}{B}
|
||||
[/card]
|
||||
[card]
|
||||
name=Drift of Phantasms
|
||||
abilities=defender,flying
|
||||
autohand={1}{U}{U}{S}:moveTo(myhand) target(*[manacost=3]|mylibrary) asSorcery
|
||||
@@ -14074,6 +14160,26 @@ power=4
|
||||
toughness=3
|
||||
[/card]
|
||||
[card]
|
||||
name=Etherium Abomination
|
||||
autograveyard={1}{U}{B}:moveto(exile) && token(17957311) asSorcery
|
||||
text=Unearth {1}{U}{B} ({1}{U}{B}: Return this card from your graveyard to the battlefield. It gains haste. Exile it at the beginning of the next end step or if it would leave the battlefield. Unearth only as a sorcery.)
|
||||
mana={3}{U}{B}
|
||||
type=Artifact Creature
|
||||
subtype=Horror
|
||||
power=4
|
||||
toughness=3
|
||||
[/card]
|
||||
[card]
|
||||
name=Etherium Abomination Unearthed
|
||||
type=Creature
|
||||
subtype=Horror
|
||||
abilities=haste
|
||||
auto=@next end:moveTo(exile)
|
||||
power=4
|
||||
toughness=3
|
||||
mana={3}{U}{B}
|
||||
[/card]
|
||||
[card]
|
||||
name=Etherium Astrolabe
|
||||
abilities=flash
|
||||
auto={B}{T}{S(artifact|myBattlefield)}:draw:1
|
||||
|
||||
28
projects/mtg/bin/Res/test/dregscape_zombie_unearth.txt
Normal file
28
projects/mtg/bin/Res/test/dregscape_zombie_unearth.txt
Normal file
@@ -0,0 +1,28 @@
|
||||
#Testing Creatures with Unearth (example: Dregscape Zombie)
|
||||
#This test shows that the unearth ability works and that the unearthed creature has haste.
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
graveyard:swamp,dregscape zombie
|
||||
manapool:{B}
|
||||
[PLAYER2]
|
||||
[DO]
|
||||
dregscape zombie
|
||||
next
|
||||
#begin
|
||||
next
|
||||
#attackers
|
||||
dregscape zombie unearthed
|
||||
next
|
||||
#blockers
|
||||
next
|
||||
#damage
|
||||
[ASSERT]
|
||||
COMBATDAMAGE
|
||||
[PLAYER1]
|
||||
inplay:dregscape zombie unearthed
|
||||
graveyard:swamp
|
||||
manapool:{0}
|
||||
[PLAYER2]
|
||||
life:18
|
||||
[END]
|
||||
Reference in New Issue
Block a user