mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
fixed bug in test that skipped manual targetting
addtarget was being ignored and AI was being used to determine a target. the spell has a target so I think this is not a bug with add target but rather the test itself
This commit is contained in:
parent
04457558b3
commit
1f31323f47
1 changed files with 3 additions and 6 deletions
|
@ -26,8 +26,7 @@ public class PrizedAmalgamTest extends CardTestPlayerBase {
|
||||||
addCard(Zone.GRAVEYARD, playerA, "Prized Amalgam", 1);
|
addCard(Zone.GRAVEYARD, playerA, "Prized Amalgam", 1);
|
||||||
addCard(Zone.BATTLEFIELD, playerA, "Swamp", 1);
|
addCard(Zone.BATTLEFIELD, playerA, "Swamp", 1);
|
||||||
|
|
||||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Reanimate");
|
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Reanimate", "Bronze Sable");
|
||||||
addTarget(playerA, "Bronze Sable");
|
|
||||||
setStopAt(1, PhaseStep.END_TURN);
|
setStopAt(1, PhaseStep.END_TURN);
|
||||||
execute();
|
execute();
|
||||||
|
|
||||||
|
@ -72,8 +71,7 @@ public class PrizedAmalgamTest extends CardTestPlayerBase {
|
||||||
addCard(Zone.BATTLEFIELD, playerA, "Mountain", 3);
|
addCard(Zone.BATTLEFIELD, playerA, "Mountain", 3);
|
||||||
addCard(Zone.GRAVEYARD, playerB, "Prized Amalgam", 1);
|
addCard(Zone.GRAVEYARD, playerB, "Prized Amalgam", 1);
|
||||||
|
|
||||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Reanimate");
|
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Reanimate", "Hill Giant");
|
||||||
addTarget(playerA, "Hill Giant");
|
|
||||||
setStopAt(1, PhaseStep.END_TURN);
|
setStopAt(1, PhaseStep.END_TURN);
|
||||||
execute();
|
execute();
|
||||||
|
|
||||||
|
@ -95,8 +93,7 @@ public class PrizedAmalgamTest extends CardTestPlayerBase {
|
||||||
// Whenever a creature enters the battlefield, if it entered from your graveyard or you cast it from your graveyard, return Prized Amalgam from your graveyard to the battlefield tapped at the beginning of the next end step.
|
// Whenever a creature enters the battlefield, if it entered from your graveyard or you cast it from your graveyard, return Prized Amalgam from your graveyard to the battlefield tapped at the beginning of the next end step.
|
||||||
addCard(Zone.GRAVEYARD, playerB, "Prized Amalgam", 1);
|
addCard(Zone.GRAVEYARD, playerB, "Prized Amalgam", 1);
|
||||||
|
|
||||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Necromantic Summons");
|
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Necromantic Summons", "Merfolk Looter");
|
||||||
addTarget(playerA, "Merfolk Looter");
|
|
||||||
setStopAt(1, PhaseStep.END_TURN);
|
setStopAt(1, PhaseStep.END_TURN);
|
||||||
execute();
|
execute();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue