Erwan
- bug fix with lords and -color - added tests
This commit is contained in:
@@ -9,6 +9,7 @@ generic/hybrid_mana_2.txt
|
||||
generic/hybrid_mana_3.txt
|
||||
generic/legendary.txt
|
||||
generic/persist.txt
|
||||
generic/persist2.txt
|
||||
generic/wither.txt
|
||||
########################
|
||||
#Specific Cards
|
||||
@@ -22,6 +23,7 @@ ankh_of_mishra.txt
|
||||
ardakar_wastes.txt
|
||||
ascendant_evincar.txt
|
||||
ascendant_evincar2.txt
|
||||
ascendant_evincar3.txt
|
||||
bottle_gnomes.txt
|
||||
boggart_arsonists.txt
|
||||
brass_man.txt
|
||||
|
||||
22
projects/mtg/bin/Res/test/animate_dead3.txt
Normal file
22
projects/mtg/bin/Res/test/animate_dead3.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
#Testing Animate dead on a fire elemental in opponent's graveyard, then testing if removing the enchantment removes the card
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
hand:1143,1343
|
||||
manapool:{B}{R}{W}{W}
|
||||
[PLAYER2]
|
||||
graveyard:1290
|
||||
[DO]
|
||||
1143
|
||||
1290
|
||||
1343
|
||||
1143
|
||||
[ASSERT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
graveyard:1143,1343
|
||||
manapool:{0}
|
||||
life:20
|
||||
[PLAYER2]
|
||||
graveyard:1290
|
||||
[END]
|
||||
21
projects/mtg/bin/Res/test/ascendant_evincar3.txt
Normal file
21
projects/mtg/bin/Res/test/ascendant_evincar3.txt
Normal file
@@ -0,0 +1,21 @@
|
||||
#Testing That Ascendant Evincar gives +1/+1 to black creatures
|
||||
[INIT]
|
||||
COMBATATTACKERS
|
||||
[PLAYER1]
|
||||
inplay:106525,185142
|
||||
[PLAYER2]
|
||||
[DO]
|
||||
185142
|
||||
next
|
||||
#blockers
|
||||
next
|
||||
#damage
|
||||
next
|
||||
#end
|
||||
[ASSERT]
|
||||
COMBATEND
|
||||
[PLAYER1]
|
||||
inplay:106525,185142
|
||||
[PLAYER2]
|
||||
life:17
|
||||
[END]
|
||||
65
projects/mtg/bin/Res/test/generic/persist2.txt
Normal file
65
projects/mtg/bin/Res/test/generic/persist2.txt
Normal file
@@ -0,0 +1,65 @@
|
||||
#Testing Persist
|
||||
#bug : persist works strange, the creature gets -1/-1 after it is killed, then back to play
|
||||
#for the second time it be destroyed, it remain in a -1/-1 state even in the graveyard or back
|
||||
#to hand by raise dead
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
hand: 1303,129732
|
||||
manapool:{R}{R}
|
||||
[PLAYER2]
|
||||
inplay:152096,1375,1397,1396,1395,1391,1390
|
||||
hand:1174
|
||||
[DO]
|
||||
1303
|
||||
152096
|
||||
129732
|
||||
152096
|
||||
eot
|
||||
#untap 2
|
||||
next
|
||||
#upkeep 2
|
||||
next
|
||||
#draw2
|
||||
next
|
||||
#main2
|
||||
1375
|
||||
1174
|
||||
152096
|
||||
1390
|
||||
1391
|
||||
1395
|
||||
1396
|
||||
1397
|
||||
152096
|
||||
eot
|
||||
eot
|
||||
#untap 2
|
||||
next
|
||||
#upkeep 2
|
||||
next
|
||||
#draw2
|
||||
next
|
||||
#main2
|
||||
next
|
||||
#comba begins 2
|
||||
next
|
||||
#attackers
|
||||
152096
|
||||
next
|
||||
#blockers
|
||||
next
|
||||
#damages
|
||||
next
|
||||
#endofcombat
|
||||
[ASSERT]
|
||||
COMBATEND
|
||||
[PLAYER1]
|
||||
life:18
|
||||
graveyard:1303,129732
|
||||
manapool:{0}
|
||||
[PLAYER2]
|
||||
inplay:1375,1397,1396,1395,1391,1390,152096
|
||||
graveyard:1174
|
||||
life:20
|
||||
[END]
|
||||
Reference in New Issue
Block a user