added ability to have triggered abilities target based on the event that triggered, bramblewood paragon, graft, etc.

use "trigger" inside target code of triggered ability.
does not work with @each and @next.
@damaged can use trigger[to] and trigger[from] to specify the target or source of the damage, respectively.

Adds cards:
Aether Flash
Bramblewood Paragon
In the Web of War
Juniper Order Ranger
Mortuary
Primal Forcemage
Fungus Sliver
Simic Initiate

as well as a test file for feral hydra, missing from my last commit.
and daily build.
This commit is contained in:
salmelo16
2010-04-03 23:50:39 +00:00
parent b9d82a55c7
commit 9cf4c7587b
17 changed files with 376 additions and 42 deletions
+7 -1
View File
@@ -1,7 +1,6 @@
########################
#Generic engine features
########################
zzz.txt
generic/attacks_each_turn.txt
generic/cycling.txt
generic/cycling2.txt
@@ -73,6 +72,7 @@ generic/wither.txt
act_of_treason.txt
aegis_of_the_meek.txt
aether_mutation.txt
aether_flash.txt
afflict.txt
akron_legionnaire.txt
alluring_siren.txt
@@ -140,6 +140,7 @@ boggart_arsonists.txt
borderland_behemoth.txt
bottle_gnomes.txt
bottle_gnomes2.txt
bramblewood_paragon.txt
brass_man.txt
brass_man_i161.txt
cage_of_hands.txt
@@ -216,6 +217,7 @@ farmstead.txt
fastbond.txt
fastbond2.txt
fault_line.txt
feral_hydra.txt
fire_tempest.txt
fists_of_ironwood.txt
flagstones.txt
@@ -233,6 +235,7 @@ force_of_nature.txt
force_of_nature2.txt
force_of_nature3.txt
fountain_of_youth.txt
fungus_sliver.txt
gamble.txt
gempalm_avenger.txt
ghost_warden.txt
@@ -278,6 +281,7 @@ iron_will_i270.txt
jodahs_avenger.txt
juggernaut.txt
jump.txt
juniper_order_ranger.txt
karns_touch_i233.txt
keldon_warlord.txt
keldon_warlord2.txt
@@ -313,6 +317,7 @@ millstone.txt
misc01.txt
moat.txt
mobile_fort.txt
mortuary.txt
nantuko_husk.txt
necrogenesis.txt
Nevinyrrals_Disk.txt
@@ -383,6 +388,7 @@ shock.txt
shock2.txt
siege_gang_commander.txt
silent_arbiter.txt
simic_initiate.txt
slate_of_ancestry.txt
sleeper_agent.txt
slith_bloodletter.txt
@@ -0,0 +1,16 @@
[init]
firstmain
[player1]
inplay:Aether Flash
hand:Grizzly Bears
manapool:{G}{G}
[player2]
[do]
Grizzly Bears
[assert]
firstmain
[player1]
inplay:Aether Flash
graveyard:Grizzly Bears
[player2]
[end]
@@ -0,0 +1,24 @@
[init]
firstmain
[player1]
inplay:Bramblewood Paragon
hand:Goblin Chariot
manapool:{2}{R}
[player2]
inplay:Drudge Skeletons
[do]
goblin chariot
next
next
goblin chariot
next
drudge skeletons
eot
[assert]
untap
[player1]
inplay:Bramblewood Paragon,Goblin Chariot
[player2]
life:18
graveyard:Drudge Skeletons
[end]
+24
View File
@@ -0,0 +1,24 @@
[init]
secondmain
[player1]
manapool:{5}{G}
hand:Feral Hydra
[player2]
[do]
Feral Hydra
eot
eot
next
next
next
next
next
Feral Hydra
eot
[assert]
untap
[player1]
inplay:feral hydra
[player2]
life:15
[end]
@@ -0,0 +1,24 @@
[init]
firstmain
[player1]
inplay:Fungus Sliver,Sliver Overlord,Fury Sliver
hand:Lightning Bolt,Resounding Thunder
manapool:{2}{R}{R}
[player2]
[do]
lightning bolt
sliver overlord
resounding thunder
fury sliver
next
next
sliver overlord
eot
[assert]
untap
[player1]
inplay:Fungus Sliver,Sliver Overlord
graveyard:Lightning bolt,resounding thunder,fury sliver
[player2]
life:12
[end]
@@ -0,0 +1,26 @@
[init]
firstmain
[player1]
inplay:Juniper Order Ranger
hand:eager cadet
manapool:{W}
[player2]
[do]
eager cadet
eot
eot
next
next
next
next
next
eager cadet
juniper order ranger
eot
[assert]
untap
[player1]
inplay:eager cadet,juniper order ranger
[player2]
life:15
[end]
+18
View File
@@ -0,0 +1,18 @@
[init]
firstmain
[player1]
inplay:Mortuary,Raging Goblin
hand:Lightning Bolt
manapool:{R}
[player2]
[do]
lightning bolt
raging goblin
[assert]
firstmain
[player1]
inplay:Mortuary
graveyard:Lightning Bolt
library:Raging Goblin
[player2]
[end]
@@ -0,0 +1,27 @@
[init]
firstmain
[player1]
hand:simic initiate,grizzly bears
manapool:{G}{G}{G}
[player2]
[do]
simic initiate
grizzly bears
choice 0
eot
eot
next
next
next
next
next
grizzly bears
eot
[assert]
untap
[player1]
inplay:grizzly bears
graveyard:simic initiate
[player2]
life:17
[end]