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:
@@ -855,6 +855,7 @@ name=Flowstone Slide
|
||||
rarity=R
|
||||
type=Sorcery
|
||||
mana={X}{2}{R}{R}
|
||||
auto=lord(creature) x/-x
|
||||
[/card]
|
||||
[card]
|
||||
text={T}: Add {G} to your mana pool.
|
||||
|
||||
@@ -549,11 +549,11 @@ toughness=2
|
||||
text=Target creature gets +X/+0 until end of turn.
|
||||
id=2456
|
||||
target=creature
|
||||
alias=1164
|
||||
name=Howl from Beyond
|
||||
rarity=C
|
||||
type=Instant
|
||||
mana={X}{B}
|
||||
auto=X/0
|
||||
[/card]
|
||||
[card]
|
||||
text=Hurricane deals X damage to each creature with flying and each player.
|
||||
@@ -1465,6 +1465,7 @@ toughness=1
|
||||
[/card]
|
||||
[card]
|
||||
text=Whenever an Island an opponent controls becomes tapped, you may gain 1 life.
|
||||
auto=@tapped(island|opponentBattlefield):life:1 controller
|
||||
id=2593
|
||||
name=Thoughtleech
|
||||
rarity=U
|
||||
|
||||
@@ -791,6 +791,7 @@ abilities=legendary
|
||||
[/card]
|
||||
[card]
|
||||
text=Whenever a Mountain an opponent controls becomes tapped, you gain 1 life.
|
||||
auto=@tapped(mountain|opponentBattlefield):life:1 controller
|
||||
id=1625
|
||||
name=Lifeblood
|
||||
rarity=R
|
||||
|
||||
@@ -1015,6 +1015,7 @@ name=Howl from Beyond
|
||||
rarity=C
|
||||
type=Instant
|
||||
mana={X}{B}
|
||||
auto=X/0
|
||||
[/card]
|
||||
[card]
|
||||
text=At the beginning of each player's draw step, if Howling Mine is untapped, that player draws a card.
|
||||
@@ -1288,6 +1289,7 @@ mana={G}
|
||||
[/card]
|
||||
[card]
|
||||
text=Whenever a Forest an opponent controls becomes tapped, you gain 1 life.
|
||||
auto=@tapped(forest|opponentBattlefield):life:1 controller
|
||||
id=1205
|
||||
name=Lifetap
|
||||
rarity=U
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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]
|
||||
@@ -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]
|
||||
@@ -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]
|
||||
@@ -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