Added 37 cards based on rev2444 and rev2479. (Card list -> First comment)
Fixed Sun Titan and some other reported card bugs.
This commit is contained in:
26
projects/mtg/bin/Res/test/generic/trigger_attacking.txt
Normal file
26
projects/mtg/bin/Res/test/generic/trigger_attacking.txt
Normal file
@@ -0,0 +1,26 @@
|
||||
#Testing "@attacking" trigger with Bramble Creeper.
|
||||
#"Whenever Bramble Creeper attacks, it gets +5/+0 until end of turn."
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
inplay:Bramble Creeper
|
||||
[PLAYER2]
|
||||
[DO]
|
||||
next
|
||||
#begin
|
||||
next
|
||||
#attackers
|
||||
Bramble Creeper
|
||||
next
|
||||
#blockers
|
||||
next
|
||||
#damage
|
||||
next
|
||||
#end combat
|
||||
[ASSERT]
|
||||
COMBATEND
|
||||
[PLAYER1]
|
||||
inplay:Bramble Creeper
|
||||
[PLAYER2]
|
||||
life:15
|
||||
[END]
|
||||
28
projects/mtg/bin/Res/test/generic/trigger_blocked.txt
Normal file
28
projects/mtg/bin/Res/test/generic/trigger_blocked.txt
Normal file
@@ -0,0 +1,28 @@
|
||||
#Testing "@blocking" trigger with Brushwagg.
|
||||
#"Whenever Brushwagg blocks or becomes blocked, it gets -2/+2 until end of turn."
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
inplay:Hill Giant
|
||||
[PLAYER2]
|
||||
inplay:Brushwagg
|
||||
[DO]
|
||||
next
|
||||
#begin
|
||||
next
|
||||
#attackers
|
||||
Hill Giant
|
||||
next
|
||||
Brushwagg
|
||||
#blockers
|
||||
next
|
||||
#damage
|
||||
next
|
||||
#end combat
|
||||
[ASSERT]
|
||||
COMBATEND
|
||||
[PLAYER1]
|
||||
graveyard:Hill Giant
|
||||
[PLAYER2]
|
||||
inplay:Brushwagg
|
||||
[END]
|
||||
28
projects/mtg/bin/Res/test/generic/trigger_blocking.txt
Normal file
28
projects/mtg/bin/Res/test/generic/trigger_blocking.txt
Normal file
@@ -0,0 +1,28 @@
|
||||
#Testing "@blocking" trigger with Brushwagg.
|
||||
#"Whenever Brushwagg blocks or becomes blocked, it gets -2/+2 until end of turn."
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
inplay:Brushwagg
|
||||
[PLAYER2]
|
||||
inplay:Hill Giant
|
||||
[DO]
|
||||
next
|
||||
#begin
|
||||
next
|
||||
#attackers
|
||||
Brushwagg
|
||||
next
|
||||
Hill Giant
|
||||
#blockers
|
||||
next
|
||||
#damage
|
||||
next
|
||||
#end combat
|
||||
[ASSERT]
|
||||
COMBATEND
|
||||
[PLAYER1]
|
||||
inplay:Brushwagg
|
||||
[PLAYER2]
|
||||
graveyard:Hill Giant
|
||||
[END]
|
||||
@@ -0,0 +1,30 @@
|
||||
#Testing "@combatdamage" trigger with Coastal Piracy.
|
||||
#"Whenever a creature you control deals combat damage to an opponent, you may draw a card."
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
library:counterspell
|
||||
hand:lightning bolt
|
||||
inplay:coastal piracy,grizzly bears
|
||||
[PLAYER2]
|
||||
[DO]
|
||||
next
|
||||
#begin
|
||||
next
|
||||
#attackers
|
||||
grizzly bears
|
||||
next
|
||||
#blockers
|
||||
next
|
||||
#damage
|
||||
choice 0
|
||||
next
|
||||
#end combat
|
||||
[ASSERT]
|
||||
COMBATEND
|
||||
[PLAYER1]
|
||||
hand:lightning bolt,counterspell
|
||||
inplay:coastal piracy,grizzly bears
|
||||
[PLAYER2]
|
||||
life:18
|
||||
[END]
|
||||
@@ -0,0 +1,31 @@
|
||||
#Testing "@combatdamage" trigger.
|
||||
#Prodigal Sorcerer's damage should not let Coastal Piracy trigger, even if activated during combat.
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
library:counterspell
|
||||
hand:lightning bolt
|
||||
inplay:coastal piracy,prodigal sorcerer
|
||||
[PLAYER2]
|
||||
[DO]
|
||||
next
|
||||
#begin
|
||||
next
|
||||
#attackers
|
||||
next
|
||||
#blockers
|
||||
prodigal sorcerer
|
||||
p2
|
||||
next
|
||||
#damage
|
||||
next
|
||||
#end combat
|
||||
[ASSERT]
|
||||
ENDOFTURN
|
||||
[PLAYER1]
|
||||
library:counterspell
|
||||
hand:lightning bolt
|
||||
inplay:coastal piracy,prodigal sorcerer
|
||||
[PLAYER2]
|
||||
life:19
|
||||
[END]
|
||||
24
projects/mtg/bin/Res/test/generic/trigger_drawn.txt
Normal file
24
projects/mtg/bin/Res/test/generic/trigger_drawn.txt
Normal file
@@ -0,0 +1,24 @@
|
||||
#Testing "@drawn" trigger with Underworld Dreams.
|
||||
#"Whenever an opponent draws a card, Underworld Dreams deals 1 damage to him or her."
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
hand:oona's grace
|
||||
inplay:underworld dreams
|
||||
manapool:{2}{U}
|
||||
[PLAYER2]
|
||||
library:counterspell
|
||||
life:20
|
||||
[DO]
|
||||
oona's grace
|
||||
p2
|
||||
[ASSERT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
inplay:underworld dreams
|
||||
graveyard:oona's grace
|
||||
manapool:{0}
|
||||
[PLAYER2]
|
||||
hand:counterspell
|
||||
life:19
|
||||
[END]
|
||||
@@ -0,0 +1,32 @@
|
||||
#Testing "@noncombatdamaged" trigger.
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
hand:lightning bolt
|
||||
inplay:chandra's spitfire
|
||||
manapool:{R}
|
||||
[PLAYER2]
|
||||
life:20
|
||||
[DO]
|
||||
lightning bolt
|
||||
p2
|
||||
next
|
||||
#begin
|
||||
next
|
||||
#attackers
|
||||
chandra's spitfire
|
||||
next
|
||||
#blockers
|
||||
next
|
||||
#damage
|
||||
next
|
||||
#end combat
|
||||
next
|
||||
[ASSERT]
|
||||
SECONDMAIN
|
||||
[PLAYER1]
|
||||
inplay:chandra's spitfire
|
||||
graveyard:lightning bolt
|
||||
[PLAYER2]
|
||||
life:13
|
||||
[END]
|
||||
33
projects/mtg/bin/Res/test/generic/trigger_untapped.txt
Normal file
33
projects/mtg/bin/Res/test/generic/trigger_untapped.txt
Normal file
@@ -0,0 +1,33 @@
|
||||
#Testing "@untapped" trigger.
|
||||
#"Whenever a permanent you control becomes untapped, Wake Thrasher gets +1/+1 until end of turn."
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
hand:thundermare,vitalize
|
||||
inplay:wake thrasher,grizzly bears,elvish berserker
|
||||
manapool:{5}{R}{G}
|
||||
[PLAYER2]
|
||||
life:20
|
||||
[DO]
|
||||
thundermare
|
||||
vitalize
|
||||
next
|
||||
#begin
|
||||
next
|
||||
#attackers
|
||||
wake thrasher
|
||||
next
|
||||
#blockers
|
||||
next
|
||||
#damage
|
||||
next
|
||||
#end combat
|
||||
next
|
||||
[ASSERT]
|
||||
SECONDMAIN
|
||||
[PLAYER1]
|
||||
inplay:wake thrasher,grizzly bears,elvish berserker,thundermare
|
||||
graveyard:vitalize
|
||||
[PLAYER2]
|
||||
life:16
|
||||
[END]
|
||||
Reference in New Issue
Block a user