Files
wagic/projects/mtg/bin/Res/test/gelatinous_genesis.txt
solo81@web.de 2b81ba33f2 Added 33 successfully tested cards mainly based on rev2272.
2 example cards:

[card]
name=Decree of Justice
auto=token(Angel,Creature Angel,4/4,flying,white)*XX
autohand={2}{W}:cycling
autohand={X}{W}:name(cycle and soldier tokens) && cycling && thisforeach(X) token(Soldier,Creature Soldier,1/1,white)*X
text=Put X 4/4 white Angel creature tokens with flying onto the battlefield. -- Cycling {2}{W} ({2}{W}, Discard this card: Draw a card.) -- When you cycle Decree of Justice, you may pay {X}. If you do, put X 1/1 white Soldier creature tokens onto the battlefield.
mana={X}{X}{2}{W}{W}
type=Sorcery
[/card]

[card]
name=Stormbind
auto={2}{D}:damage:2 target(creature,player)
text={2}, Discard a card at random: Stormbind deals 2 damage to target creature or player.
mana={1}{R}{G}
type=Enchantment
[/card]


Added 2 tests for the keywords introduced in rev2272.


Corrected several card bugs.
2010-09-12 17:45:59 +00:00

22 lines
401 B
Plaintext

Testing Gelatinous Genesis (--> {X}{X} in combination with X/X as cost)
[INIT]
FIRSTMAIN
[PLAYER1]
hand:Gelatinous Genesis,Pyroclasm
inplay:Mox Ruby,Mox Emerald
manapool:{6}{G}
[PLAYER2]
[DO]
Gelatinous Genesis
Mox Ruby
Mox Emerald
Pyroclasm
[ASSERT]
FIRSTMAIN
[PLAYER1]
manapool:{0}
inplay:*,*,*,Mox Ruby,Mox Emerald
graveyard:Gelatinous Genesis,Pyroclasm
[PLAYER2]
life:20
[END]