Redesigned handling of attack allowed check related to the complete attack.

This commit is contained in:
LevelX2 2015-12-08 12:20:37 +01:00
parent 359dc3f537
commit 4d01eb143a
15 changed files with 267 additions and 176 deletions

View file

@ -48,6 +48,23 @@ public class CantAttackOrBlockAloneTest extends CardTestPlayerBase {
assertLife(playerA, 15);
}
/**
* Try to attack with two Flunkies
*/
@Test
public void testCanAttackWithTwo() {
addCard(Zone.BATTLEFIELD, playerB, "Mogg Flunkies", 2); // 3/3
attack(2, playerB, "Mogg Flunkies");
attack(2, playerB, "Mogg Flunkies");
setStopAt(2, PhaseStep.END_TURN);
execute();
assertLife(playerA, 14);
}
/**
* Try to block alone
*/