- Added 181 new cards.
The BIG CARD SAFARI 2011 is over: After 4 months of intensive testing, i can proudly present you this huge card package. All these cards are working 100%. Card list --> First comment. - Added 20 tests to save the cards whose code is not covered by already existing tests. - Added Magic2012 (M12) with 75 completely new cards.
This commit is contained in:
1235
projects/mtg/bin/Res/sets/M12/_cards.dat
Normal file
1235
projects/mtg/bin/Res/sets/M12/_cards.dat
Normal file
File diff suppressed because it is too large
Load Diff
@@ -12,6 +12,28 @@ power=4
|
||||
toughness=4
|
||||
[/card]
|
||||
[card]
|
||||
name=Aven Warhawk
|
||||
abilities=flying
|
||||
auto=foreach(bird|myhand) counter(1/1,1)
|
||||
auto=foreach(soldier|myhand) counter(1/1,1)
|
||||
text=Amplify 1 (As this creature enters the battlefield, put a +1/+1 counter on it for each Bird and/or Soldier card you reveal in your hand.) -- Flying
|
||||
mana={4}{W}
|
||||
type=Creature
|
||||
subtype=Bird Soldier
|
||||
power=2
|
||||
toughness=2
|
||||
[/card]
|
||||
[card]
|
||||
name=Cinder Seer
|
||||
auto={2}{R}{T}:foreach(*[red]|myhand) damage:1 target(creature)
|
||||
text={2}{R}, {T}: Reveal any number of red cards in your hand. Cinder Seer deals X damage to target creature or player, where X is the number of cards revealed this way.
|
||||
mana={3}{R}
|
||||
type=Creature
|
||||
subtype=Human Wizard
|
||||
power=1
|
||||
toughness=1
|
||||
[/card]
|
||||
[card]
|
||||
name=Drain Life
|
||||
#can use non black mana
|
||||
target=creature,player
|
||||
@@ -31,4 +53,117 @@ text=Feral Hydra enters the battlefield with X +1/+1 counters on it. -- {3}: Put
|
||||
auto=counter(1/1,X)
|
||||
auto={3}:counter(1/1)
|
||||
#Not all player can use ability
|
||||
[/card]
|
||||
[card]
|
||||
name=Ghastly Remains
|
||||
auto=foreach(zombie|myhand) counter(1/1,1)
|
||||
autograveyard={B}{B}{B}:moveTo(myhand) myUpkeepOnly
|
||||
text=Amplify 1 (As this creature enters the battlefield, put a +1/+1 counter on it for each Zombie card you reveal in your hand.) -- At the beginning of your upkeep, if Ghastly Remains is in your graveyard, you may pay {B}{B}{B}. If you do, return Ghastly Remains to your hand.
|
||||
mana={B}{B}{B}
|
||||
type=Creature
|
||||
subtype=Zombie
|
||||
power=0
|
||||
toughness=0
|
||||
[/card]
|
||||
[card]
|
||||
name=Glowering Rogon
|
||||
auto=foreach(beast|myhand) counter(1/1,1)
|
||||
text=Amplify 1 (As this creature enters the battlefield, put a +1/+1 counter on it for each Beast card you reveal in your hand.)
|
||||
mana={5}{G}
|
||||
type=Creature
|
||||
subtype=Beast
|
||||
power=4
|
||||
toughness=4
|
||||
[/card]
|
||||
[card]
|
||||
name=Ivy Seer
|
||||
auto={2}{G}{T}:foreach(*[green]|myhand) 1/1 target(creature)
|
||||
text={2}{G}, {T}: Reveal any number of green cards in your hand. Target creature gets +X/+X until end of turn, where X is the number of cards revealed this way.
|
||||
mana={3}{G}
|
||||
type=Creature
|
||||
subtype=Elf Wizard
|
||||
power=1
|
||||
toughness=1
|
||||
[/card]
|
||||
[card]
|
||||
name=Jasmine Seer
|
||||
auto={2}{W}{T}:foreach(*[white]|myhand) life:2
|
||||
text={2}{W}, {T}: Reveal any number of white cards in your hand. You gain 2 life for each card revealed this way.
|
||||
mana={3}{W}
|
||||
type=Creature
|
||||
subtype=Human Wizard
|
||||
power=1
|
||||
toughness=1
|
||||
[/card]
|
||||
[card]
|
||||
name=Metalworker
|
||||
auto={T}:foreach(artifact|myhand) Add{2} controller
|
||||
text={T}: Reveal any number of artifact cards in your hand. Add {2} to your mana pool for each card revealed this way.
|
||||
mana={3}
|
||||
type=Artifact Creature
|
||||
subtype=Construct
|
||||
power=1
|
||||
toughness=2
|
||||
[/card]
|
||||
[card]
|
||||
name=Nightshade Seer
|
||||
auto={2}{B}{T}:foreach(*[black]|myhand) -1/-1 target(creature)
|
||||
text={2}{B}, {T}: Reveal any number of black cards in your hand. Target creature gets -X/-X until end of turn, where X is the number of cards revealed this way.
|
||||
mana={3}{B}
|
||||
type=Creature
|
||||
subtype=Human Wizard
|
||||
power=1
|
||||
toughness=1
|
||||
[/card]
|
||||
[card]
|
||||
name=Sacellum Godspeaker
|
||||
auto={T}:foreach(creaure[power>=5]|myhand) add{G}
|
||||
text={T}: Reveal any number of creature cards with power 5 or greater from your hand. Add {G} to your mana pool for each card revealed this way.
|
||||
mana={2}{G}
|
||||
type=Creature
|
||||
subtype=Elf Druid
|
||||
power=2
|
||||
toughness=2
|
||||
[/card]
|
||||
[card]
|
||||
name=Scent of Cinder
|
||||
target=creature
|
||||
auto=foreach(*[red]|myhand) damage:1
|
||||
text=Reveal any number of red cards in your hand. Scent of Cinder deals X damage to target creature or player, where X is the number of cards revealed this way.
|
||||
mana={1}{R}
|
||||
type=Sorcery
|
||||
[/card]
|
||||
[card]
|
||||
name=Scent of Ivy
|
||||
target=creature
|
||||
auto=foreach(*[green]|myhand) 1/1
|
||||
text=Reveal any number of green cards in your hand. Target creature gets +X/+X until end of turn, where X is the number of cards revealed this way.
|
||||
mana={G}
|
||||
type=Instant
|
||||
[/card]
|
||||
[card]
|
||||
name=Scent of Jasmine
|
||||
auto=foreach(*[white]|myhand) life:2
|
||||
text=Reveal any number of white cards in your hand. You gain 2 life for each card revealed this way.
|
||||
mana={W}
|
||||
type=Instant
|
||||
[/card]
|
||||
[card]
|
||||
name=Scent of Nightshade
|
||||
target=creature
|
||||
auto=foreach(*[black]|myhand) -1/-1 target(creature)
|
||||
text=Reveal any number of black cards in your hand. Target creature gets -X/-X until end of turn, where X is the number of cards revealed this way.
|
||||
mana={1}{B}
|
||||
type=Instant
|
||||
[/card]
|
||||
[card]
|
||||
name=Zombie Brute
|
||||
abilities=trample
|
||||
auto=foreach(zombie|myhand) counter(1/1,1)
|
||||
text=Amplify 1 (As this creature enters the battlefield, put a +1/+1 counter on it for each Zombie card you reveal in your hand.) -- Trample
|
||||
mana={6}{B}
|
||||
type=Creature
|
||||
subtype=Zombie
|
||||
power=5
|
||||
toughness=4
|
||||
[/card]
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -89,6 +89,8 @@ generic/wither.txt
|
||||
#Specific Cards
|
||||
########################
|
||||
abyssal_hunter_POWERSTRIKE.txt
|
||||
academy_rector.txt
|
||||
accelerated_mutation.txt
|
||||
act_of_treason.txt
|
||||
aegis_of_the_meek.txt
|
||||
aether_mutation.txt
|
||||
@@ -103,6 +105,7 @@ alluring_siren.txt
|
||||
Amugaba.txt
|
||||
anarchy.txt
|
||||
ancestors_chosen.txt
|
||||
ancient_ooze.txt
|
||||
angelic_chorus_TOUGHNESSLIFEGAIN.txt
|
||||
angry_mob1.txt
|
||||
angry_mob2.txt
|
||||
@@ -111,6 +114,7 @@ angry_mob4.txt
|
||||
angry_mob4b.txt
|
||||
angry_mob5.txt
|
||||
angry_mob7.txt
|
||||
animal_boneyard.txt
|
||||
animate_artifact.txt
|
||||
animate_artifact2.txt
|
||||
animate_dead.txt
|
||||
@@ -137,6 +141,8 @@ auriok_bladewarden_POWERPUMPBOTH.txt
|
||||
Auriok_Sunchaser_ASLONGAS_1.txt
|
||||
Auriok_Sunchaser_ASLONGAS_2.txt
|
||||
avarice_totem.txt
|
||||
avatar_of_woe1.txt
|
||||
avatar_of_woe2.txt
|
||||
aven_riftwatcher.txt
|
||||
aven_riftwatcher2.txt
|
||||
aysen_bureaucrats.txt
|
||||
@@ -155,6 +161,8 @@ behemoth_sledge4.txt
|
||||
behemoth_sledge5.txt
|
||||
belligerent_hatchling.txt
|
||||
benalish_knight.txt
|
||||
berserk1.txt
|
||||
berserk2.txt
|
||||
biorhythm.txt
|
||||
black_market.txt
|
||||
black_vise.txt
|
||||
@@ -177,6 +185,7 @@ bramblewood_paragon.txt
|
||||
brass_man.txt
|
||||
brass_man_i161.txt
|
||||
briarhorn.txt
|
||||
bringer_of_the_red_dawn.txt
|
||||
cage_of_hands.txt
|
||||
Call_to_Heel_1.txt
|
||||
Call_to_Heel_2.txt
|
||||
@@ -225,6 +234,8 @@ cursed_land4_i188.txt
|
||||
dark_banishing.txt
|
||||
dauntless_escort.txt
|
||||
dauthi_embrace.txt
|
||||
dawn_of_the_dead.txt
|
||||
deadshot.txt
|
||||
death_grasp.txt
|
||||
death_ward.txt
|
||||
decree_of_justice.txt
|
||||
@@ -259,6 +270,7 @@ emblem_of_the_warmind.txt
|
||||
Emperor Crocodile aslongas while tag.txt
|
||||
Emperor Crocodile aslongas while tag 2.txt
|
||||
enchanted evening.txt
|
||||
endrek_sahr.txt
|
||||
enervate.txt
|
||||
enchantress_s_presence.txt
|
||||
Eradicate.txt
|
||||
@@ -329,8 +341,10 @@ gravity_well2.txt
|
||||
great_defender.txt
|
||||
hannas_custody.txt
|
||||
harpoon_sniper.txt
|
||||
haunting_echoes.txt
|
||||
hellfire.txt
|
||||
helm_of_kaldra1.txt
|
||||
high_tide.txt
|
||||
holy_day_i226.txt
|
||||
hope_charm_i267.txt
|
||||
hopping_automaton_i232.txt
|
||||
@@ -339,6 +353,7 @@ howl_from_beyond.txt
|
||||
howl_of_the_night_pack.txt
|
||||
howling_mine_i614.txt
|
||||
hunted_dragon.txt
|
||||
hunting_grounds.txt
|
||||
hunting_pack.txt
|
||||
hurricane.txt
|
||||
hyalopterous_lemure.txt
|
||||
@@ -347,6 +362,7 @@ hypnotic_specter.txt
|
||||
icatian_priest.txt
|
||||
imaginary_pet.txt
|
||||
immaculate_magistrate.txt
|
||||
impending_disaster.txt
|
||||
incinerate.txt
|
||||
instill_energy_i166.txt
|
||||
invigorate.txt
|
||||
@@ -406,6 +422,7 @@ mephidross_vampire.txt
|
||||
millstone.txt
|
||||
Mimics#1.txt
|
||||
Mimics#2.txt
|
||||
miraculous_recovery.txt
|
||||
mirri_the_cursed.txt
|
||||
mirri_the_cursed2_i284.txt
|
||||
misc01.txt
|
||||
@@ -450,6 +467,7 @@ pillory_of_the_sleepless4_i188.txt
|
||||
plague_rats.txt
|
||||
plumes_of_peace_i260.txt
|
||||
pouncing_jaguar_i425.txt
|
||||
power_armor.txt
|
||||
promise_of_bunrei_i305.txt
|
||||
prosperity.txt
|
||||
protomatter_powder.txt
|
||||
@@ -459,6 +477,7 @@ prowess_of_the_fair3.txt
|
||||
pygmy_troll.txt
|
||||
pyknite_i426.txt
|
||||
pyroclasm.txt
|
||||
quick_sliver_FORCEDALIVE.txt
|
||||
quilled_sliver.txt
|
||||
rain_of_filth_i206.txt
|
||||
rain_of_filth_i283.txt
|
||||
@@ -483,6 +502,7 @@ resounding_roar.txt
|
||||
resurrection.txt
|
||||
resuscitate_i210.txt
|
||||
righteous_cause.txt
|
||||
rise_from_the_grave.txt
|
||||
river_kelpie2_i335.txt
|
||||
rockslide_elemental.txt
|
||||
rootwalla.txt
|
||||
@@ -527,10 +547,12 @@ slate_of_ancestry.txt
|
||||
sleeper_agent.txt
|
||||
slith_bloodletter.txt
|
||||
sneak_attack.txt
|
||||
solfatara.txt
|
||||
soulblast.txt
|
||||
souls_attendant_i489.txt
|
||||
soul's_grace_POWERLIFEGAIN.txt
|
||||
spark_elemental.txt
|
||||
spectral_shield_CANTBETARGETOF.txt
|
||||
sphinx_summoner.txt
|
||||
spirit_link.txt
|
||||
spirit_link_i173.txt
|
||||
@@ -558,6 +580,7 @@ telekinetic_sliver.txt
|
||||
terror.txt
|
||||
terror2.txt
|
||||
thallid.txt
|
||||
the_tabernacle_at_pendrell_vale.txt
|
||||
thellon_of_havenwood.txt
|
||||
threaten.txt
|
||||
throne_of_bone.txt
|
||||
|
||||
21
projects/mtg/bin/Res/test/academy_rector.txt
Normal file
21
projects/mtg/bin/Res/test/academy_rector.txt
Normal file
@@ -0,0 +1,21 @@
|
||||
[INIT]
|
||||
firstmain
|
||||
[PLAYER1]
|
||||
hand:Shock
|
||||
inplay:Academy Rector
|
||||
library:Gaea's Anthem
|
||||
manapool:{R}
|
||||
[PLAYER2]
|
||||
[DO]
|
||||
Shock
|
||||
Academy Rector
|
||||
choice 0
|
||||
Gaea'S Anthem
|
||||
[ASSERT]
|
||||
firstmain
|
||||
[PLAYER1]
|
||||
inplay:Gaea's Anthem
|
||||
graveyard:Shock
|
||||
exile:Academy Rector
|
||||
[PLAYER2]
|
||||
[END]
|
||||
29
projects/mtg/bin/Res/test/accelerated_mutation.txt
Normal file
29
projects/mtg/bin/Res/test/accelerated_mutation.txt
Normal file
@@ -0,0 +1,29 @@
|
||||
#Testing Accelerated Mutation. Target is a Grizzly Bears.
|
||||
#It should get +4/+4 because of Giant Mantis on your battlefield.
|
||||
[INIT]
|
||||
COMBATATTACKERS
|
||||
[PLAYER1]
|
||||
hand:Accelerated Mutation
|
||||
inplay:Grizzly Bears,Giant Mantis
|
||||
manapool:{3}{G}{G}
|
||||
[PLAYER2]
|
||||
life:20
|
||||
[DO]
|
||||
Accelerated Mutation
|
||||
Grizzly Bears
|
||||
Grizzly Bears
|
||||
next
|
||||
#blockers
|
||||
next
|
||||
#combatdamage 2
|
||||
next
|
||||
#endofcombat 2
|
||||
[ASSERT]
|
||||
COMBATEND
|
||||
[PLAYER1]
|
||||
inplay:Grizzly Bears,Giant Mantis
|
||||
graveyard:Accelerated Mutation
|
||||
manapool:{0}
|
||||
[PLAYER2]
|
||||
life:14
|
||||
[END]
|
||||
23
projects/mtg/bin/Res/test/ancient_ooze.txt
Normal file
23
projects/mtg/bin/Res/test/ancient_ooze.txt
Normal file
@@ -0,0 +1,23 @@
|
||||
#Testing Ancient Ooze. It should be 10/10
|
||||
#because of 2 Giant Mantis and 1 Grizzly Bears on your battlefield.
|
||||
[INIT]
|
||||
COMBATATTACKERS
|
||||
[PLAYER1]
|
||||
inplay:Grizzly Bears,Giant Mantis,Giant Mantis,Ancient Ooze
|
||||
[PLAYER2]
|
||||
life:20
|
||||
[DO]
|
||||
Ancient Ooze
|
||||
next
|
||||
#blockers
|
||||
next
|
||||
#combatdamage 2
|
||||
next
|
||||
#endofcombat 2
|
||||
[ASSERT]
|
||||
COMBATEND
|
||||
[PLAYER1]
|
||||
inplay:Grizzly Bears,Giant Mantis,Giant Mantis,Ancient Ooze
|
||||
[PLAYER2]
|
||||
life:10
|
||||
[END]
|
||||
24
projects/mtg/bin/Res/test/animal_boneyard.txt
Normal file
24
projects/mtg/bin/Res/test/animal_boneyard.txt
Normal file
@@ -0,0 +1,24 @@
|
||||
#Testing Animal Boneyard
|
||||
#Enchanted land has "{T}, Sacrifice a creature: You gain life equal to that creature's toughness."
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
inplay:Giant Mantis,Gaea's Anthem,Forest
|
||||
hand:Animal Boneyard
|
||||
manapool:{2}{W}
|
||||
life:20
|
||||
[PLAYER2]
|
||||
[DO]
|
||||
Animal Boneyard
|
||||
Forest
|
||||
Forest
|
||||
choice 1
|
||||
Giant Mantis
|
||||
[ASSERT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
inplay:Animal Boneyard,Gaea's Anthem,Forest
|
||||
graveyard:Giant Mantis
|
||||
manapool:{0}
|
||||
life:25
|
||||
[END]
|
||||
22
projects/mtg/bin/Res/test/avatar_of_woe1.txt
Normal file
22
projects/mtg/bin/Res/test/avatar_of_woe1.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
#Testing Avatar of Woe.
|
||||
#Avatar of Woe' rules text:"If there are ten or more creature cards total in all graveyards, Avatar of Woe costs {6} less to cast."
|
||||
#Test1:Casting Avatar of Woe with a total of 10 creatures in all graveyards.
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
hand:Avatar of Woe
|
||||
graveyard:Grizzly Bears,Llanowar Elves,Suntail Hawk,Lord of Atlantis,Wild Mongrel
|
||||
manapool:{B}{B}
|
||||
[PLAYER2]
|
||||
graveyard:Raging GOblin,Spark Elemental,Ball Lightning,Mogg Fanatic,Hill Giant
|
||||
[DO]
|
||||
Avatar of Woe
|
||||
[ASSERT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
inplay:Avatar of Woe
|
||||
graveyard:Grizzly Bears,Llanowar Elves,Suntail Hawk,Lord of Atlantis,Wild Mongrel
|
||||
manapool:{0}
|
||||
[PLAYER2]
|
||||
graveyard:Raging GOblin,Spark Elemental,Ball Lightning,Mogg Fanatic,Hill Giant
|
||||
[END]
|
||||
22
projects/mtg/bin/Res/test/avatar_of_woe2.txt
Normal file
22
projects/mtg/bin/Res/test/avatar_of_woe2.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
#Testing Avatar of Woe.
|
||||
#Avatar of Woe' rules text:"If there are ten or more creature cards total in all graveyards, Avatar of Woe costs {6} less to cast."
|
||||
#Test2:Trying to cast Avatar of Woe for {B}{B} with a total of 9 creatures in all graveyards.
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
hand:Avatar of Woe
|
||||
graveyard:Grizzly Bears,Llanowar Elves,Suntail Hawk,Lord of Atlantis,Wild Mongrel
|
||||
manapool:{B}{B}
|
||||
[PLAYER2]
|
||||
graveyard:Spark Elemental,Ball Lightning,Mogg Fanatic,Hill Giant
|
||||
[DO]
|
||||
Avatar of Woe
|
||||
[ASSERT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
hand:Avatar of Woe
|
||||
graveyard:Grizzly Bears,Llanowar Elves,Suntail Hawk,Lord of Atlantis,Wild Mongrel
|
||||
manapool:{B}{B}
|
||||
[PLAYER2]
|
||||
graveyard:Spark Elemental,Ball Lightning,Mogg Fanatic,Hill Giant
|
||||
[END]
|
||||
38
projects/mtg/bin/Res/test/berserk1.txt
Normal file
38
projects/mtg/bin/Res/test/berserk1.txt
Normal file
@@ -0,0 +1,38 @@
|
||||
#Testing Berserk. Target is a Grizzly Bears.
|
||||
#TEST 1:
|
||||
#Grizzly Bears attacks. Opponent should get 10 damage.
|
||||
#Grizzly Bears should die at end of turn.
|
||||
[INIT]
|
||||
COMBATATTACKERS
|
||||
[PLAYER1]
|
||||
hand:Berserk,Giant Growth
|
||||
inplay:Grizzly Bears
|
||||
manapool:{G}{G}
|
||||
[PLAYER2]
|
||||
life:20
|
||||
[DO]
|
||||
Giant Growth
|
||||
Grizzly Bears
|
||||
Berserk
|
||||
Grizzly Bears
|
||||
Grizzly Bears
|
||||
next
|
||||
#blockers
|
||||
next
|
||||
#combatdamage 2
|
||||
next
|
||||
#endofcombat 2
|
||||
next
|
||||
#secondmain
|
||||
next
|
||||
#endofturn
|
||||
next
|
||||
#cleanup
|
||||
[ASSERT]
|
||||
CLEANUP
|
||||
[PLAYER1]
|
||||
graveyard:Giant Growth,Berserk,Grizzly Bears
|
||||
manapool:{0}
|
||||
[PLAYER2]
|
||||
life:10
|
||||
[END]
|
||||
28
projects/mtg/bin/Res/test/berserk2.txt
Normal file
28
projects/mtg/bin/Res/test/berserk2.txt
Normal file
@@ -0,0 +1,28 @@
|
||||
#Testing Berserk. Target is a Grizzly Bears.
|
||||
#TEST 2:
|
||||
#Grizzly Bears DOES NOT ATTACK.
|
||||
#Grizzly Bears should NOT die at the end of turn.
|
||||
[INIT]
|
||||
COMBATATTACKERS
|
||||
[PLAYER1]
|
||||
hand:Berserk,Giant Growth
|
||||
inplay:Grizzly Bears
|
||||
manapool:{G}{G}
|
||||
[PLAYER2]
|
||||
[DO]
|
||||
Giant Growth
|
||||
Grizzly Bears
|
||||
Berserk
|
||||
Grizzly Bears
|
||||
next
|
||||
next
|
||||
next
|
||||
next
|
||||
[ASSERT]
|
||||
CLEANUP
|
||||
[PLAYER1]
|
||||
inplay:Grizzly Bears
|
||||
graveyard:Giant Growth,Berserk
|
||||
manapool:{0}
|
||||
[PLAYER2]
|
||||
[END]
|
||||
41
projects/mtg/bin/Res/test/bringer_of_the_red_dawn.txt
Normal file
41
projects/mtg/bin/Res/test/bringer_of_the_red_dawn.txt
Normal file
@@ -0,0 +1,41 @@
|
||||
#Testing Bringer of the Red Dawn. Target is a Grizzly Bears.
|
||||
#Bringer's rules text:
|
||||
#"At the beginning of your upkeep, you may untap target creature and gain control of it until end of turn. That creature gains haste until end of turn."
|
||||
[INIT]
|
||||
UNTAP
|
||||
[PLAYER1]
|
||||
hand:Dispatch
|
||||
inplay:Bringer of the Red Dawn
|
||||
manapool:{W}
|
||||
[PLAYER2]
|
||||
inplay:Grizzly Bears
|
||||
life:20
|
||||
[DO]
|
||||
Dispatch
|
||||
Grizzly Bears
|
||||
#Grizzly Bear is tapped now.
|
||||
next
|
||||
#Upkeep
|
||||
Bringer of the Red Dawn
|
||||
choice 0
|
||||
Grizzly Bears
|
||||
next
|
||||
#Draw
|
||||
next
|
||||
#Firstmain
|
||||
next
|
||||
#Beginofcombat
|
||||
next
|
||||
#Combatattackers
|
||||
Grizzly Bears
|
||||
eot
|
||||
[ASSERT]
|
||||
UNTAP
|
||||
[PLAYER1]
|
||||
inplay:Bringer of the Red Dawn
|
||||
graveyard:Dispatch
|
||||
manapool:{0}
|
||||
[PLAYER2]
|
||||
inplay:Grizzly Bears
|
||||
life:18
|
||||
[END]
|
||||
35
projects/mtg/bin/Res/test/dawn_of_the_dead.txt
Normal file
35
projects/mtg/bin/Res/test/dawn_of_the_dead.txt
Normal file
@@ -0,0 +1,35 @@
|
||||
#Testing Dawn of the Dead. Target is a Grizzly Bears.
|
||||
#Dawn's rules text:
|
||||
#"At the beginning of your upkeep, you lose 1 life. -- At the beginning of your upkeep, you may return target creature card from your graveyard to the battlefield. That creature gains haste until end of turn. Exile it at the beginning of the next end step."
|
||||
[INIT]
|
||||
UNTAP
|
||||
[PLAYER1]
|
||||
inplay:Dawn of the Dead
|
||||
graveyard:Grizzly Bears
|
||||
life:20
|
||||
[PLAYER2]
|
||||
life:20
|
||||
[DO]
|
||||
next
|
||||
Dawn of the Dead
|
||||
choice 0
|
||||
Grizzly Bears
|
||||
next
|
||||
#Draw
|
||||
next
|
||||
#Firstmain
|
||||
next
|
||||
#Beginofcombat
|
||||
next
|
||||
#Combatattackers
|
||||
Grizzly Bears
|
||||
eot
|
||||
[ASSERT]
|
||||
UNTAP
|
||||
[PLAYER1]
|
||||
inplay:Dawn of the Dead
|
||||
exile:Grizzly Bears
|
||||
life:19
|
||||
[PLAYER2]
|
||||
life:18
|
||||
[END]
|
||||
25
projects/mtg/bin/Res/test/deadshot.txt
Normal file
25
projects/mtg/bin/Res/test/deadshot.txt
Normal file
@@ -0,0 +1,25 @@
|
||||
#Testing Deadshot. First target is Grizzly Bears. Second target is a Hill Giant.
|
||||
#Deadshot's rules text: "Tap target creature. It deals damage equal to its power to another target creature."
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
hand:Deadshot
|
||||
inplay:Gaea's Anthem,Grizzly Bears
|
||||
manapool:{3}{R}
|
||||
[PLAYER2]
|
||||
inplay:Hill Giant
|
||||
[DO]
|
||||
Deadshot
|
||||
Grizzly Bears
|
||||
Grizzly Bears
|
||||
choice 0
|
||||
Hill Giant
|
||||
[ASSERT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
inplay:Gaea's Anthem,Grizzly Bears
|
||||
graveyard:Deadshot
|
||||
manapool:{0}
|
||||
[PLAYER2]
|
||||
graveyard:Hill Giant
|
||||
[END]
|
||||
20
projects/mtg/bin/Res/test/endrek_sahr.txt
Normal file
20
projects/mtg/bin/Res/test/endrek_sahr.txt
Normal file
@@ -0,0 +1,20 @@
|
||||
#Testing Endrek Sahr.
|
||||
#Endrek Sahr's rules text:"Whenever you cast a creature spell, put X 1/1 black Thrull creature tokens onto the battlefield, where X is that spell's converted mana cost. -- When you control seven or more Thrulls, sacrifice Endrek Sahr, Master Breeder."
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
hand:Enormous Baloth
|
||||
inplay:113527
|
||||
manapool:{6}{G}
|
||||
[PLAYER2]
|
||||
[DO]
|
||||
Enormous Baloth
|
||||
next
|
||||
[ASSERT]
|
||||
COMBATBEGINS
|
||||
[PLAYER1]
|
||||
inplay:Enormous Baloth,*,*,*,*,*,*,*
|
||||
graveyard:113527
|
||||
manapool:{0}
|
||||
[PLAYER2]
|
||||
[END]
|
||||
21
projects/mtg/bin/Res/test/haunting_echoes.txt
Normal file
21
projects/mtg/bin/Res/test/haunting_echoes.txt
Normal file
@@ -0,0 +1,21 @@
|
||||
#Testing Haunting Echoes.
|
||||
#Haunting Echoes' rules text: "Exile all cards from target player's graveyard other than basic land cards. For each card exiled this way, search that player's library for all cards with the same name as that card and exile them. Then that player shuffles his or her library."
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
hand:Haunting Echoes
|
||||
manapool:{3}{B}{B}
|
||||
[PLAYER2]
|
||||
graveyard:White Knight,Glorious Anthem
|
||||
library:White Knight,Glorious Anthem,Grizzly Bears
|
||||
[DO]
|
||||
Haunting Echoes
|
||||
[ASSERT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
graveyard:Haunting Echoes
|
||||
manapool:{0}
|
||||
[PLAYER2]
|
||||
library:Grizzly Bears
|
||||
exile:White Knight,Glorious Anthem,White Knight,Glorious Anthem
|
||||
[END]
|
||||
22
projects/mtg/bin/Res/test/high_tide.txt
Normal file
22
projects/mtg/bin/Res/test/high_tide.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
#Testing High Tide.
|
||||
#High Tide's rules text: "Until end of turn, whenever a player taps an Island for mana, that player adds {U} to his or her mana pool (in addition to the mana the land produces)."
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
hand:High Tide
|
||||
inplay:Island,Tundra
|
||||
manapool:{U}
|
||||
[PLAYER2]
|
||||
[DO]
|
||||
High Tide
|
||||
Island
|
||||
Tundra
|
||||
choice 0
|
||||
[ASSERT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
graveyard:High Tide
|
||||
inplay:Island,Tundra
|
||||
manapool:{U}{U}{U}{W}
|
||||
[PLAYER2]
|
||||
[END]
|
||||
32
projects/mtg/bin/Res/test/hunting_grounds.txt
Normal file
32
projects/mtg/bin/Res/test/hunting_grounds.txt
Normal file
@@ -0,0 +1,32 @@
|
||||
#Testing Hunting Grounds.
|
||||
#Hunting Grounds' rules text:"Threshold - As long as seven or more cards are in your graveyard, Hunting Grounds has "Whenever an opponent casts a spell, you may put a creature card from your hand onto the battlefield."
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
hand:Enormous Baloth
|
||||
inplay:Hunting Grounds
|
||||
graveyard:Grizzly Bears,Tundra,Giant Growth,Rancor,Taiga,Plateau,Llanowar Elves
|
||||
[PLAYER2]
|
||||
hand:Mox Pearl
|
||||
[DO]
|
||||
eot
|
||||
#Player 2's turn
|
||||
#untap
|
||||
next
|
||||
#upkeep
|
||||
next
|
||||
#draw
|
||||
next
|
||||
#firstmain
|
||||
Mox Pearl
|
||||
Hunting Grounds
|
||||
choice 0
|
||||
Enormous Baloth
|
||||
[ASSERT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
inplay:Hunting Grounds,Enormous Baloth
|
||||
graveyard:Grizzly Bears,Tundra,Giant Growth,Rancor,Taiga,Plateau,Llanowar Elves
|
||||
[PLAYER2]
|
||||
inplay:Mox Pearl
|
||||
[END]
|
||||
20
projects/mtg/bin/Res/test/impending_disaster.txt
Normal file
20
projects/mtg/bin/Res/test/impending_disaster.txt
Normal file
@@ -0,0 +1,20 @@
|
||||
#Testing Impending Disaster
|
||||
#Impending Disaster's rules text:
|
||||
#"At the beginning of your upkeep, if there are seven or more lands on the battlefield, sacrifice Impending Disaster. If you do, destroy all lands."
|
||||
[INIT]
|
||||
UNTAP
|
||||
[PLAYER1]
|
||||
inplay:Impending Disaster,Plateau,Badlands,Volcanic Island
|
||||
[PLAYER2]
|
||||
inplay:Tundra,Taiga,Bayou,Tropical Island
|
||||
[DO]
|
||||
next
|
||||
next
|
||||
next
|
||||
[ASSERT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
graveyard:Impending Disaster,Plateau,Badlands,Volcanic Island
|
||||
[PLAYER2]
|
||||
graveyard:Tundra,Taiga,Bayou,Tropical Island
|
||||
[END]
|
||||
37
projects/mtg/bin/Res/test/miraculous_recovery.txt
Normal file
37
projects/mtg/bin/Res/test/miraculous_recovery.txt
Normal file
@@ -0,0 +1,37 @@
|
||||
#Testing Miraculous Recovery. Target is a Grizzly Bears.
|
||||
#Miraculous Recovery`s rules text:
|
||||
#"Return target creature card from your graveyard to the battlefield with a +1/+1 counter on it."
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
hand:Miraculous Recovery
|
||||
inplay:Fervor
|
||||
graveyard:Grizzly Bears
|
||||
manapool:{4}{W}
|
||||
[PLAYER2]
|
||||
life:20
|
||||
[DO]
|
||||
Miraculous Recovery
|
||||
Grizzly Bears
|
||||
next
|
||||
#combatbegins
|
||||
next
|
||||
#combatattackers
|
||||
Grizzly Bears
|
||||
next
|
||||
#combatblockers
|
||||
next
|
||||
#combatdamage 2
|
||||
next
|
||||
#endofcombat 2
|
||||
next
|
||||
#secondmain
|
||||
[ASSERT]
|
||||
SECONDMAIN
|
||||
[PLAYER1]
|
||||
graveyard:Miraculous Recovery
|
||||
inplay:Fervor,Grizzly Bears
|
||||
manapool:{0}
|
||||
[PLAYER2]
|
||||
life:17
|
||||
[END]
|
||||
31
projects/mtg/bin/Res/test/power_armor.txt
Normal file
31
projects/mtg/bin/Res/test/power_armor.txt
Normal file
@@ -0,0 +1,31 @@
|
||||
#Testing Power Armor. Target is a Grizzly Bears. it should get +4/+4.
|
||||
#Power Armor's rules text: "Domain - {3}, {T}: Target creature gets +1/+1 until end of turn for each basic land type among lands you control."
|
||||
[INIT]
|
||||
COMBATBEGINS
|
||||
[PLAYER1]
|
||||
inplay:Power Armor,Grizzly Bears,Tundra,Bayou,Swamp
|
||||
manapool:{3}
|
||||
[PLAYER2]
|
||||
life:20
|
||||
[DO]
|
||||
Power Armor
|
||||
Grizzly Bears
|
||||
next
|
||||
#combatattackers
|
||||
Grizzly Bears
|
||||
next
|
||||
#blockers
|
||||
next
|
||||
#combatdamage 2
|
||||
next
|
||||
#endofcombat 2
|
||||
next
|
||||
#secondmain
|
||||
[ASSERT]
|
||||
SECONDMAIN
|
||||
[PLAYER1]
|
||||
inplay:Power Armor,Grizzly Bears,Tundra,Bayou,Swamp
|
||||
manapool:{0}
|
||||
[PLAYER2]
|
||||
life:14
|
||||
[END]
|
||||
23
projects/mtg/bin/Res/test/quick_sliver_FORCEDALIVE.txt
Normal file
23
projects/mtg/bin/Res/test/quick_sliver_FORCEDALIVE.txt
Normal file
@@ -0,0 +1,23 @@
|
||||
#Testing Quick Sliver (keyword: FORCEDALIVE).
|
||||
#All slivers should have flash until Quick Sliver dies.
|
||||
[INIT]
|
||||
UNTAP
|
||||
[PLAYER1]
|
||||
hand:Muscle Sliver,Winged Sliver,Lightning Bolt
|
||||
inplay:Quick Sliver
|
||||
manapool:{2}{G}{U}{R}
|
||||
[PLAYER2]
|
||||
[DO]
|
||||
Winged Sliver
|
||||
Lightning Bolt
|
||||
Quick Sliver
|
||||
Muscle Sliver
|
||||
[ASSERT]
|
||||
UNTAP
|
||||
[PLAYER1]
|
||||
hand:Muscle Sliver
|
||||
inplay:Winged Sliver
|
||||
graveyard:Quick Sliver,Lightning Bolt
|
||||
manapool:{1}{G}
|
||||
[PLAYER2]
|
||||
[END]
|
||||
41
projects/mtg/bin/Res/test/rise_from_the_grave.txt
Normal file
41
projects/mtg/bin/Res/test/rise_from_the_grave.txt
Normal file
@@ -0,0 +1,41 @@
|
||||
#Testing Rise from the Grave. Target is an Elvish Berserker.
|
||||
#Rise from the Grave`s rules text:
|
||||
#"Put target creature card in a graveyard onto the battlefield under your control. That creature is a black Zombie in addition to its other colors and types."
|
||||
#The reanimated Elvish Berserker should get the following bonuses:
|
||||
#+1/+1 from Lord of the Undead because it has become a Zombie.
|
||||
#+1/+1 from Bad Moon because it has become black.
|
||||
#+1/+1 from Elvish Archdruid because it is still an elf.
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
hand:Rise from the Grave
|
||||
inplay:Fervor,Bad Moon,Elvish Archdruid,Lord of the Undead
|
||||
graveyard:Elvish Berserker
|
||||
manapool:{4}{B}
|
||||
[PLAYER2]
|
||||
life:20
|
||||
[DO]
|
||||
Rise from the Grave
|
||||
Elvish Berserker
|
||||
next
|
||||
#combatbegins
|
||||
next
|
||||
#combatattackers
|
||||
Elvish Berserker
|
||||
next
|
||||
#combatblockers
|
||||
next
|
||||
#combatdamage 2
|
||||
next
|
||||
#endofcombat 2
|
||||
next
|
||||
#secondmain
|
||||
[ASSERT]
|
||||
SECONDMAIN
|
||||
[PLAYER1]
|
||||
graveyard:Rise from the Grave
|
||||
inplay:Fervor,Bad Moon,Elvish Archdruid,Lord of the Undead,Elvish Berserker
|
||||
manapool:{0}
|
||||
[PLAYER2]
|
||||
life:16
|
||||
[END]
|
||||
31
projects/mtg/bin/Res/test/solfatara.txt
Normal file
31
projects/mtg/bin/Res/test/solfatara.txt
Normal file
@@ -0,0 +1,31 @@
|
||||
#Testing Solfatara.
|
||||
#Solfatara's rules text:"Target player can't play land cards this turn."
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
hand:Solfatara,Tundra,Volcanic Island
|
||||
manapool:{2}{R}
|
||||
[PLAYER2]
|
||||
[DO]
|
||||
Solfatara
|
||||
p1
|
||||
Tundra
|
||||
eot
|
||||
eot
|
||||
#untap
|
||||
next
|
||||
#upkeep
|
||||
next
|
||||
#draw
|
||||
next
|
||||
#firstmain
|
||||
Volcanic Island
|
||||
[ASSERT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
graveyard:Solfatara
|
||||
inplay:Volcanic Island
|
||||
hand:Tundra
|
||||
manapool:{0}
|
||||
[PLAYER2]
|
||||
[END]
|
||||
38
projects/mtg/bin/Res/test/spectral_shield_CANTBETARGETOF.txt
Normal file
38
projects/mtg/bin/Res/test/spectral_shield_CANTBETARGETOF.txt
Normal file
@@ -0,0 +1,38 @@
|
||||
#Testing Spectral Shield. Target is a Grizzly Bears.
|
||||
#Spectral Shield's rules text: "Enchanted creature gets +0/+2 and can't be the target of spells."
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
hand:Giant Growth,Spectral Shield
|
||||
inplay:Grizzly Bears,Seal of Strength
|
||||
manapool:{1}{W}{U}{G}
|
||||
[PLAYER2]
|
||||
life:20
|
||||
[DO]
|
||||
Spectral Shield
|
||||
Grizzly Bears
|
||||
next
|
||||
#combatbegins
|
||||
Giant Growth
|
||||
Grizzly Bears
|
||||
Seal of Strength
|
||||
Grizzly Bears
|
||||
next
|
||||
#combatattackers
|
||||
Grizzly Bears
|
||||
next
|
||||
#combatblockers
|
||||
next
|
||||
#combatdamage
|
||||
next
|
||||
#combatends
|
||||
[ASSERT]
|
||||
COMBATENDS
|
||||
[PLAYER1]
|
||||
hand:Giant Growth
|
||||
inplay:Grizzly Bears,Spectral Shield
|
||||
graveyard:Seal of Strength
|
||||
manapool:{0}
|
||||
[PLAYER2]
|
||||
life:15
|
||||
[END]
|
||||
@@ -0,0 +1,24 @@
|
||||
#Testing The Tabernacle at Pendrell Vale.
|
||||
#Bringer's rules text:
|
||||
#"All creatures have "At the beginning of your upkeep, sacrifice this creature unless you pay {1}."
|
||||
[INIT]
|
||||
UNTAP
|
||||
[PLAYER1]
|
||||
inplay:The Tabernacle at Pendrell Vale,Grizzly Bears,Enormous Baloth,Bog Imp,Sol Ring
|
||||
[PLAYER2]
|
||||
[DO]
|
||||
next
|
||||
#Upkeep
|
||||
Sol Ring
|
||||
Grizzly Bears
|
||||
Bog Imp
|
||||
next
|
||||
#Draw
|
||||
[ASSERT]
|
||||
DRAW
|
||||
[PLAYER1]
|
||||
inplay:The Tabernacle at Pendrell Vale,Grizzly Bears,Bog Imp,Sol Ring
|
||||
graveyard:Enormous Baloth
|
||||
manapool:{0}
|
||||
[PLAYER2]
|
||||
[END]
|
||||
23
projects/mtg/bin/Res/test/toymaker.txt
Normal file
23
projects/mtg/bin/Res/test/toymaker.txt
Normal file
@@ -0,0 +1,23 @@
|
||||
#Testing Karn, Silver Golem. Target is a Tower of Champions.
|
||||
#Karn, Silver Golem's ability:"{1}: Target noncreature artifact becomes an artifact creature with power and toughness each equal to its converted mana cost until end of turn. (That artifact retains its abilities.)"
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
hand:Reprisal,Tundra
|
||||
inplay:Toymaker,Hedron Matrix
|
||||
manapool:{W}{W}{W}
|
||||
[PLAYER2]
|
||||
[DO]
|
||||
Toymaker
|
||||
Tundra
|
||||
Hedron Matrix
|
||||
Reprisal
|
||||
Hedron Matrix
|
||||
[ASSERT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
inplay:Toymaker
|
||||
graveyard:Hedron Matrix,Reprisal,Tundra
|
||||
manapool:{0}
|
||||
[PLAYER2]
|
||||
[END]
|
||||
Reference in New Issue
Block a user