[SOI] Added 8 red cards.

This commit is contained in:
LevelX2 2016-03-26 19:46:59 +01:00
parent 18c48d6b4e
commit ffb8656aea
11 changed files with 903 additions and 0 deletions

View file

@ -129,4 +129,32 @@ public class MadnessTest extends CardTestPlayerBase {
}
@Test
public void testAvacynsJudgment() {
addCard(Zone.BATTLEFIELD, playerA, "Mountain", 5);
// Madness {X}{R}
// Avacyn's Judgment deals 2 damage divided as you choose among any number of target creatures and/or players. If Avacyn's Judgment's madness cost was paid, it deals X damage divided as you choose among those creatures and/or players instead.
addCard(Zone.HAND, playerA, "Avacyn's Judgment", 1);
addCard(Zone.BATTLEFIELD, playerB, "Pillarfield Ox", 1);
addCard(Zone.BATTLEFIELD, playerB, "Swamp", 6);
// Target player discards two cards. If you cast this spell during your main phase, that player discards four cards instead.
addCard(Zone.HAND, playerB, "Haunting Hymn");
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerB, "Haunting Hymn", playerA);
setChoice(playerA, "Yes");
setChoice(playerA, "X=4");
addTarget(playerA, "Pillarfield Ox");
setStopAt(1, PhaseStep.BEGIN_COMBAT);
execute();
assertGraveyardCount(playerB, "Haunting Hymn", 1);
assertGraveyardCount(playerA, "Avacyn's Judgment", 1);
assertGraveyardCount(playerB, "Pillarfield Ox", 1);
}
}