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
+77 -1
View File
@@ -30,6 +30,13 @@ power=1
toughness=1
[/card]
[card]
name=AEther Flash
auto=@movedto(creature|battlefield):all(trigger) damage:2
text=Whenever a creature enters the battlefield, Æther Flash deals 2 damage to it.
mana={2}{R}{R}
type=Enchantment
[/card]
[card]
name=AEther Mutation
target=creature
auto=moveTo(ownerhand)
@@ -5017,6 +5024,17 @@ power=0
toughness=3
[/card]
[card]
name=Bramblewood Paragon
auto=@movedto(other warrior|myBattlefield):all(trigger) counter(1/1,1)
auto=lord(creature[counter{1/1.1}]|myBattlefield) trample
text=Each other Warrior creature you control enters the battlefield with an additional +1/+1 counter on it. -- Each creature you control with a +1/+1 counter on it has trample.
mana={1}{G}
type=Creature
subtype=Elf Warrior
power=2
toughness=2
[/card]
[card]
name=Branded Brawlers
auto=aslongas(land[-tapped]|opponentBattlefield) cantattack
auto=aslongas(land[-tapped]|myBattlefield) cantblock
@@ -14821,6 +14839,16 @@ type=Enchantment
auto={G}{G}:counter(0/0,1,Spore) target(fungus)
[/card]
[card]
name=Fungus Sliver
auto=@damaged(sliver):all(trigger[to]) counter(1/1)
text=All Sliver creatures have "Whenever this creature is dealt damage, put a +1/+1 counter on it." (The damage is dealt before the counter is put on.)
mana={3}{G}
type=Creature
subtype=Fungus Sliver
power=2
toughness=2
[/card]
[card]
name=Fungusaur
auto=@damaged(this):counter(1/1,1)
text=Whenever Fungusaur is dealt damage, put a +1/+1 counter on it.
@@ -19324,6 +19352,14 @@ type=Enchantment
subtype=Aura
[/card]
[card]
name=In the Web of War
auto=@movedto(creature|myBattlefield):all(trigger) 2/0 ueot
auto=@movedto(creature|myBattlefield):all(trigger) haste ueot
text=Whenever a creature enters the battlefield under your control, it gets +2/+0 and gains haste until end of turn.
mana={3}{R}{R}
type=Enchantment
[/card]
[card]
name=Incendiary
target=creature
auto=@each my upkeep:counter(0/0,1,Fuse)
@@ -20562,6 +20598,17 @@ power=1
toughness=1
[/card]
[card]
name=Juniper Order Ranger
auto=@movedto(other creature|myBattlefield):counter(1/1,1)
auto=@movedto(other creature|myBattlefield):all(trigger) counter(1/1)
text=Whenever another creature enters the battlefield under your control, put a +1/+1 counter on that creature and a +1/+1 counter on Juniper Order Ranger.
mana={3}{G}{W}
type=Creature
subtype=Human Knight
power=2
toughness=4
[/card]
[card]
name=Junk Diver
abilities=flying
auto=@movedTo(this|graveyard) from(battlefield):moveTo(myhand) target(other artifact|mygraveyard)
@@ -25793,6 +25840,13 @@ power=*
toughness=*
[/card]
[card]
name=Mortuary
auto=@movedTo(creature|mygraveyard) from(myBattlefield):all(trigger) moveTo(myLibrary)
text=Whenever a creature is put into your graveyard from the battlefield, put that card on top of your library.
mana={2}{B}
type=Enchantment
[/card]
[card]
name=Mosquito Guard
abilities=first strike
autohand={1}{W}{S}:counter(1/1,1) target(creature)
@@ -29700,6 +29754,16 @@ mana={2}{G}
type=Instant
[/card]
[card]
name=Primal Forcemage
auto=@movedto(creature|myBattlefield):all(trigger) 3/3 ueot
text=Whenever another creature enters the battlefield under your control, that creature gets +3/+3 until end of turn.
mana={2}{G}
type=Creature
subtype=Elf Shaman
power=2
toughness=2
[/card]
[card]
name=Primal Frenzy
target=Creature
auto=trample
@@ -35556,6 +35620,17 @@ text=Simic Growth Chamber enters the battlefield tapped. -- When Simic Growth Ch
type=Land
[/card]
[card]
name=Simic Initiate
text=Graft 1 (This creature enters the battlefield with a +1/+1 counter on it. Whenever another creature enters the battlefield, you may move a +1/+1 counter from this creature onto it.)
auto=counter(1/1)
auto=@movedto(creature|battlefield):this(counter{1/1}) all(trigger) counter(1/1) && this(counter{1/1}) counter(1/1,-1)
mana={G}
type=Creature
subtype=Human Mutant
power=0
toughness=0
[/card]
[card]
name=Simic Ragworm
auto={U}:untap
text={U}: Untap Simic Ragworm.
@@ -47259,4 +47334,5 @@ type=Creature
subtype=Human Wizard
power=1
toughness=1
[/card]
[/card]
###########
+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]
Binary file not shown.