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.
28 lines
484 B
Plaintext
28 lines
484 B
Plaintext
#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] |