Erwan
-new trigger: @tapped(... -Parser now supports X for P/T. WARNING: this does not work for activated abilities. And currently this works only for P/T but will be added progressively to other things
This commit is contained in:
@@ -103,6 +103,7 @@ fists_of_ironwood.txt
|
||||
flare.txt
|
||||
fledgling_imp.txt
|
||||
fledgling_imp2.txt
|
||||
flowstone_slide.txt
|
||||
foratog.txt
|
||||
force_of_nature.txt
|
||||
force_of_nature2.txt
|
||||
@@ -121,6 +122,7 @@ gravedigger.txt
|
||||
hannas_custody.txt
|
||||
harpoon_sniper.txt
|
||||
hellfire.txt
|
||||
howl_from_beyond.txt
|
||||
howl_of_the_night_pack.txt
|
||||
hymn_of_rebirth.txt
|
||||
icatian_priest.txt
|
||||
@@ -140,6 +142,7 @@ leveler.txt
|
||||
lhurgoyf.txt
|
||||
liability.txt
|
||||
lifeforce.txt
|
||||
lifetap.txt
|
||||
living_lands.txt
|
||||
lord_of_the_pit.txt
|
||||
lord_of_the_pit2.txt
|
||||
|
||||
21
projects/mtg/bin/Res/test/flagstones.txt
Normal file
21
projects/mtg/bin/Res/test/flagstones.txt
Normal file
@@ -0,0 +1,21 @@
|
||||
#Bug: Flagstones of trokair crash the game when going to graveyard
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
inplay:flagstones of trokair
|
||||
manapool:{2}{R}
|
||||
hand:stone rain
|
||||
library:plains
|
||||
[PLAYER2]
|
||||
[DO]
|
||||
stone rain
|
||||
flagstones of trokair
|
||||
choice 0
|
||||
plains
|
||||
[ASSERT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
inplay:plains
|
||||
graveyard:stone rain,flagstones of trokair
|
||||
[PLAYER2]
|
||||
[END]
|
||||
28
projects/mtg/bin/Res/test/flowstone_slide.txt
Normal file
28
projects/mtg/bin/Res/test/flowstone_slide.txt
Normal file
@@ -0,0 +1,28 @@
|
||||
#Test: Parse X cost
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
manapool:{1}{2}{R}{R}
|
||||
inplay:grizzly bears,dragon engine
|
||||
hand:Flowstone slide
|
||||
[PLAYER2]
|
||||
[DO]
|
||||
Flowstone slide
|
||||
next
|
||||
#begin
|
||||
next
|
||||
#attackers
|
||||
grizzly bears
|
||||
dragon engine
|
||||
next
|
||||
#blockers
|
||||
next
|
||||
#damage
|
||||
[ASSERT]
|
||||
COMBATDAMAGE
|
||||
[PLAYER1]
|
||||
inplay:grizzly bears,dragon engine
|
||||
graveyard:Flowstone slide
|
||||
[PLAYER2]
|
||||
life:15
|
||||
[END]
|
||||
28
projects/mtg/bin/Res/test/howl_from_beyond.txt
Normal file
28
projects/mtg/bin/Res/test/howl_from_beyond.txt
Normal file
@@ -0,0 +1,28 @@
|
||||
#Test: Parse X cost
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
manapool:{5}{B}
|
||||
inplay:grizzly bears
|
||||
hand:howl from beyond
|
||||
[PLAYER2]
|
||||
[DO]
|
||||
howl from beyond
|
||||
grizzly bears
|
||||
next
|
||||
#begin
|
||||
next
|
||||
#attackers
|
||||
grizzly bears
|
||||
next
|
||||
#blockers
|
||||
next
|
||||
#damage
|
||||
[ASSERT]
|
||||
COMBATDAMAGE
|
||||
[PLAYER1]
|
||||
inplay:grizzly bears
|
||||
graveyard:howl from beyond
|
||||
[PLAYER2]
|
||||
life:13
|
||||
[END]
|
||||
18
projects/mtg/bin/Res/test/lifetap.txt
Normal file
18
projects/mtg/bin/Res/test/lifetap.txt
Normal file
@@ -0,0 +1,18 @@
|
||||
#Test: @tapped trigger
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
inplay:forest
|
||||
[PLAYER2]
|
||||
inplay:lifetap
|
||||
[DO]
|
||||
forest
|
||||
[ASSERT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
manapool:{G}
|
||||
inplay:forest
|
||||
[PLAYER2]
|
||||
inplay:lifetap
|
||||
life:21
|
||||
[END]
|
||||
Reference in New Issue
Block a user