diff --git a/projects/mtg/bin/Res/sets/primitives/mtg.txt b/projects/mtg/bin/Res/sets/primitives/mtg.txt index e61128d1d..ecee47534 100644 --- a/projects/mtg/bin/Res/sets/primitives/mtg.txt +++ b/projects/mtg/bin/Res/sets/primitives/mtg.txt @@ -25967,8 +25967,7 @@ toughness=2 [/card] [card] name=Lightmine Field -auto=@each my blockers:foreach(creature[attacking]|opponentBattlefield) damage:1 all(creature[attacking]|opponentBattlefield) -auto=@each opponent blockers:foreach(creature[attacking]|myBattlefield) damage:1 all(creature[attacking]|myBattlefield) +auto=@each blockers:foreach(creature[attacking]|Battlefield) damage:1 all(creature[attacking]|Battlefield) text=Whenever one ore more creatures attack, Lightmine Field deals damage to each of those creatures equal to the number of attacking creatures. mana={2}{W}{W} type=Enchantment diff --git a/projects/mtg/bin/Res/test/_tests.txt b/projects/mtg/bin/Res/test/_tests.txt index e70fbc47b..7c0583fac 100644 --- a/projects/mtg/bin/Res/test/_tests.txt +++ b/projects/mtg/bin/Res/test/_tests.txt @@ -311,6 +311,8 @@ lhurgoyf.txt liability.txt lifeforce.txt lifetap.txt +lightmine_field1.txt +lightmine_field2.txt living_artifact_i169.txt living_lands.txt lord_of_the_pit.txt diff --git a/projects/mtg/bin/Res/test/lightmine_field.txt b/projects/mtg/bin/Res/test/lightmine_field.txt new file mode 100644 index 000000000..804175cb1 --- /dev/null +++ b/projects/mtg/bin/Res/test/lightmine_field.txt @@ -0,0 +1,23 @@ +#Testing Lightmine Field +[INIT] +FIRSTMAIN +[PLAYER1] +inplay:Runeclaw Bear,Grizzly Bears +[PLAYER2] +inplay:Lightmine Field +[DO] +next +next +Grizzly Bears +Runeclaw Bear +next +next +next +[ASSERT] +SECONDMAIN +[PLAYER1] +graveyard:Runeclaw Bear,Grizzly Bears +[PLAYER2] +inplay:Lightmine Field +life:20 +[END] \ No newline at end of file diff --git a/projects/mtg/bin/Res/test/lightmine_field2.txt b/projects/mtg/bin/Res/test/lightmine_field2.txt new file mode 100644 index 000000000..81da208d7 --- /dev/null +++ b/projects/mtg/bin/Res/test/lightmine_field2.txt @@ -0,0 +1,25 @@ +#Testing Lightmine Field +[INIT] +FIRSTMAIN +[PLAYER1] +inplay:Living Airship,Loam Lion +[PLAYER2] +inplay:Lightmine Field +[DO] +next +next +Loam Lion +Living Airship +next +next +next +next +[ASSERT] +SECONDMAIN +[PLAYER1] +inplay:Living Airship +graveyard:Loam Lion +[PLAYER2] +inplay:Lightmine Field +life:18 +[END] \ No newline at end of file