mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
Fix March of the Machines
Add a DependencyType for ArtifactAddingRemoving and use it to make March of the Machines come after artifact type adding effects.
This commit is contained in:
parent
9ff3e2c670
commit
3198558dd6
4 changed files with 22 additions and 1 deletions
|
|
@ -127,5 +127,22 @@ public class MarchOfTheMachinesTest extends CardTestPlayerBase {
|
|||
assertPermanentCount(playerA, "Accorder's Shield", 0);
|
||||
assertGraveyardCount(playerA, "Accorder's Shield", 1);
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
public void testLiquimetalCoatingLandIsDestroyed() {
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Island", 4);
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Forest");
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Liquimetal Coating");
|
||||
addCard(Zone.HAND, playerA, "March of the Machines");
|
||||
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "March of the Machines");
|
||||
activateAbility(2, PhaseStep.PRECOMBAT_MAIN, playerA, "{T}: Target permanent", "Forest");
|
||||
|
||||
setStopAt(2, PhaseStep.BEGIN_COMBAT);
|
||||
execute();
|
||||
|
||||
assertPermanentCount(playerA, "Forest", 0);
|
||||
assertGraveyardCount(playerA, "Forest", 1);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue