mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 11:02:00 -08:00
rework Homicidal Brute to common classes
This commit is contained in:
parent
8a805c62b3
commit
a8f0a545b9
2 changed files with 45 additions and 64 deletions
|
|
@ -84,4 +84,34 @@ public class HomicidalBruteTest extends CardTestPlayerBase {
|
|||
assertTapped("Homicidal Brute", true);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testCardBlinkNotTransform() {
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Civilized Scholar");
|
||||
addCard(Zone.HAND, playerA, "Sejiri Merfolk");
|
||||
addCard(Zone.HAND, playerA, "Moonmist"); // transform all
|
||||
addCard(Zone.HAND, playerA, "Cloudshift"); // blink
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Savannah", 3);
|
||||
|
||||
activateAbility(3, PhaseStep.PRECOMBAT_MAIN, playerA, "{T}: Draw a card, then discard a card.");
|
||||
setChoice(playerA, "Sejiri Merfolk"); // discard creature
|
||||
|
||||
attack(3, playerA, "Homicidal Brute", playerB);
|
||||
castSpell(3, PhaseStep.COMBAT_DAMAGE, playerA, "Cloudshift", "Homicidal Brute");
|
||||
castSpell(3, PhaseStep.END_COMBAT, playerA, "Moonmist");
|
||||
|
||||
checkPermanentTapped("after transform", 3, PhaseStep.POSTCOMBAT_MAIN, playerA, "Homicidal Brute", false, 1);
|
||||
|
||||
setStrictChooseMode(true);
|
||||
setStopAt(4, PhaseStep.UPKEEP);
|
||||
execute();
|
||||
|
||||
assertGraveyardCount(playerA, "Cloudshift", 1);
|
||||
assertGraveyardCount(playerA, "Moonmist", 1);
|
||||
assertLife(playerA, 20);
|
||||
assertLife(playerB, 15);
|
||||
assertPermanentCount(playerA, "Civilized Scholar", 1);
|
||||
assertPermanentCount(playerA, "Homicidal Brute", 0);
|
||||
assertTapped("Civilized Scholar", true);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue