added in missing tests for primeval titan and sun titan. ( these were not added on initial change )
fixed definitions for sun titan and primeval titan. ( these were clobbered with the latest changes. )
This commit is contained in:
@@ -42103,15 +42103,15 @@ toughness=6
|
||||
[/card]
|
||||
[card]
|
||||
name=Primeval Titan's Fetch
|
||||
auto=@movedto(this|mygraveyard):may moveto(mybattlefield) target(land|mylibrary)&& tap && token(-20502712)
|
||||
auto=moveto(mygraveyard) all(this)
|
||||
auto=@movedto(this|exile):may moveto(mybattlefield) target(land|mylibrary)&& tap && token(-20502712)
|
||||
auto=moveto(exile)
|
||||
id=-20502711
|
||||
type=Nothing
|
||||
[/card]
|
||||
[card]
|
||||
name=Primeval Titan's 2nd Fetch
|
||||
auto=@movedto(this|mygraveyard):may moveto(mybattlefield) target(land|mylibrary) && tap
|
||||
auto=moveto(mygraveyard) all(this)
|
||||
auto=@movedto(this|exile):may moveto(mybattlefield) target(land|mylibrary) && tap
|
||||
auto=moveto(exile)
|
||||
id=-20502712
|
||||
type=Nothing
|
||||
[/card]
|
||||
@@ -54858,8 +54858,8 @@ toughness=4
|
||||
[card]
|
||||
name=Sun Titan
|
||||
abilities=vigilance
|
||||
auto=may moveTo(myBattlefield) target(*[manacost<=3]|mygraveyard)
|
||||
auto=@attacking(this):may moveTo(myBattlefield) target(*[manacost<=3]|mygraveyard)
|
||||
auto=may moveTo(myBattlefield) target(*[manacost<=3;-sorcery;-instant]|mygraveyard)
|
||||
auto=@attacking(this):may moveTo(myBattlefield) target(*[manacost<=3;-sorcery;-instant]|mygraveyard)
|
||||
text=Vigilance -- Whenever Sun Titan enters the battlefield or attacks, you may return target permanent card with converted mana cost 3 or less from your graveyard to the battlefield.
|
||||
mana={4}{W}{W}
|
||||
type=Creature
|
||||
|
||||
23
projects/mtg/bin/Res/test/primeval_titan_1.txt
Normal file
23
projects/mtg/bin/Res/test/primeval_titan_1.txt
Normal file
@@ -0,0 +1,23 @@
|
||||
## Test Primeval Titan's "Entering the battlefield" ability
|
||||
## Should result in bringing in two lands from player's library tapped onto the battlefield
|
||||
[init]
|
||||
firstmain
|
||||
[player1]
|
||||
library:forest,plains,swamp
|
||||
hand:primeval titan
|
||||
manapool:{G}{G}{4}
|
||||
[player2]
|
||||
[do]
|
||||
primeval titan
|
||||
choice 0
|
||||
choice 0
|
||||
swamp
|
||||
choice 0
|
||||
plains
|
||||
[assert]
|
||||
firstmain
|
||||
[player1]
|
||||
inplay:primeval titan,swamp,plains
|
||||
library:forest
|
||||
[player2]
|
||||
[end]
|
||||
26
projects/mtg/bin/Res/test/primeval_titan_2.txt
Normal file
26
projects/mtg/bin/Res/test/primeval_titan_2.txt
Normal file
@@ -0,0 +1,26 @@
|
||||
## Test Primeval Titan's "On attacking" ability
|
||||
## Should result in bringing in two lands into play tapped
|
||||
[init]
|
||||
combatbegin
|
||||
[player1]
|
||||
library:forest,plains,swamp
|
||||
inplay:primeval titan
|
||||
manapool:{G}{G}{4}
|
||||
[player2]
|
||||
[do]
|
||||
next
|
||||
primeval titan
|
||||
choice 0
|
||||
next
|
||||
choice 0
|
||||
swamp
|
||||
choice 0
|
||||
plains
|
||||
eot
|
||||
[assert]
|
||||
untap
|
||||
[player1]
|
||||
inplay:primeval titan,swamp,plains
|
||||
library:forest
|
||||
[player2]
|
||||
[end]
|
||||
19
projects/mtg/bin/Res/test/sun_titan_1.txt
Normal file
19
projects/mtg/bin/Res/test/sun_titan_1.txt
Normal file
@@ -0,0 +1,19 @@
|
||||
## Test Sun Titan's "Entering the battlefield" ability
|
||||
## Should result in bringing in a permanent with <= 3 CMC onto the battlefield
|
||||
[init]
|
||||
firstmain
|
||||
[player1]
|
||||
graveyard:trinket mage
|
||||
hand:sun titan
|
||||
manapool:{W}{W}{4}
|
||||
[player2]
|
||||
[do]
|
||||
sun titan
|
||||
choice 0
|
||||
trinket mage
|
||||
[assert]
|
||||
firstmain
|
||||
[player1]
|
||||
inplay:sun titan,trinket mage
|
||||
[player2]
|
||||
[end]
|
||||
24
projects/mtg/bin/Res/test/sun_titan_2.txt
Normal file
24
projects/mtg/bin/Res/test/sun_titan_2.txt
Normal file
@@ -0,0 +1,24 @@
|
||||
## Test Sun Titan's "On attacking" ability
|
||||
## Should result in bringing in a permanent with <= 3 CMC onto the battlefield
|
||||
[init]
|
||||
firstmain
|
||||
[player1]
|
||||
graveyard:forest,trinket mage
|
||||
inplay:sun titan
|
||||
manapool:{W}{W}{4}
|
||||
[player2]
|
||||
[do]
|
||||
next
|
||||
next
|
||||
sun titan
|
||||
next
|
||||
choice 0
|
||||
trinket mage
|
||||
eot
|
||||
[assert]
|
||||
untap
|
||||
[player1]
|
||||
inplay:sun titan,trinket mage
|
||||
graveyard:forest
|
||||
[player2]
|
||||
[end]
|
||||
Reference in New Issue
Block a user